index eedb588da6d6f497679c00cae572effc74a8db6c..f7e0d54ec1e1078f6d25087dbbadcec7071a6eb6 100644 (file)
$smarty = get_smarty();
$smarty->assign("generic_settings",$this->generic_settings);
$smarty->assign("samba_settings",$this->samba_settings);
+ $smarty->assign("warnings" ,$this->check());
+ $smarty->assign("warnings_cnt" ,count($this->check()));
$smarty->assign("bool",array(FALSE => _("No"), TRUE => _("Yes")));
foreach($this->attributes as $attr){
$smarty->assign($attr,$this->$attr);
}
}
+
+ $tmp = $this->check();
+ if(count($tmp) == 0){
+ $this->is_completed = TRUE;
+ }else{
+ $this->is_completed = FALSE;
+ }
}
- /* Attributes that are interesting for configuration generation */
+
+ function check()
+ {
+ $message = array();
+ return($message);
+ }
+
+
+ /* Attributes that are interesting for configuration generation */
function get_attributes()
{
$tmp = setup_step::get_attributes();