From acea61ed9f2f381a81928690855c6c1a98626c4d Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Mon, 31 Dec 2007 12:25:13 +0000 Subject: [PATCH] more browser independent style --- lam/style/500_layout.css | 1 + lam/templates/config/confmain.php | 12 ++++++------ lam/templates/config/confmodules.php | 6 +++--- lam/templates/delete.php | 4 ++-- lam/templates/masscreate.php | 4 ++-- lam/templates/ou_edit.php | 2 +- 6 files changed, 15 insertions(+), 14 deletions(-) diff --git a/lam/style/500_layout.css b/lam/style/500_layout.css index 8c922139..2b8c5ac1 100644 --- a/lam/style/500_layout.css +++ b/lam/style/500_layout.css @@ -67,6 +67,7 @@ a img { fieldset { background-color:#EEEEEE; border:1px solid green; +padding:0px 15px 15px 15px; } legend { diff --git a/lam/templates/config/confmain.php b/lam/templates/config/confmain.php index cf526004..635d2884 100644 --- a/lam/templates/config/confmain.php +++ b/lam/templates/config/confmain.php @@ -141,7 +141,7 @@ if (isset($_SESSION['conf_errors'])) { // display formular echo ("
\n"); -echo ("
" . _("Server settings") . ""); +echo ("
" . _("Server settings") . "
\n"); echo (""); // serverURL echo ("". @@ -231,7 +231,7 @@ echo (""); echo ("

"); -echo ("
" . _("Account types and modules") . ""); +echo ("
" . _("Account types and modules") . "
\n"); // Account modules $types = $conf->get_ActiveTypes(); @@ -281,7 +281,7 @@ for ($i = 0; $i < sizeof($modules); $i++) { if ($iconImage != null) { $icon = '' . $iconImage . ' '; } - echo "$icon" . getModuleAlias($modules[$i], "none") . "\n"; + echo "$icon" . getModuleAlias($modules[$i], "none") . "
\n"; $configTypes = parseHtml($modules[$i], $options[$modules[$i]], $old_options, true, $tabindex, $tabindexLink, 'config'); $_SESSION['conf_types'] = array_merge($configTypes, $_SESSION['conf_types']); echo "
\n"; @@ -289,7 +289,7 @@ for ($i = 0; $i < sizeof($modules); $i++) { } -echo ("
" . _("Language settings") . "\n"); +echo ("
" . _("Language settings") . "
\n"); echo ("
" . _("Server address") . " *:
\n"); // language @@ -336,7 +336,7 @@ echo ("\n"); echo ("

\n"); // script settings -echo ("
" . _("Script settings") . "\n"); +echo ("
" . _("Script settings") . "
\n"); echo ("
\n"); echo ("
". @@ -409,7 +409,7 @@ echo ("\n"); echo ("

\n"); // security setings -echo ("
" . _("Security settings") . "\n"); +echo ("
" . _("Security settings") . "
\n"); echo ("\n"); // admin list $adminText = implode("\n", explode(";", $conf->get_Adminstring())); diff --git a/lam/templates/config/confmodules.php b/lam/templates/config/confmodules.php index 2cd844d1..be1c35fb 100644 --- a/lam/templates/config/confmodules.php +++ b/lam/templates/config/confmodules.php @@ -172,14 +172,14 @@ function config_showAccountModules($scope, $title) { // show account modules $icon = '' . $scope . ' '; - echo "
$icon" . $title . "\n"; + echo "
$icon" . $title . "
\n"; echo "
\n"; // select boxes echo "\n"; echo "\n"; echo "\n"; echo "
\n"; echo "
\n"; - echo "" . _("Selected modules") . "\n"; + echo "" . _("Selected modules") . "
\n"; echo "
\n"; echo "
\n"; - echo "" . _("Available modules") . "\n"; + echo "" . _("Available modules") . "
\n"; echo "\n"; echo "" . _("Do you really want to remove the following accounts?") . ""; echo "

\n"; @@ -137,7 +137,7 @@ if ($_POST['delete']) { echo "\n"; echo "
"; echo _('Deleting. Please stand by ...'); - echo "\n"; + echo "
\n"; // Delete dns for ($m=0; $m" . _("Columns:") . "

\n"; // DN options - echo "
\n" . _("DN settings") . "\n"; + echo "
\n" . _("DN settings") . "
\n"; echo "\n"; echo "\n"; echo "
\n"; @@ -192,7 +192,7 @@ function showMainPage($scope) { if ($iconImage != null) { $icon = '' . $iconImage . ' '; } - echo "
\n$icon" . getModuleAlias($modules[$m], $scope) . "\n"; + echo "
\n$icon" . getModuleAlias($modules[$m], $scope) . "
\n"; echo "\n"; for ($i = 0; $i < sizeof($columns[$modules[$m]]); $i++) { echo "\n"; diff --git a/lam/templates/ou_edit.php b/lam/templates/ou_edit.php index 0475e83f..5f4bed70 100644 --- a/lam/templates/ou_edit.php +++ b/lam/templates/ou_edit.php @@ -160,7 +160,7 @@ function display_main() { for ($i = 0; $i < sizeof($types); $i++) { // generate lists of possible suffixes $units = $_SESSION['ldap']->search_units($_SESSION["config"]->get_Suffix($types[$i])); - echo ("
" . getTypeAlias($types[$i]) . "\n"); + echo ("
" . getTypeAlias($types[$i]) . "
\n"); echo ("
\n"); // new OU echo ("\n");