Реструктура стилей, страница логина, уведомления
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php // All existing errors
|
||||
<?php
|
||||
// All existing errors
|
||||
|
||||
|
||||
|
||||
@@ -23,6 +24,7 @@ const E_AUT_ALRLOGIN = 301; // User is already logged in
|
||||
const E_AUT_REGCLOSED = 302; // Registrations are closed
|
||||
const E_AUT_PWD2WEAK = 303; // Password is too weak
|
||||
const E_AUT_NOTAUTHED = 304; // Not authenticated
|
||||
const E_AUT_WRONGCREDS = 305; // User with that credentials does not exist
|
||||
// Access errors
|
||||
const E_ACS_PERMDENIED = 401; // Permission to object denied
|
||||
const E_ACS_INSUFROLE = 402; // Insufficient role
|
||||
@@ -55,6 +57,7 @@ $Errors_Enum = array(
|
||||
array("aut.regclosed", E_AUT_REGCLOSED, "registrations are closed"),
|
||||
array("aut.pwd2weak", E_AUT_PWD2WEAK, "password is too weak"),
|
||||
array("aut.notauthed", E_AUT_NOTAUTHED, "not authenticated"),
|
||||
array("aut.wrongcreds", E_AUT_WRONGCREDS, "no such user name and/or password"),
|
||||
// Access errors
|
||||
array("acs.permdenied", E_ACS_PERMDENIED, "permission denied"),
|
||||
array("acs.insufrole", E_ACS_INSUFROLE, "insufficient role"),
|
||||
|
||||
Reference in New Issue
Block a user