diff options
Diffstat (limited to 'web/template')
-rw-r--r-- | web/template/account_delete.php | 3 | ||||
-rw-r--r-- | web/template/account_edit_form.php | 2 | ||||
-rw-r--r-- | web/template/header.php | 8 | ||||
-rw-r--r-- | web/template/stats/updates_table.php | 2 | ||||
-rw-r--r-- | web/template/template.phps | 2 |
5 files changed, 9 insertions, 8 deletions
diff --git a/web/template/account_delete.php b/web/template/account_delete.php index 74f386d..6a874f5 100644 --- a/web/template/account_delete.php +++ b/web/template/account_delete.php @@ -1,5 +1,6 @@ <p> - <?= __('You can use this form to permanently delete the AUR account %s.', '<strong>' . htmlspecialchars($username) . '</strong>') ?> + <?= __('You can use this form to permanently delete the %s account %s.', + config_get('options', 'branding_shortname'), '<strong>' . htmlspecialchars($username) . '</strong>') ?> </p> <p> <?= __('%sWARNING%s: This action cannot be undone.', '<strong>', '</strong>') ?> diff --git a/web/template/account_edit_form.php b/web/template/account_edit_form.php index 56bdd45..df1b355 100644 --- a/web/template/account_edit_form.php +++ b/web/template/account_edit_form.php @@ -117,7 +117,7 @@ </fieldset> <fieldset> - <legend><?= __("The following information is only required if you want to submit packages to the Arch User Repository.") ?></legend> + <legend><?= __("The following information is only required if you want to submit packages to the %s.", config_get('options', 'branding_longname')) ?></legend> <p> <label for="id_ssh"><?= __("SSH Public Key") ?>:</label> <textarea name="PK" id="id_ssh" rows="5" cols="30"><?= htmlspecialchars($PK) ?></textarea> 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> diff --git a/web/template/stats/updates_table.php b/web/template/stats/updates_table.php index a4b31c5..29ba869 100644 --- a/web/template/stats/updates_table.php +++ b/web/template/stats/updates_table.php @@ -1,6 +1,6 @@ <h3><?= __("Recent Updates") ?></h3> -<a href="<?= get_uri('/rss/') ?>" title="Arch Package Updates RSS Feed" class="rss-icon"><img src="/images/feed-icon-14x14.png" alt="RSS Feed" /></a> +<a href="<?= get_uri('/rss/') ?>" title="<?= config_get('options', 'branding_longname'); ?> Package Updates RSS Feed" class="rss-icon"><img src="/images/feed-icon-14x14.png" alt="RSS Feed" /></a> <table> <tbody> diff --git a/web/template/template.phps b/web/template/template.phps index 4f8117c..c395c2a 100644 --- a/web/template/template.phps +++ b/web/template/template.phps @@ -4,7 +4,7 @@ set_include_path(get_include_path() . PATH_SEPARATOR . '../lib'); -include("aur.inc.php"); # access AUR common functions +include("aur.inc.php"); # access aurweb common functions set_lang(); # this sets up the visitor's language check_sid(); # see if they're still logged in html_header(); # print out the HTML header |