X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Finclude%2Fclass_log.inc;h=13a128a74e0d8dfff262ed0f6976447e872aaae9;hb=6f437b3335f1b7c24f52c7c2218b04e3bdea690c;hp=68210a88781719ca3a2ed6c4397e593e7503bb5a;hpb=bd3a64a768d3876b0688c77cc07e144d7ebf4f44;p=gosa.git diff --git a/gosa-core/include/class_log.inc b/gosa-core/include/class_log.inc index 68210a887..13a128a74 100644 --- a/gosa-core/include/class_log.inc +++ b/gosa-core/include/class_log.inc @@ -42,7 +42,7 @@ class log { \sa log() */ - function __construct($action,$objecttype,$object,$changes_array = array(),$result = "") + function log($action,$objecttype,$object,$changes_array = array(),$result = "") { if(!is_array($changes_array)){ trigger_error("log(string,string,string,array(),bool). Forth parameter must be an array."); @@ -99,11 +99,11 @@ class log { $msgs = array(); if(!isset($entry['action']) || !in_array($entry['action'],array("modify","create","remove","copy","snapshot","view","security","debug"))){ - $msgs[] = sprintf(_("Invalid option '%s' specified!"), $entry['action']); + $msgs[] = sprintf(_("Invalid option %s specified!"), bold($entry['action'])); } if(!isset($entry['objecttype']) || empty($entry['objecttype'])){ - $msgs[] = _("Specified objectType is empty or invalid!"); + $msgs[] = _("Specified 'objectType' is empty or invalid!"); } return($msgs);