From 6a8ca3ee8f7f8807f9bf2119cb7ff687d84dc32c Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Thu, 4 Dec 2008 15:25:36 +0100 Subject: [PATCH] Support for national letter tabs darcs-hash:20081204142536-6e07b-cb9554d48743ac34c604f389958fbbff3ffe177f.gz --- inc/lang/de.php | 3 +++ inc/lang/en.php | 2 ++ inc/lang/ru.php | 3 +++ inc/template.php | 1 + styles/layout.css | 4 ++-- templates/header.tpl | 51 +++----------------------------------------- templates/layout.css | 1 - 7 files changed, 14 insertions(+), 51 deletions(-) create mode 100644 inc/lang/ru.php diff --git a/inc/lang/de.php b/inc/lang/de.php index c171645..8d0fcdc 100644 --- a/inc/lang/de.php +++ b/inc/lang/de.php @@ -92,3 +92,6 @@ $lang['position'] = 'Position'; $lang['department'] = 'Abteilung'; $lang['ipphone'] = 'IP Tel.'; $lang['spouse'] = 'Ehepartner'; + +$lang['lettertabs'] = 'A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Ä Ö Ü'; + diff --git a/inc/lang/en.php b/inc/lang/en.php index 3341421..ef06d76 100644 --- a/inc/lang/en.php +++ b/inc/lang/en.php @@ -93,3 +93,5 @@ $lang['position'] = 'Position'; $lang['department'] = 'Department'; $lang['ipphone'] = 'IP Phone'; $lang['spouse'] = 'Spouse'; + +$lang['lettertabs'] = 'A B C D E F G H I J K L M N O P Q R S T U V W X Y Z'; diff --git a/inc/lang/ru.php b/inc/lang/ru.php new file mode 100644 index 0000000..76b108d --- /dev/null +++ b/inc/lang/ru.php @@ -0,0 +1,3 @@ +assign('conf',$conf); $smarty->assign('lang',$lang); $smarty->assign('fields',$FIELDS); + $smarty->assign('lettertabs',explode(' ',$lang['lettertabs'])); } /** diff --git a/styles/layout.css b/styles/layout.css index d923bee..0738f62 100644 --- a/styles/layout.css +++ b/styles/layout.css @@ -85,8 +85,8 @@ div#content { border: 1px solid #999; padding: 1em; height: auto !important; - min-height: 45em; - height: 45em; + min-height: 55em; + height: 55em; } /* help screen */ diff --git a/templates/header.tpl b/templates/header.tpl index e61f1a8..01a73d4 100644 --- a/templates/header.tpl +++ b/templates/header.tpl @@ -65,58 +65,13 @@
- - -
- - diff --git a/templates/layout.css b/templates/layout.css index 82d6f50..5302fbc 100644 --- a/templates/layout.css +++ b/templates/layout.css @@ -47,7 +47,6 @@ div#filterrow ul.x { list-style: none; margin: 0; padding: 0; - } div#filterrow div { -- 2.39.5