X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-plugins%2Fgoto%2Faddons%2Fgoto%2Fclass_gotoLogView.inc;h=12937512cab55acd559ab13410dc3a005e42788a;hb=07ef3ed2b52ea1443f532ccc7b0922325d2a17e0;hp=d9e2703c1a9838416b7131a2e24fff17343c577a;hpb=a749a4b5efaec8108efd4534d62f8ea49318232d;p=gosa.git diff --git a/gosa-plugins/goto/addons/goto/class_gotoLogView.inc b/gosa-plugins/goto/addons/goto/class_gotoLogView.inc index d9e2703c1..12937512c 100644 --- a/gosa-plugins/goto/addons/goto/class_gotoLogView.inc +++ b/gosa-plugins/goto/addons/goto/class_gotoLogView.inc @@ -53,7 +53,7 @@ class gotoLogView extends plugin /* Query for log files */ $res = $this->o_queue->get_log_info_for_mac($this->mac); - if($this->o_queue->is_error()){ + if($this->o_queue->is_configured() && $this->o_queue->is_error()){ msg_dialog::display(_("Error"), $this->o_queue->get_error(), ERROR_DIALOG); } @@ -71,6 +71,8 @@ class gotoLogView extends plugin function execute() { + plugin::execute(); + $smarty = get_smarty(); $smarty->assign("logs",$this->logs); $smarty->assign("logs_available", isset($this->logs[$this->mac])); @@ -171,7 +173,7 @@ class gotoLogView extends plugin function get_log($mac,$date,$file) { $res = $this->o_queue->get_log_file($mac,$date,$file); - if($this->o_queue->is_error()){ + if($this->o_queue->is_configured() && $this->o_queue->is_error()){ msg_dialog::display(_("Error"), $this->o_queue->get_error(), ERROR_DIALOG); } $res = nl2br(htmlentities($res)); @@ -200,7 +202,7 @@ class gotoLogView extends plugin { return (array( "plShortName" => _("Log view"), - "plDescription" => _("Goto log view"), + "plDescription" => _("GOto log view"), "plSelfModify" => FALSE, "plDepends" => array(), "plPriority" => 30,