summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dccf930)
raw | patch | inline | side by side (parent: dccf930)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 14 Mar 2008 13:09:40 +0000 (13:09 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 14 Mar 2008 13:09:40 +0000 (13:09 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9842 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc | patch | blob | history | |
gosa-plugins/gofon/gofon/macro/class_gofonMacroParameters.inc | patch | blob | history |
diff --git a/gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc b/gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc
index 5a4ff0ea996be7e55b7e3db5b4cbbff2f635df1d..aa51a7ee836200c747158643c566baa05d8bfd7b 100644 (file)
$this->macrotabs= NULL;
} else {
- msg_dialog::display(_("Permission error"), _("You have not permission to delete this entry!"), ERROR_DIALOG);
+ msg_dialog::display(_("Permission error"),msgPool::permDelete(), ERROR_DIALOG);
}
/* Remove lock file after successfull deletion */
/* Obviously the user isn't allowed to delete. Show message and
clean session. */
- msg_dialog::display(_("Permission error"), _("You have not permission to delete this entry!"), ERROR_DIALOG);
+ msg_dialog::display(_("Permission error"), msgPool::permDelete(), ERROR_DIALOG);
}
}
} else {
/* Normally this shouldn't be reached, send some extra
logs to notify the administrator */
- msg_dialog::display(_("Permission error"), _("You have not permission to delete this entry!"), ERROR_DIALOG);
+ msg_dialog::display(_("Permission error"), msgPool::permDelete(), ERROR_DIALOG);
new log("security","gofonmacro/".get_class($this),$this->dn,array(),"Tried to trick deletion.");
}
/* Remove lock file after successfull deletion */
diff --git a/gosa-plugins/gofon/gofon/macro/class_gofonMacroParameters.inc b/gosa-plugins/gofon/gofon/macro/class_gofonMacroParameters.inc
index 97d8a822b35acf7c37c55384946b0319e06bbef9..21f65321876afd4684ad32aafa459052af147b56 100644 (file)
/* Do we represent a valid group? */
if (!$this->is_account && $this->parent === NULL){
$display= "<img alt=\"\" src=\"images/stop.png\" align=\"middle\"> <b>".
- _("This 'dn' is no phone macro.")."</b>";
+ msgPool::noValidExtension(_("Phone macro"))."</b>";
return ($display);
}