summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5f5b022)
raw | patch | inline | side by side (parent: 5f5b022)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 16 Apr 2007 06:14:20 +0000 (06:14 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 16 Apr 2007 06:14:20 +0000 (06:14 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6051 594d385d-05f5-0310-b6e9-bd551577e9d8
html/themes/default/style.css | patch | blob | history | |
setup/class_setup.inc | patch | blob | history |
index 1cb25177eb123526f1f37f231da9a1458ec3b013..823e5ca578a3d72c651a59aed88934774f03fbe6 100644 (file)
div.navigation_info {
font-size: 1em;
color: black;
- padding: 4px 4px 3px 10px;
+ padding: 4px 4px 3px 23px;
margin: 0px;
cursor: pointer;
}
diff --git a/setup/class_setup.inc b/setup/class_setup.inc
index 8ff19b5067c8cf647aadb00c14a5a2bf3cf25383..4dbd86a48d51d1e1f3bb8647ffd97b6ee32b9efc 100644 (file)
--- a/setup/class_setup.inc
+++ b/setup/class_setup.inc
}
}
}
-
+
+ /* Disable all following steps, if one step isn't compelted right now .*/
+ for($i = 1 ; $i <= $this->i_steps ; $i ++ ){
+ if($this->o_steps[$i]->is_completed()){
+ }else{
+ $this->disable_steps_from($i+1);
+ }
+ }
+
$step = -1;
if(isset($_POST['setup_goto_step'])){
$s_info = $step -> get_small_info();
$b_active = $step -> is_active();
$b_enabled = $step -> is_enabled();
+ $b_completed= $step -> is_completed();
+
+ if($b_completed){
+ $s = "<img src='images/true.png' alt='"._("Completed")."' class='center'> ";
+ }else{
+ $s = "<img src='images/empty.png' alt=' ' class='center'> ";
+ }
if($_SESSION['js']){
$str .="<div >";
+
if($b_enabled){
if($b_active){
$str .= "<div class='navigation_element_active'>";
$str .= "<div onClick='document.mainform.setup_goto_step.value=\"$key\";document.mainform.submit();'
- class='navigation_title_active'>".$s_title."</div>";
+ class='navigation_title_active'>".$s.$s_title."</div>";
$str .= "<div onClick='document.mainform.setup_goto_step.value=\"$key\";document.mainform.submit();'
class='navigation_info'>".$s_info."</div>";
$str .= "</div>";
}else{
$str .= "<div class='navigation_element'>";
$str .= "<div onClick='document.mainform.setup_goto_step.value=\"$key\";document.mainform.submit();'
- class='navigation_title_inactive'>".$s_title."</div>";
+ class='navigation_title_inactive'>".$s.$s_title."</div>";
$str .= "</div>";
}
}else{
$str .= "<div class='navigation_element'>";
- $str .= "<div class='navigation_title_disabled'>".$s_title."</div>";
+ $str .= "<div class='navigation_title_disabled'>".$s.$s_title."</div>";
$str .= "</div>";
}
$str .= "</div>" ;