Changeset 907:da55072f8b87 for inc/admin/lib.dc.page.php
- Timestamp:
- 10/25/12 14:55:54 (13 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/admin/lib.dc.page.php
r888 r907 254 254 "</div>\n". // End of #wrapper 255 255 '</body></html>'; 256 } 257 258 public static function message($msg,$timestamp=true,$div=false,$echo=true) 259 { 260 $res = ''; 261 if ($msg != '') { 262 $res = ($div ? '<div class="message">' : '').'<p'.($div ? '' : ' class="message"').'>'. 263 ($timestamp ? dt::str(__('%H:%M:%S:')).' ' : '').$msg. 264 '</p>'.($div ? '</div>' : ''); 265 if ($echo) { 266 echo $res; 267 } 268 } 269 return $res; 256 270 } 257 271
Note: See TracChangeset
for help on using the changeset viewer.