summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 84c533d)
raw | patch | inline | side by side (parent: 84c533d)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 26 May 2010 12:05:02 +0000 (12:05 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 26 May 2010 12:05:02 +0000 (12:05 +0000) |
-Do not display next button on last page
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18752 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18752 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/setup/class_setup.inc | patch | blob | history | |
gosa-core/setup/class_setupStep_Finish.inc | patch | blob | history |
index 17e245ba2575a89c7dfbe2611bebe5e4ab8008d4..2cb1010285661c1ccb3e71425711ead062a43ac1 100644 (file)
if($this->o_steps[$this->i_current]->b_displayCheckbutton){
$str .= "<button type='submit' name='test'>"._("check")."</button>";
}
- $str .= "<button type='submit' name='next'>"._("next")."</button>";
+
+ if(isset($this->o_steps[$this->i_current +1])){
+ $str .= "<button type='submit' name='next'>"._("next")."</button>";
+ }
$str .="</div>";
}
return($str);
diff --git a/gosa-core/setup/class_setupStep_Finish.inc b/gosa-core/setup/class_setupStep_Finish.inc
index a64fbcd05923e6b33d260f267773b05c56558737..aa787833cc73171392ecc6a49587880cc8e143b9 100644 (file)
var $cfg_file_written = FALSE;
var $header_image = "images/setup/server.png";
+ var $b_displayCheckbutton = TRUE;
+
function Step_Finish()
{
$this->update_strings();