diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-11-23 00:12:05 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-11-23 00:12:05 -0500 |
commit | 1fc3ca62eeb334f55fc1ac6503df00f7e06edbb1 (patch) | |
tree | ca1853072a5c8cd87764f7796861c2c3c9821cdf /web/html/home.php | |
parent | 7e38e6d48957f60feaddda9a3eaf31d12b5b8548 (diff) |
Make the instance name and domain configurable.
Diffstat (limited to 'web/html/home.php')
-rw-r--r-- | web/html/home.php | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/web/html/home.php b/web/html/home.php index 3252876..6a2de59 100644 --- a/web/html/home.php +++ b/web/html/home.php @@ -15,14 +15,17 @@ html_header( __("Home") ); <div id="content-left-wrapper"> <div id="content-left"> <div id="intro" class="box"> - <h2>AUR <?= __("Home"); ?></h2> + <h2><?= config_get('options', 'branding_shortname'); ?> <?= __("Home"); ?></h2> <p> <?php echo __( - 'Welcome to the AUR! Please read the %sAUR User Guidelines%s and %sAUR TU Guidelines%s for more information.', + 'Welcome to the %s! Please read the %s%s User Guidelines%s and %s%s TU Guidelines%s for more information.', + config_get('options', 'branding_shortname'), '<a href="https://wiki.archlinux.org/index.php/AUR_User_Guidelines">', + config_get('options', 'branding_shortname'), '</a>', '<a href="https://wiki.archlinux.org/index.php/AUR_Trusted_User_Guidelines">', + config_get('options', 'branding_shortname'), '</a>' ); ?> @@ -58,7 +61,7 @@ html_header( __("Home") ); </p> <ul> <li><em><?= __('Orphan Request') ?></em>: <?= __('Request a package to be disowned, e.g. when the maintainer is inactive and the package has been flagged out-of-date for a long time.') ?></li> - <li><em><?= __('Deletion Request') ?></em>: <?= __('Request a package to be removed from the Arch User Repository. Please do not use this if a package is broken and can be fixed easily. Instead, contact the package maintainer and file orphan request if necessary.') ?></li> + <li><em><?= __('Deletion Request') ?></em>: <?= __('Request a package to be removed from the %s. Please do not use this if a package is broken and can be fixed easily. Instead, contact the package maintainer and file orphan request if necessary.', config_get('options', 'branding_longname')) ?></li> <li><em><?= __('Merge Request') ?></em>: <?= __('Request a package to be merged into another one. Can be used when a package needs to be renamed or replaced by a split package.') ?></li> </ul> <p> @@ -76,7 +79,8 @@ html_header( __("Home") ); <p> <?php echo __( - 'Git over SSH is now used to submit packages to the AUR. See the %sSubmitting packages%s section of the Arch User Repository ArchWiki page for more details.', + 'Git over SSH is now used to submit packages to the %s. See the %sSubmitting packages%s section of the Arch User Repository ArchWiki page for more details.', + config_get('options', 'branding_shortname'), '<a href="https://wiki.archlinux.org/index.php/Arch_User_Repository#AUR_4">', '</a>' ); @@ -84,7 +88,7 @@ html_header( __("Home") ); </p> <?php if (config_section_exists('fingerprints')): ?> <p> - <?= __('The following SSH fingerprints are used for the AUR:') ?> + <?= __('The following SSH fingerprints are used for the %s:', config_get('options', 'branding_shortname')) ?> </p> <ul> <?php foreach (config_items('fingerprints') as $type => $fingerprint): ?> @@ -98,11 +102,12 @@ html_header( __("Home") ); <p> <?php echo __( - 'General discussion regarding the Arch User Repository (AUR) and Trusted User structure takes place on %saur-general%s. For discussion relating to the development of the AUR web interface, use the %saur-dev%s mailing list.', - '<a href="https://mailman.archlinux.org/mailman/listinfo/aur-general">', - '</a>', - '<a href="https://mailman.archlinux.org/mailman/listinfo/aur-dev">', - '</a>' + 'General discussion regarding the %s (%s) and Trusted User structure takes place on %s. For discussion relating to the development of the %s web interface (aurweb), use the %s mailing list.', + config_get('options', 'branding_longname'), + config_get('options', 'branding_shortname'), + '<a href="https://mailman.archlinux.org/mailman/listinfo/aur-general">aur-general</a>', + config_get('options', 'branding_shortname'), + '<a href="https://mailman.archlinux.org/mailman/listinfo/aur-dev">aur-dev</a>' ); ?> </p> @@ -112,7 +117,8 @@ html_header( __("Home") ); <p> <?php echo __( - 'If you find a bug in the AUR web interface, please fill out a bug report on our %sbug tracker%s. Use the tracker to report bugs in the AUR %sonly%s. To report packaging bugs contact the package maintainer or leave a comment on the appropriate package page.', + 'If you find a bug in the %s web interface (aurweb), please fill out a bug report on our %sbug tracker%s. Use the tracker to report bugs in aurweb %sonly%s. To report packaging bugs contact the package maintainer or leave a comment on the appropriate package page.', + config_get('options', 'branding_shortname'), '<a href="https://bugs.archlinux.org/index.php?project=2">', '</a>', '<strong>', |