summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 291ba85)
raw | patch | inline | side by side (parent: 291ba85)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 27 Feb 2008 13:10:21 +0000 (13:10 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 27 Feb 2008 13:10:21 +0000 (13:10 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9173 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/addons/gotomasses/events/DaemonEvent_reinstall.tpl | patch | blob | history | |
gosa-plugins/goto/addons/gotomasses/events/class_DaemonEvent_reinstall.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/addons/gotomasses/events/DaemonEvent_reinstall.tpl b/gosa-plugins/goto/addons/gotomasses/events/DaemonEvent_reinstall.tpl
index 448c1f39ab3d764f77f30e5f8193118d07e6a1a9..40a62eb70be2c5302eb89fadba1043a17a47bd61 100644 (file)
</tr>
<tr>
<td>{t}Progress{/t}</td>
- <td><input type="text" name="progress" value="{$progress}"></td>
+ <td>{$progress}</td>
</tr>
<tr>
<td>{t}Status{/t}</td>
- <td><input type="text" name="status" value="{$status}"></td>
+ <td>{$status}</td>
</tr>
<tr>
<td>{t}Result{/t}</td>
diff --git a/gosa-plugins/goto/addons/gotomasses/events/class_DaemonEvent_reinstall.inc b/gosa-plugins/goto/addons/gotomasses/events/class_DaemonEvent_reinstall.inc
index f2d029d1a9a239c16aff954d06cc412f833148dd..bc36a452cd13e0c2c96284f64048c9a2e1b0471d 100644 (file)
}
$smarty = get_smarty();
- $smarty->assign("status" , $this->status);
- $smarty->assign("progress" , $this->progress);
+ $smarty->assign("status" , $this->status);
+ $smarty->assign("progress" , $this->progress);
$smarty->assign("data" , $this->data);
$smarty->assign("target_list" , $this->get_target_list());
$smarty->assign("is_new" , $this->is_new);
return($display);
}
- public function save_object()
- {
- $ret = DaemonEvent::save_object();
- foreach(array("progress","status") as $attr){
- if(isset($_POST[$attr])){
- $this->$attr = get_post($attr);
- }
- }
- }
-
public function save()
{
$ret = DaemonEvent::save();
- foreach(array("progress","status") as $attr){
- $ret[$attr] = $this->$attr;
- }
return($ret);
}
}