summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f4753a6)
raw | patch | inline | side by side (parent: f4753a6)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 23 Jul 2010 09:34:21 +0000 (09:34 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 23 Jul 2010 09:34:21 +0000 (09:34 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19071 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/addons/goto/events/class_DaemonEvent_reload_ldap_config.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/addons/goto/events/class_DaemonEvent_reload_ldap_config.inc b/gosa-plugins/goto/addons/goto/events/class_DaemonEvent_reload_ldap_config.inc
index 1a555b2135226f75cac46666b7ec59d707f4a05d..1eb54eb53200c9feb7758d6aefde17e28b2d11c6 100644 (file)
class DaemonEvent_reload_ldap_config extends DaemonEvent
{
- public function __construct($config,$data = array())
- {
- DaemonEvent::__construct($config,$data);
- $this->s_Menu_Name = _("Reload LDAP config");
- $this->s_Event_Name = _("Reload LDAP config");
- $this->s_Schedule_Action= "job_trigger_reload_ldap_config";
- $this->s_Trigger_Action = "gosa_trigger_reload_ldap_config";
- $this->s_Queued_Action = "reload_ldap_config";
- $this->s_Menu_Image = "images/lists/edit.png";
- $this->s_List_Image = "images/lists/edit.png";
- }
+ public function __construct($config,$data = array())
+ {
+ DaemonEvent::__construct($config,$data);
+ $this->s_Menu_Name = _("Reload LDAP config");
+ $this->s_Event_Name = _("Reload LDAP config");
+ $this->s_Schedule_Action= "job_trigger_reload_ldap_config";
+ $this->s_Trigger_Action = "gosa_trigger_reload_ldap_config";
+ $this->s_Queued_Action = "reload_ldap_config";
+ $this->s_Menu_Image = "images/lists/edit.png";
+ $this->s_List_Image = "images/lists/edit.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:
?>