From: hickert Date: Wed, 26 May 2010 12:05:02 +0000 (+0000) Subject: Updated setup steps X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a4ffd79c12b84c45cb168c110118c39e36298c8f;p=gosa.git Updated setup steps -Do not display next button on last page git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18752 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/setup/class_setup.inc b/gosa-core/setup/class_setup.inc index 17e245ba2..2cb101028 100644 --- a/gosa-core/setup/class_setup.inc +++ b/gosa-core/setup/class_setup.inc @@ -233,7 +233,10 @@ class setup if($this->o_steps[$this->i_current]->b_displayCheckbutton){ $str .= ""; } - $str .= ""; + + if(isset($this->o_steps[$this->i_current +1])){ + $str .= ""; + } $str .=""; } return($str); diff --git a/gosa-core/setup/class_setupStep_Finish.inc b/gosa-core/setup/class_setupStep_Finish.inc index a64fbcd05..aa787833c 100644 --- a/gosa-core/setup/class_setupStep_Finish.inc +++ b/gosa-core/setup/class_setupStep_Finish.inc @@ -26,6 +26,8 @@ class Step_Finish extends setup_step var $cfg_file_written = FALSE; var $header_image = "images/setup/server.png"; + var $b_displayCheckbutton = TRUE; + function Step_Finish() { $this->update_strings();