diff options
author | Erich Eckner <git@eckner.net> | 2019-02-11 13:25:34 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-02-11 13:25:34 +0100 |
commit | 71b2b2e10fd73d70876824d15ce5792112be8fac (patch) | |
tree | 938910f63e9e8348f63fc5e493187afbf3434a35 /lib/style.php | |
parent | 01ea7d28a961261f21f1d089b16fc7baae046953 (diff) | |
download | archweb32-71b2b2e10fd73d70876824d15ce5792112be8fac.tar.xz |
lib/style.php: make highlight in navbar configurable
Diffstat (limited to 'lib/style.php')
-rw-r--r-- | lib/style.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/style.php b/lib/style.php index ea7d4b2..622e764 100644 --- a/lib/style.php +++ b/lib/style.php @@ -5,7 +5,7 @@ if (function_exists("print_header")) require_once BASE . "/lib/mysql.php"; -function print_header($title) { +function print_header($title, $subdir = "packages") { ?> <!DOCTYPE html> <html lang="en"> @@ -21,7 +21,7 @@ if (!empty($title)) <link rel="stylesheet" type="text/css" href="/static/flags/fam.47411010d402.css" media="screen, projection" /> </head> <body class=""> - <div id="archnavbar" class="anb-packages"> + <div id="archnavbar" class="anb-<?php print $subdir; ?>"> <div id="archnavbarlogo"> <h1><a href="/" title="Return to the main page">Arch Linux</a></h1> </div> |