From 379e16eebda1ba9bfc45de486e99e480843d086a Mon Sep 17 00:00:00 2001 From: Callan Barrett Date: Sun, 13 Jan 2008 07:43:05 +0900 Subject: Support for verbose page titles Verbose page titles again Adds support for more verbose page titles based on current page and action by user and removes sort by options from search form as they're obsolete by column links. Signed-off-by: Callan Barrett --- web/lib/aur.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'web/lib/aur.inc') diff --git a/web/lib/aur.inc b/web/lib/aur.inc index c18365c..a9095cd 100644 --- a/web/lib/aur.inc +++ b/web/lib/aur.inc @@ -334,7 +334,7 @@ function set_lang() { # common header # -function html_header() { +function html_header($title="") { global $_SERVER; global $_COOKIE; global $_POST; @@ -405,6 +405,8 @@ function html_header() { } } + $title = htmlspecialchars($title, ENT_QUOTES); + include('header.php'); return; } -- cgit v1.2.3-54-g00ecf