From: Götz Hoffart Date: Thu, 29 Mar 2012 10:58:03 +0000 (+0200) Subject: Update language and mirror selection X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe24b4a8b6649dd00d2824db8c0e6927846fde18;hp=823bdb2ba1320bc241e360f07ff093497a88905b;p=ngircd-web.git Update language and mirror selection --- diff --git a/common/mirrors.inc b/common/mirrors.inc deleted file mode 100644 index eef87e6..0000000 --- a/common/mirrors.inc +++ /dev/null @@ -1,8 +0,0 @@ -

- Mirrors: -

- - diff --git a/includes/common.php b/includes/common.php index 4def562..0492852 100644 --- a/includes/common.php +++ b/includes/common.php @@ -22,6 +22,16 @@ function begin_page($lang = 'en', $title = null) { echo '
'; // Title & Slogan + echo '
'; + switch($lang) { + case 'de': + echo 'Deutsch | English'; + break; + case 'en': + echo 'Deutsch | English'; + break; + } + echo ' | Mirrors
'; echo '
'; echo '

ngIRCd: Next Generation IRC Daemon

'; echo '

“… serving white hat 6667!”

'; @@ -53,7 +63,7 @@ function begin_page($lang = 'en', $title = null) { function end_page() { echo '
'; - echo ''; echo '
'; } diff --git a/index.php.de b/index.php.de index 8f67342..e9a44b1 100644 --- a/index.php.de +++ b/index.php.de @@ -25,13 +25,6 @@ für ngIRCd. Dort ist es z. B. möglich, sich über neue Versionen zu informieren und via E-Mail benachrichtigen zu lassen.

-

- BTW: There's an English version of this - page, too. -

-

Vorteile

diff --git a/mirrors.php b/mirrors.php new file mode 100644 index 0000000..36fc27a --- /dev/null +++ b/mirrors.php @@ -0,0 +1,16 @@ + +

+ Mirrors / Spiegel +

+ + + + diff --git a/style.css b/style.css index 49a01d5..2f61900 100644 --- a/style.css +++ b/style.css @@ -51,4 +51,9 @@ SMALL { line-height: 1em; } background: #fdd; } +#metaNav { + text-align: right; + font-size: 10px; +} + /* -eof- */