From fe24b4a8b6649dd00d2824db8c0e6927846fde18 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=B6tz=20Hoffart?= Date: Thu, 29 Mar 2012 12:58:03 +0200 Subject: [PATCH 1/1] Update language and mirror selection --- includes/common.php | 12 +++++++++++- index.php.de | 7 ------- common/mirrors.inc => mirrors.php | 14 +++++++++++--- style.css | 5 +++++ 4 files changed, 27 insertions(+), 11 deletions(-) rename common/mirrors.inc => mirrors.php (54%) 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/common/mirrors.inc b/mirrors.php similarity index 54% rename from common/mirrors.inc rename to mirrors.php index eef87e6..36fc27a 100644 --- a/common/mirrors.inc +++ b/mirrors.php @@ -1,8 +1,16 @@ -

- Mirrors: -

+ +

+ 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- */ -- 2.39.2