index 36bf7620913013ee85102fcc9c9cdf729db03e78..6d0061d95728d423cb0444eb174be3039da4751e 100644 (file)
$this->o_steps[$i++] = new Step_Checks();
$this->o_steps[$i++] = new Step_License();
$this->o_steps[$i++] = new Step_Ldap();
-# $this->o_steps[$i++] = new Step_Schema();
+ $this->o_steps[$i++] = new Step_Schema();
$this->o_steps[$i++] = new Step_Migrate();
$this->o_steps[$i++] = new Step_Feedback();
$this->o_steps[$i++] = new Step_Finish();
$str ="";
}else{
$str ="<div class='plugin-actions'>";
+
if(isset($this->o_steps[$this->i_current -1]) && $this->o_steps[$this->i_current -1]->is_enabled()){
$str .= "<button type='submit' name='last'>".msgPool::backButton()."</button>";
}else{
$str .= "<button disabled type='submit' name='last'>".msgPool::backButton()."</button>";
}
- $str .= "<button type='submit' name='next'>"._("next")."</button>";
+
+ if($this->o_steps[$this->i_current]->b_displayCheckbutton){
+ $str .= " <button type='submit' name='test'>"._("Check again")."</button>";
+ }
+
+ $str .= " <button type='submit' name='next'>"._("Next")."</button>";
$str .="</div>";
}
return($str);
/* Create header entry */
function get_header_html()
{
- $str= $this->o_steps[$this->i_current]->print_header();
+ $title = $this->o_steps[$this->i_current]->getTitle();
+ $image = $this->o_steps[$this->i_current]->getImage();
+ $page = $this->i_current ." / ".count($this->o_steps);
+
+
+ $str = "<div style='100%'>
+ <div style='float: left; '>
+ <img src='{$image}' alt=''>
+ </div>
+ <div style='float: left; margin-left:10px;margin-top:10px;font-size:24px;font-weight:bold;'>
+ {$title}
+ </div>
+ <div style='float: right; margin-top:10px;font-size:24px;font-weight:bold;'>
+ {$page}
+ </div>
+ </div>
+ <div class='clear'></div> ";
return ($str);
}