From: hickert Date: Thu, 12 Apr 2007 07:23:17 +0000 (+0000) Subject: Moved setup navigation buttons to page bottom X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=df0b22c38244e29b96848e0364fa44247c6f6392;p=gosa.git Moved setup navigation buttons to page bottom git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6018 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/html/setup.php b/html/setup.php index 37c380211..a05c3a086 100644 --- a/html/setup.php +++ b/html/setup.php @@ -114,6 +114,7 @@ $header= "".$smarty->fetch(get_template_path('setup_headers.t $smarty->assign("contents" , $display); $smarty->assign("navigation", $_SESSION['setup']->get_navigation_html()); $smarty->assign("header", $_SESSION['setup']->get_header_html()); +$smarty->assign("bottom", $_SESSION['setup']->get_bottom_html()); if ($error_collector != ""){ $smarty->assign("php_errors", $error_collector.""); diff --git a/setup/class_setup.inc b/setup/class_setup.inc index 83311ed2f..327a1f9d4 100644 --- a/setup/class_setup.inc +++ b/setup/class_setup.inc @@ -213,6 +213,23 @@ class setup } + + function get_bottom_html() + { + $str =""; + $str.="
"; + if(isset($this->o_steps[$this->i_current -1]) && $this->o_steps[$this->i_current -1]->is_enabled()){ + $str .= ""; + }else{ + $str .= ""; + } + + $str .= ""; + $str .="
"; + return($str); + } + + /* Create header entry */ function get_header_html() { @@ -223,18 +240,18 @@ class setup $str.= $this->o_steps[$this->i_current]->get_long_title(); $str.=" "; $str.=" "; - $str.="
"; - if(isset($this->o_steps[$this->i_current -1]) && $this->o_steps[$this->i_current -1]->is_enabled()){ - $str.=" "; - }else{ - $str.=" "; - } -# if(isset($this->o_steps[$this->i_current +1]) && $this->o_steps[$this->i_current +1]->is_enabled()){ - $str.=" "; -# }else{ -# $str.=" "; -# } - $str.= "
"; +# $str.="
"; +# if(isset($this->o_steps[$this->i_current -1]) && $this->o_steps[$this->i_current -1]->is_enabled()){ +# $str.=" "; +# }else{ +# $str.=" "; +# } +# if(isset($this->o_steps[$this->i_current +1]) && $this->o_steps[$this->i_current +1]->is_enabled()){ +# $str.=" "; +# }else{ +# $str.=" "; +# } +# $str.= "
"; $str.= ""; return ($str); } diff --git a/setup/class_setupStep4.inc b/setup/class_setupStep4.inc index 69a2ba863..3e3bc899a 100644 --- a/setup/class_setupStep4.inc +++ b/setup/class_setupStep4.inc @@ -37,6 +37,7 @@ class setup_step_4 extends setup_step var $attributes = array("connection","location","admin","password","base","tls"); + function setup_step_4() { $this->update_strings(); diff --git a/setup/setup_frame.tpl b/setup/setup_frame.tpl index e067df5d5..7e15475c3 100644 --- a/setup/setup_frame.tpl +++ b/setup/setup_frame.tpl @@ -29,13 +29,16 @@
- {$version} + {$bottom}
+
+ {$version} +