inc/error.inc.php
changeset 89 61c49e66c9b0
parent 82 c255196bc447
child 110 455405c757e1
equal deleted inserted replaced
88:fa948cc3727e 89:61c49e66c9b0
    33 define("ERR_PERM_DEL_ZONE", _("You do not have the permission to delete a zone.")); 
    33 define("ERR_PERM_DEL_ZONE", _("You do not have the permission to delete a zone.")); 
    34 define("ERR_PERM_DEL_SM", _("You do not have the permission to delete a supermaster.")); 
    34 define("ERR_PERM_DEL_SM", _("You do not have the permission to delete a supermaster.")); 
    35 define("ERR_PERM_VIEW_ZONE", _("You do not have the permission to view this zone.")); 
    35 define("ERR_PERM_VIEW_ZONE", _("You do not have the permission to view this zone.")); 
    36 define("ERR_PERM_EDIT_USER", _("You do not have the permission to edit this user.")); 
    36 define("ERR_PERM_EDIT_USER", _("You do not have the permission to edit this user.")); 
    37 define("ERR_PERM_EDIT_PERM_TEMPL", _("You do not have the permission to edit permission templates.")); 
    37 define("ERR_PERM_EDIT_PERM_TEMPL", _("You do not have the permission to edit permission templates.")); 
       
    38 define("ERR_PERM_DEL_PERM_TEMPL", _("You do not have the permission to delete permission templates.")); 
    38 define("ERR_PERM_ADD_USER", _("You do not have the permission to add a new user.")); 
    39 define("ERR_PERM_ADD_USER", _("You do not have the permission to add a new user.")); 
    39 define("ERR_PERM_DEL_USER", _("You do not have the permission to delete this user.")); 
    40 define("ERR_PERM_DEL_USER", _("You do not have the permission to delete this user.")); 
    40 
    41 
    41 /* RECORD STUFF */
    42 /* RECORD STUFF */
    42 define("ERR_RECORD_EMPTY_CONTENT", _('Your content field is empty'));
    43 define("ERR_RECORD_EMPTY_CONTENT", _('Your content field is empty'));
    52 define("ERR_USER_EXIST", _('Username exist already, please choose another one'));
    53 define("ERR_USER_EXIST", _('Username exist already, please choose another one'));
    53 define("ERR_USER_NOT_EXIST", _('User doesnt exist'));
    54 define("ERR_USER_NOT_EXIST", _('User doesnt exist'));
    54 define("ERR_USER_WRONG_CURRENT_PASS", _('You didnt enter the correct current password'));
    55 define("ERR_USER_WRONG_CURRENT_PASS", _('You didnt enter the correct current password'));
    55 define("ERR_USER_MATCH_NEW_PASS", _('The two new password fields do not match'));
    56 define("ERR_USER_MATCH_NEW_PASS", _('The two new password fields do not match'));
    56 define("ERR_USER_EDIT", _('Error editting user'));
    57 define("ERR_USER_EDIT", _('Error editting user'));
       
    58 define("ERR_PERM_TEMPL_ASSIGNED", _('This template is assigned to at least one user'));
    57 
    59 
    58 /* OTHER */
    60 /* OTHER */
    59 define("ERR_INV_INPUT", _('Invalid or unexpected input given.'));  
    61 define("ERR_INV_INPUT", _('Invalid or unexpected input given.'));  
    60 define("ERR_INV_ARG", _('Invalid argument(s) given to function %s'));
    62 define("ERR_INV_ARG", _('Invalid argument(s) given to function %s'));
    61 define("ERR_INV_ARGC", _('Invalid argument(s) given to function %s %s'));
    63 define("ERR_INV_ARGC", _('Invalid argument(s) given to function %s %s'));
    85 define("SUC_USER_ADD", _('The user has been created succesfully.')); 
    87 define("SUC_USER_ADD", _('The user has been created succesfully.')); 
    86 define("SUC_USER_DEL", _('The user has been deleted succesfully.')); 
    88 define("SUC_USER_DEL", _('The user has been deleted succesfully.')); 
    87 define("SUC_RECORD_UPD", _('The record has been updated succesfully.')); 
    89 define("SUC_RECORD_UPD", _('The record has been updated succesfully.')); 
    88 define("SUC_RECORD_DEL", _('The record has been deleted succesfully.')); 
    90 define("SUC_RECORD_DEL", _('The record has been deleted succesfully.')); 
    89 define("SUC_SM_DEL", _('The supermaster has been deleted succesfully.')); 
    91 define("SUC_SM_DEL", _('The supermaster has been deleted succesfully.')); 
       
    92 define("SUC_PERM_TEMPL_DEL", _('The permission template has been deleted succesfully.')); 
    90 
    93 
    91 ?>
    94 ?>