summaryrefslogtreecommitdiffstats
path: root/web/lib/aur.inc
diff options
context:
space:
mode:
authorCallan Barrett <wizzomafizzo@gmail.com>2008-01-12 23:43:05 +0100
committerDan McGee <dan@archlinux.org>2008-01-20 07:21:20 +0100
commit379e16eebda1ba9bfc45de486e99e480843d086a (patch)
treed2cd1ea7bd79657b475422ce95aea6b81b8e6894 /web/lib/aur.inc
parentd4b07f2b334dada626e4743951cdd6adab87f62e (diff)
downloadaur-379e16eebda1ba9bfc45de486e99e480843d086a.tar.gz
aur-379e16eebda1ba9bfc45de486e99e480843d086a.tar.xz
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 <wizzomafizzo@gmail.com>
Diffstat (limited to 'web/lib/aur.inc')
-rw-r--r--web/lib/aur.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/web/lib/aur.inc b/web/lib/aur.inc
index c18365cc..a9095cd9 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;
}