diff options
author | rub <rub@piwigo.org> | 2008-05-02 21:56:21 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2008-05-02 21:56:21 +0000 |
commit | 5436a351ef6dd685483f022af6656bbf8b797cb6 (patch) | |
tree | 8d963ace1e57b404726500753111649d144527c6 /include/constants.php | |
parent | 7942dccf9b682d359a89636528e96af5b38327da (diff) |
Resolved issue 0000823: Enhance upload functionalities
First commit, others will be follow.
Not hesitate to change my translations.
Add upload configuration tabsheet (move and add configuration)
Change and add define for access level
Can show upload link every time
Can restrict access upload.class.php
Can choice category on upload page
Add upload class not use for the moment
Review quickly and temporary style of upload.tpl
git-svn-id: http://piwigo.org/svn/trunk@2325 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/constants.php')
-rw-r--r-- | include/constants.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/constants.php b/include/constants.php index 814d18f3e..6b05d683a 100644 --- a/include/constants.php +++ b/include/constants.php @@ -36,11 +36,12 @@ define('CRITICAL_MESSAGE', 203); define('CRITICAL_ERROR', 204); // Access codes -define('ACCESS_NONE', 0); +define('ACCESS_FREE', 0); define('ACCESS_GUEST', 1); define('ACCESS_CLASSIC', 2); define('ACCESS_ADMINISTRATOR', 3); define('ACCESS_WEBMASTER', 4); +define('ACCESS_CLOSED', 5); // Table names if (!defined('CATEGORIES_TABLE')) |