SourceForge.net LogoPHPGallue
[ class tree: libgallue ] [ index: libgallue ] [ all elements ]

Procedural File: defines.inc.php

Source Location: /libgallue/defines.inc.php



Page Details:








GAL_IMG_BIG [line 48]

GAL_IMG_BIG = 4
instanceID of a GALInstance containing the big image for large screens.


[ Top ]



GAL_IMG_GALLERY [line 40]

GAL_IMG_GALLERY = 2
instanceID of a GALInstance containing the image for gallery display.

It is a bit bigger than a thumbnail, but also for displaying an overview.



[ Top ]



GAL_IMG_MEDIUM [line 44]

GAL_IMG_MEDIUM = 3
instanceID of a GALInstance containing the medium sized image for smaller screens.


[ Top ]



GAL_IMG_RAW [line 31]

GAL_IMG_RAW = 0
instanceID of a GALInstance containing the raw (uploaded) data.


[ Top ]



GAL_IMG_THUMB [line 35]

GAL_IMG_THUMB = 1
instanceID of a GALInstance containing the thumbnail.


[ Top ]



GAL_IMG_USER [line 53]

GAL_IMG_USER = 5
Under limit for instanceID of a GALInstances containing an image with user defined resolution.


[ Top ]



GAL_KEY_LIFETIME [line 144]

GAL_KEY_LIFETIME = 2*24*60*60
The maximum amount of time a login key can be used.

Taking over a session doesn't enable to abuse the gallery forever - as long as it isn't an administrator's session...



[ Top ]



GAL_KEY_MAX_IDLE [line 149]

GAL_KEY_MAX_IDLE = 30*60
The key is invalidated after inactivity for this amount of time.


[ Top ]



GAL_LANG [line 73]

GAL_LANG = GAL_LANG_DE
Language of user interface and error messages.



Tags:

see:  GAL_LANG_FR
see:  GAL_LANG_EN
see:  GAL_LANG_DE

[ Top ]



GAL_LANG_DE [line 58]

GAL_LANG_DE = "de"
German language


[ Top ]



GAL_LANG_EN [line 62]

GAL_LANG_EN = "en"
English language


[ Top ]



GAL_LANG_FR [line 66]

GAL_LANG_FR = "fr"
French language


[ Top ]



GAL_PERMISSION_LOCKED [line 118]

GAL_PERMISSION_LOCKED = 0
permission property of locked items.

Only administrators can change or view locked items.



[ Top ]



GAL_PERMISSION_PRIVATE [line 123]

GAL_PERMISSION_PRIVATE = 10
permission property of private items.

Only administrators and the owner himself can change or view locked items.



[ Top ]



GAL_PERMISSION_PROTECTED [line 130]

GAL_PERMISSION_PROTECTED = 20
permission property of items only visible to registered users.

Every user whose rank is higher or equal GAL_RANK_USER can view protected items. The owner himself and operators can change/delete it.



[ Top ]



GAL_PERMISSION_PUBLIC [line 137]

GAL_PERMISSION_PUBLIC = 30
permission property of items visible to the public.

Every user whose rank is higher or equal GAL_RANK_GUEST can view protected items. The owner himself and operators can change/delete it.



[ Top ]



GAL_RANK_ADMIN [line 112]

GAL_RANK_ADMIN = 50
rank property of a GALUser with full administrative privileges.

An administrator can perform any task, especially create and edit users, view/change/delete every single item inside the gallery and change the configuration file (not implemented yet).



[ Top ]



GAL_RANK_AUTHOR [line 97]

GAL_RANK_AUTHOR = 30
rank property of a GALUser that can add own items.

The user has got the privileges of an user and can additionally add personal items (images, films, ..). This rank enables users to use all non-administrative features of the gallery.



[ Top ]



GAL_RANK_GUEST [line 84]

GAL_RANK_GUEST = 10
rank property of a guest GALUser.

The user can view public items and vote.



[ Top ]



GAL_RANK_LOCKED [line 79]

GAL_RANK_LOCKED = 0
rank property of a locked GALUser.

No access at all is granted.



[ Top ]



GAL_RANK_OPERATOR [line 106]

GAL_RANK_OPERATOR = 40
rank property of a GALUser with some privileges to operate the gallery.

The user has got the privileges of an author and can aditionally perform some administrative tasks like changing/removing public and protected items (for example illegal/obscene content). He cannot view or change items marked as private belonging to other users and he cannot create or change other users.



[ Top ]



GAL_RANK_USER [line 90]

GAL_RANK_USER = 20
rank property of a registered GALUser.

The user can view public and protected items, vote and add user comments.



[ Top ]



GAL_USER_DEFAULTQUOTA [line 156]

GAL_USER_DEFAULTQUOTA = 104857600
Default quota of a new user.

Quota support is not implemented yet




Tags:

todo:  Add quota support.

[ Top ]




Documentation generated on Wed, 16 Aug 2006 15:35:38 +0200 by phpDocumentor 1.3.0RC6