Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/style.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/style.php')
-rw-r--r--lib/style.php4
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>