diff --git a/html/inc/util.inc b/html/inc/util.inc index b503bab19c..3f815dc4ef 100644 --- a/html/inc/util.inc +++ b/html/inc/util.inc @@ -125,9 +125,13 @@ function write_fd($fd, $str) { function page_head($title, $user=null, $fd=null) { $styleSheet = URL_BASE . STYLESHEET; - write_fd($fd, "$title\n"); - write_fd($fd, ""); - write_fd($fd, "\n\n"); + write_fd($fd, + "$title + + + + " + ); project_banner($user, $fd); } @@ -447,4 +451,12 @@ function host_link($hostid) { } } +function news_item($date, $text) { + echo "$date +
+ $text +

+ "; +} + ?>