aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_category.inc.php (unfollow)
Commit message (Collapse)AuthorFilesLines
2004-11-15category random replaced by a more generic category : list. You give a listplegall1-21/+21
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
2004-11-15- since categories.site_id can be NULL (for virtual categories), virtualplegall1-24/+63
categories could not be displayed because of a join query with sites table - get_cat_info function refactored - new function get_subcat_ids based on regular expression query git-svn-id: http://piwigo.org/svn/trunk@603 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-11-13- admin/cat_options page added : manage options for the whole categoriesplegall1-3/+16
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
2004-11-06update headers to comply with GPLz0rglub1-4/+4
git-svn-id: http://piwigo.org/svn/trunk@593 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-11-01- synchronization interface redesigned : a form lets user choose option ofz0rglub1-20/+62
dirs/files/metadata sync on all categories or a defined one (including subcategories) - database sync is only available through update.php git-svn-id: http://piwigo.org/svn/trunk@589 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-10-30- function mysql_query replaced by pwg_query : the same with debuggingz0rglub1-17/+21
features - by default, DEBUG is set to 0 (off) git-svn-id: http://piwigo.org/svn/trunk@587 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-10-23- refactoring of comments.phpz0rglub1-9/+11
- creation of function get_thumbnail_src used everywhere a thumbnail must be displayed - creation of function parse_comment_content (used in comments.php and picture.php) - concerning undefined index on arrays retrieved in database, instead of testing possibly unset values, use of @ operator (smarter...) - add pre tag in default.css stylesheet for debugging purpose (need to have left aligned text) git-svn-id: http://piwigo.org/svn/trunk@579 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-09-01- new special category : random picturesz0rglub1-3/+24
- 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
2004-08-30add rating featurez0rglub1-0/+38
git-svn-id: http://piwigo.org/svn/trunk@507 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-29deletion of a debug instructionz0rglub1-1/+0
git-svn-id: http://piwigo.org/svn/trunk@503 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-29search in sub-categories option is availablez0rglub1-4/+36
git-svn-id: http://piwigo.org/svn/trunk@502 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-29Call to get_plain_structure() replaced by a call to get_user_plain_structure()gweltas1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@499 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-26possibility to choose the date field you want to use for calendar categoryz0rglub1-5/+3
(date_available or date_creation). git-svn-id: http://piwigo.org/svn/trunk@497 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-25- Deletion of obsolete functions in the administrative partgweltas1-2/+2
- Repair of virtual category management git-svn-id: http://piwigo.org/svn/trunk@496 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-21add in comment another possibility for counting user total number ofz0rglub1-1/+12
viewable elements (counting only once pictures linked to several categories) git-svn-id: http://piwigo.org/svn/trunk@490 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-07-27replacement of short_period with recent_periodz0rglub1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@460 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-07-26use new search URL variablez0rglub1-34/+115
git-svn-id: http://piwigo.org/svn/trunk@456 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-06-25- code refactoringz0rglub1-11/+28
- for calendar category, adds the support of the day request (displays the list of category for this day) git-svn-id: http://piwigo.org/svn/trunk@442 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-06-18- new category added : recent_catsz0rglub1-1/+10
git-svn-id: http://piwigo.org/svn/trunk@437 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-06-16replace recent category by recent_pics (to have a difference withz0rglub1-4/+4
recent_cats) git-svn-id: http://piwigo.org/svn/trunk@434 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-06-15- adds calendar categoryz0rglub1-8/+48
git-svn-id: http://piwigo.org/svn/trunk@429 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-05-28table user_category droppedz0rglub1-30/+60
git-svn-id: http://piwigo.org/svn/trunk@423 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-03-26deletion empty line out of PHP boundsz0rglub1-1/+0
git-svn-id: http://piwigo.org/svn/trunk@395 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-03-26- Template migrationgweltas1-29/+13
- Admin Control Panel migration - Category management git-svn-id: http://piwigo.org/svn/trunk@394 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-03-05deletion of expand string in $_GET arrayz0rglub1-24/+2
git-svn-id: http://piwigo.org/svn/trunk@387 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-02-11header global refactoringz0rglub1-18/+26
git-svn-id: http://piwigo.org/svn/trunk@362 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-02-02Merge of the 1.3.1 releasegweltas1-184/+171
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
2003-09-19A category can have its representative picturez0rglub1-1/+2
git-svn-id: http://piwigo.org/svn/trunk@133 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-09-09Removing debug codez0rglub1-1/+0
git-svn-id: http://piwigo.org/svn/trunk@83 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-09-06- Creation of plain structure if not existing in several functionsz0rglub1-5/+29
- Change in SQL request about restrictions : using "AND category_id NOT IN (x,y,z)" instead of "AND category_id != x AND category_id != y AND category_id != z" - For search and most recent category, using "COUNT(DISTINCT(id))" instead of "COUNT(*)" and using JOIN with image_category table git-svn-id: http://piwigo.org/svn/trunk@67 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-09-05Correcting a bug in special categories (favorites, most seen, mostz0rglub1-2/+2
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
2003-08-30Multi categories for the same picturez0rglub1-36/+59
git-svn-id: http://piwigo.org/svn/trunk@61 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-08-24improve the header of each filez0rglub1-2/+4
git-svn-id: http://piwigo.org/svn/trunk@57 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-07-25Adding support of independant uploadable categoriesz0rglub1-8/+10
git-svn-id: http://piwigo.org/svn/trunk@38 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-07-23Support of keywords for pictures. They are used in the searchz0rglub1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@33 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-07-21*** empty log message ***z0rglub1-186/+195
git-svn-id: http://piwigo.org/svn/trunk@26 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-07-01*** empty log message ***z0rglub1-12/+10
git-svn-id: http://piwigo.org/svn/trunk@21 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-05-27*** empty log message ***z0rglub1-0/+7
git-svn-id: http://piwigo.org/svn/trunk@19 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-05-25search improvedz0rglub1-30/+46
git-svn-id: http://piwigo.org/svn/trunk@17 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-05-21*** empty log message ***z0rglub1-23/+124
git-svn-id: http://piwigo.org/svn/trunk@16 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-05-17*** empty log message ***z0rglub1-25/+24
git-svn-id: http://piwigo.org/svn/trunk@13 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-05-132003.05.13 user_add and user_modify addedz0rglub1-2/+2
git-svn-id: http://piwigo.org/svn/trunk@9 68402e56-0260-453c-a942-63ccdbb3a9ee
2003-05-09Initial revisionz0rglub1-0/+481
git-svn-id: http://piwigo.org/svn/trunk@2 68402e56-0260-453c-a942-63ccdbb3a9ee