summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-04-26 15:59:49 +0200
committerErich Eckner <git@eckner.net>2018-04-26 15:59:49 +0200
commitc0f56b4faa778ffdaf4d03eaebe9fc55c070f52f (patch)
treede1474cc58fe246ddfd7c77d2985ee55bc643f26 /lib
parent5eb4ae1264ddbbb277c13d04b0db56341e940908 (diff)
downloadarchweb32-c0f56b4faa778ffdaf4d03eaebe9fc55c070f52f.tar.xz
lib/style.php: make copyright configurable
Diffstat (limited to 'lib')
-rw-r--r--lib/style.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/style.php b/lib/style.php
index b7e35ad..362f53e 100644
--- a/lib/style.php
+++ b/lib/style.php
@@ -33,11 +33,15 @@ function print_header($title) {
<?php
}
-function print_footer() {
+function print_footer($copyright = "Copyright © 2002-2018 <a href=\"mailto:jvinet@zeroflux.org\" title=\"Contact Judd Vinet\">Judd Vinet</a> and <a href=\"mailto:aaron@archlinux.org\" title=\"Contact Aaron Griffin\">Aaron Griffin</a>.") {
?>
<div id="footer">
<p>
- Copyright © 2002-2018 <a href="mailto:jvinet@zeroflux.org" title="Contact Judd Vinet">Judd Vinet</a> and <a href="mailto:aaron@archlinux.org" title="Contact Aaron Griffin">Aaron Griffin</a>.
+<?php
+
+print " " . $copyright . "\n";
+
+?>
</p>
<p>
The Arch Linux name and logo are recognized <a href="https://wiki.archlinux.org/index.php/DeveloperWiki:TrademarkPolicy" title="Arch Linux Trademark Policy">trademarks</a>. Some rights reserved.