From 091c2b5f5523773604699b914c19e6b02ce290bc Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Sat, 17 Dec 2011 02:21:03 +0100 Subject: Move language selection to a drop-down list Move all languages to a select container to save some space. Language selection is a rarely used feature, so there's no need to make this a one click option. Signed-off-by: Lukas Fleischer --- web/html/css/aur.css | 3 +++ web/template/header.php | 32 ++++++++++++++++++++------------ 2 files changed, 23 insertions(+), 12 deletions(-) (limited to 'web') diff --git a/web/html/css/aur.css b/web/html/css/aur.css index 181d043..741446e 100644 --- a/web/html/css/aur.css +++ b/web/html/css/aur.css @@ -1 +1,4 @@ /* AUR-specific customizations to "archweb.css". */ +#lang_sub { + float: right; +} diff --git a/web/template/header.php b/web/template/header.php index 018e23e..023c44d 100644 --- a/web/template/header.php +++ b/web/template/header.php @@ -31,6 +31,26 @@
+
+
"> +
+
+ + +
+
+
+
  • AUR
  • @@ -47,17 +67,5 @@
- -
- $lang_name) { - print '" - . htmlspecialchars(strtolower($lang)) . "\n"; - } - ?> -
-- cgit v1.2.3-70-g09d2