summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8ddd669)
raw | patch | inline | side by side (parent: 8ddd669)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 19 Apr 2010 13:22:07 +0000 (13:22 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 19 Apr 2010 13:22:07 +0000 (13:22 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17695 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/gosa-plugins/goto/addons/goto/events/class_DaemonEvent.inc b/gosa-plugins/goto/addons/goto/events/class_DaemonEvent.inc
index 1095b9f1db06cde18669820fba6e0d1bbe4c75a3..6e56949ad80c86255a9477c0bdfd687876dc0c27 100644 (file)
protected $mode = SCHEDULED_EVENT; // Default action is sheduled.
/* Sub dialog hanlding */
- protected $target_divlist = NULL; // The divlist used by the target add dialog
+ protected $target_listing = NULL; // The listing used by the target add dialog
protected $target_add_list_used = FALSE; // Indicates that the target add list was used.
protected $time_select_used = FALSE; // Indicates that we have used the timestamp select boxes.
protected $target_list_used = FALSE; // Target list was diaplayed?
{
$this->target_add_list_used = TRUE;
- if($this->target_divlist == NULL){
- $this->target_divlist = new EventAddSystemDialog($this->config,$this);
+ if($this->target_listing == NULL){
+ $this->target_listing = new EventAddSystemDialog($this->config,$this);
}
$smarty = get_smarty();
- $smarty->assign("divlist",$this->target_divlist->execute());
+ $smarty->assign("listing",$this->target_listing->execute());
return($smarty->fetch(get_template_path('target_list.tpl', TRUE, dirname(__FILE__))));
}
if(isset($_POST['open_target_list'])){
$this->target_add_list_used =TRUE;
}
- if($this->target_divlist != NULL){
- $this->target_divlist->save_object();
+ if($this->target_listing != NULL){
+ $this->target_listing->save_object();
}
if($this->target_add_list_used){
if(isset($_POST['abort_target_dialog'])){
$this->target_add_list_used =FALSE;
- $this->target_divlist = NULL;
+ $this->target_listing = NULL;
}
if(isset($_POST['save_target_dialog'])){
$this->target_add_list_used =FALSE;
- $this->add_targets($this->target_divlist->get_selected_targets());
- $this->target_divlist = NULL;
+ $this->add_targets($this->target_listing->get_selected_targets());
+ $this->target_listing = NULL;
}
}
diff --git a/gosa-plugins/goto/addons/goto/events/class_DaemonEvent_notify.inc b/gosa-plugins/goto/addons/goto/events/class_DaemonEvent_notify.inc
index 3765b2f1bf6b1d5a0f2fed715aead4a8993b2291..68c21fe472712f66f58d235217ccb39f868d3231 100644 (file)
{
$this->target_add_list_used = TRUE;
- if($this->target_divlist == NULL){
- $this->target_divlist = new EventAddUserDialog($this->config,$this);
+ if($this->target_listing == NULL){
+ $this->target_listing = new EventAddUserDialog($this->config,$this);
}
$smarty = get_smarty();
- $smarty->assign("divlist",$this->target_divlist->execute());
+ $smarty->assign("listing",$this->target_listing->execute());
return($smarty->fetch(get_template_path('target_list.tpl', TRUE, dirname(__FILE__))));
}
diff --git a/gosa-plugins/goto/addons/goto/events/target_list.tpl b/gosa-plugins/goto/addons/goto/events/target_list.tpl
index 39b349cee117d330b5a8a30b668850cbcc0e19f5..e8a4b23f0b67754db33fa47f86f3ed0576b5fb1f 100644 (file)
-{$divlist}
+{$listing}
<hr>
<div class="plugin-actions">