summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 06cef64)
raw | patch | inline | side by side (parent: 06cef64)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 26 May 2010 11:57:44 +0000 (11:57 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 26 May 2010 11:57:44 +0000 (11:57 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18750 594d385d-05f5-0310-b6e9-bd551577e9d8
index 54694846d6994bc7270626ef71614b06e170a473..17e245ba2575a89c7dfbe2611bebe5e4ab8008d4 100644 (file)
$str .= "<button disabled type='submit' name='last'>".msgPool::backButton()."</button>";
}
- $str .= "<button type='submit' name='test'>"._("check")."</button>";
+ 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>";
$str .="</div>";
}
index 8393efc9dfd556ca9c8ae13bd215679355bdab66..3d350b343fb05566686d2a64fa01677436635930 100644 (file)
var $is_active = false;
var $is_enabled = false;
var $is_completed = false;
+ var $b_displayCheckbutton = false;
var $header_image = "images/setup/user.png";
diff --git a/gosa-core/setup/class_setupStep_Checks.inc b/gosa-core/setup/class_setupStep_Checks.inc
index 2a4d698b51991655cb33700c64a8e1daa6ecc7b2..15f224c6b8d3e4f8185d6375f605e71fe703d6bc 100644 (file)
var $config_checks= array();
var $is_writeable = array();
var $header_image = "images/setup/system.png";
+
+ var $b_displayCheckbutton = TRUE;
function Step_Checks()
{
index eca54c38a809806ade702a4075aba2d716336055..cf0370712e984f5aea7eb22cce501a60d9e06a5e 100644 (file)
var $header_image= "images/setup/ldap.png";
+ var $b_displayCheckbutton = TRUE;
function Step_Ldap()
{
$this->update_strings();
diff --git a/gosa-core/setup/class_setupStep_Migrate.inc b/gosa-core/setup/class_setupStep_Migrate.inc
index a761be09308c0f57dbd8b040446435a0817914f3..e352b10bda76b3351818b9620cdab7a13a0ca5e9 100644 (file)
/* Root object classes */
var $rootOC_migrate_dialog = FALSE;
var $rootOC_details = array();
+ var $b_displayCheckbutton = TRUE;
function Step_Migrate()
{
function execute()
{
/* Initialise checks if this is the first call */
- if(!$this->checks_initialised || isset($_POST['reload'])){
+ if(!$this->checks_initialised || isset($_POST['test'])){
$this->initialize_checks();
$this->checks_initialised = TRUE;
}
index 9f17d8ffea30e13bf52e192984fc49f7015dc5b8..0ef474f1575e212f26b7a4362ceabd67617fe6e7 100644 (file)
</tr>
{/foreach}
</table>
- <br>
- <button type='submit' name='reload'>{t}Check again{/t}</button>
{elseif $method == "rootOC_migrate_dialog"}