From b8af593db6598adcf6e3977cc69ecb5e062c365a Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Wed, 14 May 2008 20:27:32 +0000 Subject: [PATCH] fixed style of select boxes --- lam/templates/ou_edit.php | 6 +++--- lam/templates/profedit/profilemain.php | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lam/templates/ou_edit.php b/lam/templates/ou_edit.php index 5f4bed70..19272e86 100644 --- a/lam/templates/ou_edit.php +++ b/lam/templates/ou_edit.php @@ -48,7 +48,7 @@ setlanguage(); $types = $_SESSION['config']->get_ActiveTypes(); // check if submit button was pressed -if ($_POST['submit']) { +if (isset($_POST['submit'])) { // check user input for ($i = 0; $i < sizeof($types); $i++) { // new ou @@ -167,7 +167,7 @@ function display_main() { echo ("\n"); echo ("" . _("New organizational unit") . ":\n"); echo (" \n"); - echo (""); for ($u = 0; $u < sizeof($units); $u++) { echo ("\n"); } @@ -182,7 +182,7 @@ function display_main() { echo ("\n"); echo ("" . _("Delete organizational unit") . ":\n"); echo (" \n"); - echo (""); for ($u = 0; $u < sizeof($units); $u++) { echo ("\n"); } diff --git a/lam/templates/profedit/profilemain.php b/lam/templates/profedit/profilemain.php index d4368bc5..0c74a257 100644 --- a/lam/templates/profedit/profilemain.php +++ b/lam/templates/profedit/profilemain.php @@ -137,7 +137,7 @@ for ($i = 0; $i < sizeof($profileClasses); $i++) { echo "\n"; echo "\n"; echo "\n"; - echo "\n"; echo $profileClasses[$i]['profiles']; echo "\n"; echo "\n"; @@ -150,7 +150,7 @@ for ($i = 0; $i < sizeof($profileClasses); $i++) { echo "\n"; echo "\n"; echo "\n"; - echo "\n"; echo $profileClasses[$i]['profiles']; echo "\n"; echo "\n";