aboutsummaryrefslogtreecommitdiffstats
path: root/category.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - User control panel update (user side)gweltas2004-12-031-0/+3
| | | | | | | | | - User control panel update (admin side) - Add of registration link on the main page - Minor bug correction for group management git-svn-id: http://piwigo.org/svn/trunk@631 68402e56-0260-453c-a942-63ccdbb3a9ee
* favorite category accessibleplegall2004-11-301-0/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@626 68402e56-0260-453c-a942-63ccdbb3a9ee
* - global categories' options : instead of N horizontal tabs on a singleplegall2004-11-231-19/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | page, N options in the left menu (but the same backend) - categories.global_rank : new calculated field. It gives a global rank of the category among all others (updated during ordering) - category.php page : menu is generated faster thanks to categories.global_rank, recursivity becomes useless :-) - new function to display select box with a set of categories : display_select_cat_wrapper - cat_options : instead of using 1 multiselect for true/false items, using 1 multiselect for true, and another one for false. The form provides buttons with arrows to switch categories from one multiselect to another - deletion of obsolete function display_categories (working with the old template system) - deletion of obsolete functions get_user_plain_structure, create_user_structure, get_user_subcat_ids, update_structure, count_images : useless thanks to global_rank git-svn-id: http://piwigo.org/svn/trunk@614 68402e56-0260-453c-a942-63ccdbb3a9ee
* category random replaced by a more generic category : list. You give a listplegall2004-11-151-2/+2
| | | | | | | | | | | | | of element identifiers and it creates a page virtual temporary category. random.php generates a randomized list of element id visible to the user (according to permissions) and redirects to category.php. Major problem : elements order is in id ascending order, I don't know how to change order when having id1,id2,id3 and id2,id3,id1 (the display order is the same) git-svn-id: http://piwigo.org/svn/trunk@605 68402e56-0260-453c-a942-63ccdbb3a9ee
* - admin/cat_options page added : manage options for the whole categoriesplegall2004-11-131-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tree (uploadable, commentable). status and visible will be soon added - admin.php : $conf_link var to avoid lines longer than 79 characters - config.upload_available configuration parameter disappear : it's simpler to manage with cat_options - config.show_comments idem : new column categories.commentable, each categories can be commentable or not - categories.site_id becomes a nullable column : a virtual category does belong to no site - function display_select_categories has a new argument : $CSS_classes array to optionnaly assign a CSS class to each category in the select field - added informations in include/config.inc.php for setting default value of : - categories.visible - categories.status - categories.uploadable - categories.commentable - 2 new indexes images_i3(average_rate) and images_i4(hit) : optimizes best rated and most visited categories git-svn-id: http://piwigo.org/svn/trunk@602 68402e56-0260-453c-a942-63ccdbb3a9ee
* update headers to comply with GPLz0rglub2004-11-061-4/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@593 68402e56-0260-453c-a942-63ccdbb3a9ee
* - checkbox for "remember me" are only shown if authorizedz0rglub2004-10-061-0/+4
| | | | | | | | | | | | | | - simplification : each session is created with a cookie and if PhpWebGallery can't read the cookie, it uses the URI id and it will be used in the add_session_id function. - configuration parameter "auth_method" disappeared (didn't lived much...) - only one session id size possible. More comments for configuration in include/config.inc.php git-svn-id: http://piwigo.org/svn/trunk@555 68402e56-0260-453c-a942-63ccdbb3a9ee
* - deletion of session_time and session_id_size as config parameterz0rglub2004-10-021-0/+1
| | | | | | | | | | | | - new feature : "remember me" creates a long time cookie - possibility to set the default authentication method to URI or cookie - really technical parameters (session identifier size, session duration) are set in the config file and not in database + configuration.php git-svn-id: http://piwigo.org/svn/trunk@541 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Small update of category.tplgweltas2004-09-231-2/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@533 68402e56-0260-453c-a942-63ccdbb3a9ee
* - bug correction : when coming from picture.php on a picture of category.phpz0rglub2004-09-041-11/+16
| | | | | | | | | | | page superior to the first, the right page was displayed (the one including the element) but the navigation bar was always saying we were on the first page - distinguish CSS classes span.dateSelected and span.pageNumberSelected git-svn-id: http://piwigo.org/svn/trunk@514 68402e56-0260-453c-a942-63ccdbb3a9ee
* - new special category : random picturesz0rglub2004-09-011-30/+65
| | | | | | | | | | | | | - reorganisation of special categories menu : template is used only for template. A special category is presented as the template tells to do so. - favorites becomes just another special category - bug correction for best rated category : wrong MySQL query if user has forbidden categories (see include/functions_category.inc.php diff) git-svn-id: http://piwigo.org/svn/trunk@510 68402e56-0260-453c-a942-63ccdbb3a9ee
* add rating featurez0rglub2004-08-301-2/+6
| | | | git-svn-id: http://piwigo.org/svn/trunk@507 68402e56-0260-453c-a942-63ccdbb3a9ee
* menu categories managed as list itemsz0rglub2004-08-061-52/+7
| | | | git-svn-id: http://piwigo.org/svn/trunk@478 68402e56-0260-453c-a942-63ccdbb3a9ee
* use include/category_default.inc.php to display most_visited and recent_picsz0rglub2004-07-271-1/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@459 68402e56-0260-453c-a942-63ccdbb3a9ee
* display search results even if no element foundz0rglub2004-07-261-1/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@453 68402e56-0260-453c-a942-63ccdbb3a9ee
* replacement of short_period and long_period by recent_periodz0rglub2004-07-091-3/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@452 68402e56-0260-453c-a942-63ccdbb3a9ee
* thumbnails display moved to included files include/category_*.inc.phpz0rglub2004-06-251-482/+8
| | | | git-svn-id: http://piwigo.org/svn/trunk@441 68402e56-0260-453c-a942-63ccdbb3a9ee
* - new category added : recent_catsz0rglub2004-06-181-8/+81
| | | | | | | | | - calculates icon_short only once - get_icon function takes a date in YYY-MM-DD format git-svn-id: http://piwigo.org/svn/trunk@436 68402e56-0260-453c-a942-63ccdbb3a9ee
* link to recent pictures category updatedz0rglub2004-06-161-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@435 68402e56-0260-453c-a942-63ccdbb3a9ee
* replace recent category by recent_pics (to have a difference withz0rglub2004-06-161-2/+2
| | | | | | | recent_cats) git-svn-id: http://piwigo.org/svn/trunk@433 68402e56-0260-453c-a942-63ccdbb3a9ee
* - adds the number of pictures in the title of a category if categoryz0rglub2004-06-151-58/+323
| | | | | | | | | | | | | | | | | | contains pictures. - replaces "statistics" categories by "special" categories which is more generic - adds calendar category - code refactoring - change the way to know where to go to next line in thumbnails table - category informations are not displayed at the bottom of the page anymore git-svn-id: http://piwigo.org/svn/trunk@428 68402e56-0260-453c-a942-63ccdbb3a9ee
* - no more use of clickable bullet with categories in the menuz0rglub2004-05-281-36/+9
| | | | | | | | - displays only the number of pictures for categories with pictures (in the menu) git-svn-id: http://piwigo.org/svn/trunk@421 68402e56-0260-453c-a942-63ccdbb3a9ee
* redirections modification : use of a HTML refresh page instead of header PHPz0rglub2004-03-311-4/+1
| | | | | | | | function. The purpose is to avoid redirections failure when extra characters are found in included PHP files. git-svn-id: http://piwigo.org/svn/trunk@405 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Category upload admin control panelgweltas2004-03-311-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@403 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Template migrationgweltas2004-03-261-26/+10
| | | | | | | | - Admin Control Panel migration - Category management git-svn-id: http://piwigo.org/svn/trunk@394 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Template migrationgweltas2004-03-201-12/+12
| | | | | | | | - Admin Control Panel migration - Language migration git-svn-id: http://piwigo.org/svn/trunk@393 68402e56-0260-453c-a942-63ccdbb3a9ee
* - deletion of expand string in $_GET arrayz0rglub2004-03-051-67/+52
| | | | | | | | | | | - refactoring of display_category function (no tab in code, please) - displays always number of sub-categories for each category in the menu - in the menu, special style only for the opened category git-svn-id: http://piwigo.org/svn/trunk@386 68402e56-0260-453c-a942-63ccdbb3a9ee
* New default template - User sidegweltas2004-02-261-51/+96
| | | | git-svn-id: http://piwigo.org/svn/trunk@375 68402e56-0260-453c-a942-63ccdbb3a9ee
* Template migrationgweltas2004-02-221-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@369 68402e56-0260-453c-a942-63ccdbb3a9ee
* Split of langage filesgweltas2004-02-191-3/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@364 68402e56-0260-453c-a942-63ccdbb3a9ee
* header global refactoringz0rglub2004-02-111-3/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@362 68402e56-0260-453c-a942-63ccdbb3a9ee
* Migration of common.php in the include directory to fit the new coding rulesgweltas2004-02-071-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@354 68402e56-0260-453c-a942-63ccdbb3a9ee
* removing "author" from header, I'm not the only one to work on files...z0rglub2004-02-071-1/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@353 68402e56-0260-453c-a942-63ccdbb3a9ee
* correct coding headerz0rglub2004-02-071-4/+14
| | | | git-svn-id: http://piwigo.org/svn/trunk@352 68402e56-0260-453c-a942-63ccdbb3a9ee
* Template modificationgweltas2004-02-071-225/+203
| | | | | | | Split of the french language file git-svn-id: http://piwigo.org/svn/trunk@351 68402e56-0260-453c-a942-63ccdbb3a9ee
* Merge of the 1.3.1 releasegweltas2004-02-021-78/+88
| | | | | | | | | Creation of an unique include file (common.php) Creation of an unique define file (include/constants.php) Modification of the installation procedure git-svn-id: http://piwigo.org/svn/trunk@345 68402e56-0260-453c-a942-63ccdbb3a9ee
* Modifications linked to the move of admin.php to the root directory of ↵z0rglub2003-11-031-1/+1
| | | | | | PhpWebGallery git-svn-id: http://piwigo.org/svn/trunk@228 68402e56-0260-453c-a942-63ccdbb3a9ee
* All parent categories of the displayed category are expanded in the menuz0rglub2003-10-111-0/+11
| | | | git-svn-id: http://piwigo.org/svn/trunk@193 68402e56-0260-453c-a942-63ccdbb3a9ee
* Enable the use of another $lang item for "login" link in the menu.z0rglub2003-10-051-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@175 68402e56-0260-453c-a942-63ccdbb3a9ee
* Adding a page for non admin to see last users commentsz0rglub2003-10-041-0/+6
| | | | git-svn-id: http://piwigo.org/svn/trunk@166 68402e56-0260-453c-a942-63ccdbb3a9ee
* If informations (filesize,width,height) are not given in the database aboutz0rglub2003-09-201-5/+1
| | | | | | | a picture, they can be found with the file itself git-svn-id: http://piwigo.org/svn/trunk@148 68402e56-0260-453c-a942-63ccdbb3a9ee
* - A category can have its representative picturez0rglub2003-09-191-7/+17
| | | | | | | | - Use the plain structure instead of the get_cat_info for retrieving the last date of a category git-svn-id: http://piwigo.org/svn/trunk@134 68402e56-0260-453c-a942-63ccdbb3a9ee
* Internationalization of the "comments" for the number of comments under eachz0rglub2003-09-171-1/+2
| | | | | | | picture. git-svn-id: http://piwigo.org/svn/trunk@128 68402e56-0260-453c-a942-63ccdbb3a9ee
* When we use thumbnails for exploring sub-categories, the categories in thez0rglub2003-09-151-0/+4
| | | | | | | left menu open with a difference of 1 page git-svn-id: http://piwigo.org/svn/trunk@120 68402e56-0260-453c-a942-63ccdbb3a9ee
* Correcting a bug in special categories (favorites, most seen, mostz0rglub2003-09-051-4/+5
| | | | | | | | recent... non numeric categories) : when a picture is linked to more than one category, it's only displayed once. git-svn-id: http://piwigo.org/svn/trunk@64 68402e56-0260-453c-a942-63ccdbb3a9ee
* Multi categories for the same picturez0rglub2003-08-301-31/+18
| | | | git-svn-id: http://piwigo.org/svn/trunk@61 68402e56-0260-453c-a942-63ccdbb3a9ee
* improve the header of each filez0rglub2003-08-241-2/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@57 68402e56-0260-453c-a942-63ccdbb3a9ee
* optional cookie identificationz0rglub2003-07-271-1/+12
| | | | git-svn-id: http://piwigo.org/svn/trunk@45 68402e56-0260-453c-a942-63ccdbb3a9ee
* Adding support of independant uploadable categoriesz0rglub2003-07-251-1/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@38 68402e56-0260-453c-a942-63ccdbb3a9ee
* Deleting debug messagesz0rglub2003-07-251-10/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@37 68402e56-0260-453c-a942-63ccdbb3a9ee