inc/error.inc.php
changeset 89 61c49e66c9b0
parent 82 c255196bc447
child 110 455405c757e1
--- a/inc/error.inc.php	Wed Mar 26 10:02:45 2008 +0000
+++ b/inc/error.inc.php	Wed Mar 26 14:02:59 2008 +0000
@@ -35,6 +35,7 @@
 define("ERR_PERM_VIEW_ZONE", _("You do not have the permission to view this zone.")); 
 define("ERR_PERM_EDIT_USER", _("You do not have the permission to edit this user.")); 
 define("ERR_PERM_EDIT_PERM_TEMPL", _("You do not have the permission to edit permission templates.")); 
+define("ERR_PERM_DEL_PERM_TEMPL", _("You do not have the permission to delete permission templates.")); 
 define("ERR_PERM_ADD_USER", _("You do not have the permission to add a new user.")); 
 define("ERR_PERM_DEL_USER", _("You do not have the permission to delete this user.")); 
 
@@ -54,6 +55,7 @@
 define("ERR_USER_WRONG_CURRENT_PASS", _('You didnt enter the correct current password'));
 define("ERR_USER_MATCH_NEW_PASS", _('The two new password fields do not match'));
 define("ERR_USER_EDIT", _('Error editting user'));
+define("ERR_PERM_TEMPL_ASSIGNED", _('This template is assigned to at least one user'));
 
 /* OTHER */
 define("ERR_INV_INPUT", _('Invalid or unexpected input given.'));  
@@ -87,5 +89,6 @@
 define("SUC_RECORD_UPD", _('The record has been updated succesfully.')); 
 define("SUC_RECORD_DEL", _('The record has been deleted succesfully.')); 
 define("SUC_SM_DEL", _('The supermaster has been deleted succesfully.')); 
+define("SUC_PERM_TEMPL_DEL", _('The permission template has been deleted succesfully.')); 
 
 ?>