From 1c801159ecf984efdf56aacc9704ff81fc5c90d4 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Mon, 8 May 2006 09:54:44 +0000 Subject: [PATCH] better view on small windows --- lam/templates/main.php | 2 +- lam/templates/main_header.php | 21 ++++++--------------- 2 files changed, 7 insertions(+), 16 deletions(-) diff --git a/lam/templates/main.php b/lam/templates/main.php index 368ba6cf..69f64443 100644 --- a/lam/templates/main.php +++ b/lam/templates/main.php @@ -62,7 +62,7 @@ echo ("LDAP Account Manager\n"); echo (""); echo ("\n"); echo ("\n"); -echo ("\n"); +echo ("\n"); // display page to add suffixes, if needed if (sizeof($new_suffs) > 0) echo ("\n"); diff --git a/lam/templates/main_header.php b/lam/templates/main_header.php index d501718a..b5a8808f 100644 --- a/lam/templates/main_header.php +++ b/lam/templates/main_header.php @@ -42,8 +42,6 @@ echo $_SESSION['header']; // number of list views (users, groups, ...) $types = $_SESSION['config']->get_ActiveTypes(); -$lists = sizeof($types); -if ($_SESSION['config']->get_Suffix('tree') != "") $lists++; ?> @@ -59,33 +57,26 @@ if ($_SESSION['config']->get_Suffix('tree') != "") $lists++;

  - \n"; - ?> + LDAP Account Manager   -  \n"; - ?> +   - "; if ($_SESSION['config']->get_Suffix('tree') != "") { - echo ' ' . _("Tree view") . '' . "\n"; + echo ' ' . _("Tree view") . '        ' . "\n"; } for ($i = 0; $i < sizeof($types); $i++) { - echo ''; echo ' '; - echo '' . getTypeAlias($types[$i]) . ''; - echo '' . "\n"; + echo '' . getTypeAlias($types[$i]) . '        '; } + echo ""; ?> -