From 6f9bdca2eeb51405d18d5ca5d46b6b71014c7e0f Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sat, 13 May 2006 08:40:01 +0000 Subject: [PATCH] layout improvements --- lam/templates/main.php | 2 +- lam/templates/main_header.php | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/lam/templates/main.php b/lam/templates/main.php index 69f64443..7e77d30b 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 b5a8808f..b0c51d1f 100644 --- a/lam/templates/main_header.php +++ b/lam/templates/main_header.php @@ -67,14 +67,16 @@ $types = $_SESSION['config']->get_ActiveTypes(); "; + echo ""; + $linkList = array(); if ($_SESSION['config']->get_Suffix('tree') != "") { - echo ' ' . _("Tree view") . '        ' . "\n"; + $linkList[] = ' ' . _("Tree view") . '' . "\n"; } for ($i = 0; $i < sizeof($types); $i++) { - echo ' '; - echo '' . getTypeAlias($types[$i]) . '        '; + $linkList[] = ' ' . + '' . getTypeAlias($types[$i]) . ''; } + echo implode('        ', $linkList); echo ""; ?>