From 8a1c0634cc65d7988a7df71236fdb3987a501fad Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 2 Feb 2007 06:09:01 +0000 Subject: [PATCH] Added setup fixes git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5679 594d385d-05f5-0310-b6e9-bd551577e9d8 --- html/setup.php | 3 ++- html/themes/default/style.css | 28 +++++++++++++--------------- setup/class_setup.inc | 7 +++---- setup/main.inc | 2 -- 4 files changed, 18 insertions(+), 22 deletions(-) diff --git a/html/setup.php b/html/setup.php index c414bb491..882fce245 100644 --- a/html/setup.php +++ b/html/setup.php @@ -100,8 +100,9 @@ require_once("../setup/main.inc"); /* Print_out last ErrorMessage repeated string. */ print_red(NULL); +$smarty->assign("date", date("l, dS F Y H:i:s O")); $header= "".$smarty->fetch(get_template_path('headers.tpl')); - +/* show web frontend */ $smarty->assign("contents" , $display); $smarty->assign("navigation", $_SESSION['setup']->get_navigation_html()); $smarty->assign("header", $_SESSION['setup']->get_header_html()); diff --git a/html/themes/default/style.css b/html/themes/default/style.css index ff6756c29..cad63a4db 100644 --- a/html/themes/default/style.css +++ b/html/themes/default/style.css @@ -872,26 +872,24 @@ div.setup_navigation_border { /* Navigation title */ div.setup_navigation_title { font-size: 1.7em; - background: #CCF6CC ; - text-decoration:none; - width:100%; - margin-bottom: 7px; - border-right: solid 1px #BBBBBB; - border-bottom: solid 1px #CCCCCC; - + background: #CCF6CC ; + text-decoration:none; + width:100%; + margin-bottom: 7px; + border-right: solid 1px #AAAAAA; + border-bottom: solid 1px #BBBBBB; } /* The box used for each setup step */ a.navigation_element, div.navigation_element { float: left; clear: left; - background: #EEF6EE ; + background: #E4E4E4 ; text-decoration:none; width:100%; margin-bottom: 4px; - border-right: solid 1px #DDDDDD; - border-bottom: solid 1px #DDDDDD; - + border-right: solid 1px #AAAAAA; + border-bottom: solid 1px #BBBBBB; } /* The box used for each setup step */ @@ -899,12 +897,12 @@ a.navigation_element_active, div.navigation_element_active { float: left; clear: left; position: relative; - background: #EEF6EE ; + background: #E4E4E4 ; text-decoration:none; width:100%; margin-bottom: 4px; - border-right: solid 1px #BBBBBB; - border-bottom: solid 1px #CCCCCC; + border-right: solid 1px #AAAAAA; + border-bottom: solid 1px #BBBBBB; } /* An enabled setup step will use this style in navigation*/ @@ -920,7 +918,7 @@ div.navigation_title_disabled { font-size: 1.2em; font-weight: bold; padding: 3px; - color: #DDDDDD; + color: #AAAAAA; } /* Disabled setup steps */ diff --git a/setup/class_setup.inc b/setup/class_setup.inc index 792dec9a9..5236619d1 100644 --- a/setup/class_setup.inc +++ b/setup/class_setup.inc @@ -97,13 +97,12 @@ class setup extends plugin if($b_enabled){ if($b_active){ $str .= ""; - $str .= "".$s_title.""; - $str .= "
"; - $str .= "".$s_info.""; + $str .= ""; + $str .= ""; $str .= "

\n"; }else{ $str .= ""; - $str .= "".$s_title.""; + $str .= ""; $str .= "
\n"; } }else{ diff --git a/setup/main.inc b/setup/main.inc index fe41c8030..bce41ef68 100644 --- a/setup/main.inc +++ b/setup/main.inc @@ -18,8 +18,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -restore_error_handler(); - /* Create a new setup class if necessary */ if (!isset($_SESSION['setup']) || (isset($_GET['reset']) && $_GET['reset'] == 1)){ $_SESSION['setup']= new setup (); -- 2.30.2