From a01516f2f46063239c7320e82b8ca84d2b0f08d2 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 23 Jul 2010 09:34:30 +0000 Subject: [PATCH] Fixed post handling. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19075 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/events/class_DaemonEvent_wakeup.inc | 68 +++++++++---------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/gosa-plugins/goto/addons/goto/events/class_DaemonEvent_wakeup.inc b/gosa-plugins/goto/addons/goto/events/class_DaemonEvent_wakeup.inc index 075482a92..06e77c3e8 100644 --- a/gosa-plugins/goto/addons/goto/events/class_DaemonEvent_wakeup.inc +++ b/gosa-plugins/goto/addons/goto/events/class_DaemonEvent_wakeup.inc @@ -22,46 +22,46 @@ class DaemonEvent_wakeup extends DaemonEvent { - var $visible_for = SYSTEM_EVENT; - public function __construct($config,$data = array()) - { - DaemonEvent::__construct($config,$data); - $this->s_Menu_Name = _("Wake up"); - $this->s_Event_Name = _("Wake system"); - $this->s_Schedule_Action= "job_trigger_action_wake"; - $this->s_Trigger_Action = "gosa_trigger_action_wake"; - $this->s_Queued_Action = "trigger_action_wake"; - $this->s_Menu_Image = "images/lists/on.png"; - $this->s_List_Image = "images/lists/on.png"; - } + var $visible_for = SYSTEM_EVENT; + public function __construct($config,$data = array()) + { + DaemonEvent::__construct($config,$data); + $this->s_Menu_Name = _("Wake up"); + $this->s_Event_Name = _("Wake system"); + $this->s_Schedule_Action= "job_trigger_action_wake"; + $this->s_Trigger_Action = "gosa_trigger_action_wake"; + $this->s_Queued_Action = "trigger_action_wake"; + $this->s_Menu_Image = "images/lists/on.png"; + $this->s_List_Image = "images/lists/on.png"; + } - public function execute() - { - DaemonEvent::execute(); + public function execute() + { + DaemonEvent::execute(); - $display = $this->get_header(); + $display = $this->get_header(); - $tmp = $this->data; + $tmp = $this->data; - /* Check if target add dialog is open */ - if($this->is_target_list_open() && $this->is_new){ - return($this->get_target_add_list()); - } + /* Check if target add dialog is open */ + if($this->is_target_list_open() && $this->is_new){ + return($this->get_target_add_list()); + } - $smarty = get_smarty(); - $smarty->assign("data" , $this->data); - $smarty->assign("target_list" , $this->get_target_list()); - $smarty->assign("is_new" , $this->is_new); - $smarty->assign("timestamp" , $this->get_time_select()); - $display.= $smarty->fetch(get_template_path('DaemonEvent_wakeup.tpl', TRUE, dirname(__FILE__))); - $display.= $this->get_footer(); - return($display); - } + $smarty = get_smarty(); + $smarty->assign("data" , $this->data); + $smarty->assign("target_list" , $this->get_target_list()); + $smarty->assign("is_new" , $this->is_new); + $smarty->assign("timestamp" , $this->get_time_select()); + $display.= $smarty->fetch(get_template_path('DaemonEvent_wakeup.tpl', TRUE, dirname(__FILE__))); + $display.= $this->get_footer(); + return($display); + } - public function save_object() - { - DaemonEvent::save_object(); - } + public function save_object() + { + DaemonEvent::save_object(); + } } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?> -- 2.30.2