diff options
Diffstat (limited to 'web/template/header.php')
-rw-r--r-- | web/template/header.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/web/template/header.php b/web/template/header.php index 874109a..2ab1d6b 100644 --- a/web/template/header.php +++ b/web/template/header.php @@ -4,7 +4,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?= htmlspecialchars($LANG, ENT_QUOTES) ?>" lang="<?= htmlspecialchars($LANG, ENT_QUOTES) ?>"> <head> - <title>AUR (<?= htmlspecialchars($LANG); ?>)<?php if ($title != "") { print " - " . htmlspecialchars($title); } ?></title> + <title><?= config_get('options', 'branding_shortname'); ?> (<?= htmlspecialchars($LANG); ?>)<?php if ($title != "") { print " - " . htmlspecialchars($title); } ?></title> <link rel='stylesheet' type='text/css' href='/css/archweb.css' /> <link rel='stylesheet' type='text/css' href='/css/aurweb.css' /> <link rel='shortcut icon' href='/images/favicon.ico' /> @@ -16,7 +16,7 @@ </head> <body> <div id="archnavbar" class="anb-aur"> - <div id="archnavbarlogo"><h1><a href="/" title="Return to the main page">Arch Linux User Repository</a></h1></div> + <div id="archnavbarlogo"><h1><a href="/" title="Return to the main page"><?= config_get('options', 'branding_longname'); ?></a></h1></div> <div id="archnavbarmenu"> <ul id="archnavbarlist"> <li id="anb-home"><a href="https://www.archlinux.org/" title="Arch news, packages, projects and more">Home</a></li> @@ -24,7 +24,7 @@ <li id="anb-forums"><a href="https://bbs.archlinux.org/" title="Community forums">Forums</a></li> <li id="anb-wiki"><a href="https://wiki.archlinux.org/" title="Community documentation">Wiki</a></li> <li id="anb-bugs"><a href="https://bugs.archlinux.org/" title="Report and track bugs">Bugs</a></li> - <li id="anb-aur"><a href="/" title="Arch Linux User Repository">AUR</a></li> + <li id="anb-aur"><a href="/" title="<?= config_get('options', 'branding_longname'); ?>"><?= config_get('options', 'branding_shortname'); ?></a></li> <li id="anb-download"><a href="https://www.archlinux.org/download/" title="Get Arch Linux">Download</a></li> </ul> </div> @@ -53,7 +53,7 @@ </div> <div id="archdev-navbar"> <ul> - <li><a href="<?= get_uri('/'); ?>">AUR <?= __("Home"); ?></a></li> + <li><a href="<?= get_uri('/'); ?>"><?= config_get('options', 'branding_shortname'); ?> <?= __("Home"); ?></a></li> <li><a href="<?= get_uri('/packages/'); ?>"><?= __("Packages"); ?></a></li> <?php if (isset($_COOKIE['AURSID'])): ?> <li><a href="<?= get_uri('/packages/'); ?>?SeB=m&K=<?= username_from_sid($_COOKIE["AURSID"]); ?>"><?= __("My Packages"); ?></a></li> |