X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=includes%2Fcommon.php;h=b01e73231af6a052bd835cb4228c4497b2c41808;hb=59728b324c294dbbaec7e0bafdefa6ec9db664d6;hp=4335070468bbeb49c86f9e2c3e7c2b7f413596ed;hpb=c1b2c9acfdecdbdce157d6fc046663bd99874e76;p=ngircd-web.git diff --git a/includes/common.php b/includes/common.php index 4335070..b01e732 100644 --- a/includes/common.php +++ b/includes/common.php @@ -1,8 +1,7 @@ ' . "\n\n"; + echo ''; echo '' . "\n"; echo ''; if ($title) @@ -10,14 +9,13 @@ function begin_page($lang = 'en', $title = null) { else echo 'ngIRCd: Next Generation IRC Daemon'; echo ''; - echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; - echo ''; - echo ''; + echo ''; + echo ''; echo "\n"; echo '
'; @@ -63,12 +61,32 @@ function begin_page($lang = 'en', $title = null) { function end_page() { echo '
'; - echo ''; + echo '
"; + echo "Server: $server "; + /* Download folder */ + echo "($protocol"; + if ($protocol == "https") + echo " 🔒"; + echo "): "; + /* Archive files */ + $count = 1; + foreach (array('tar.gz', 'tar.xz', 'tar.Z') as $suffix) { + if ($count > 1) + echo ', '; + echo ""; + if ($suffix == "tar.gz") + echo "ngircd-$rel."; + echo "$suffix "; + echo "(Sig)"; + $count++; + } + echo "
"; +} + ?>