aboutsummaryrefslogtreecommitdiffstats
path: root/admin/cat_list.php (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-09-14Wigo becomes "goto".vdigital1-1/+1
Admin tpl files are moved. git-svn-id: http://piwigo.org/svn/trunk@2530 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-07-12Merge from branch-1_7 (r2432).patdenice1-1/+6
Add triggers for category name (render_category_name). Add strip_tags for ALT attribute on category thumbnail. git-svn-id: http://piwigo.org/svn/trunk@2433 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-05-01- move #categories.date_last and nb_images to #user_cache_categoriesrvelices1-22/+11
git-svn-id: http://piwigo.org/svn/trunk@2324 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-04-20- merged function ordering() with update_global_rank() and also optimized ↵rvelices1-5/+4
the queries git-svn-id: http://piwigo.org/svn/trunk@2306 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-04-05Bug fixed: as rvelices notified me by email, my header replacement script wasplegall1-24/+0
bugged (r2297 was repeating new and old header). By the way, I've also removed the replacement keywords. We were using them because it was a common usage with CVS but it is advised not to use them with Subversion. Personnaly, it is a problem when I search differences between 2 Piwigo installations outside Subversion. git-svn-id: http://piwigo.org/svn/trunk@2299 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-04-04Modification: new header on PHP files, PhpWebGallery renamed Piwigo.plegall1-0/+21
git-svn-id: http://piwigo.org/svn/trunk@2297 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-02-28- migrate many templates to smartyrvelices1-50/+13
git-svn-id: http://piwigo.org/svn/trunk@2223 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-01-30Replace old use of $lang by l10n function.rub1-9/+9
git-svn-id: http://piwigo.org/svn/trunk@2201 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-28feature 657: permalinks for categoriesrvelices1-27/+1
git-svn-id: http://piwigo.org/svn/trunk@1866 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-27- refactoring page['category'] before 1.7 releaservelices1-9/+5
page['category'] is not an id anymore, but an associative array of category info all of page['cat_xxx'] or page['uppercats'] merged into one simplifies calls to make_index_url give plugins a clean start for page variables for version 1.7 git-svn-id: http://piwigo.org/svn/trunk@1861 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-25Fix for 0000629: Adding display differences between physical and virtual ↵vdigital1-0/+6
categories (Icon is displayed for people who have deficient vision). git-svn-id: http://piwigo.org/svn/trunk@1755 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-19Issue 0000615: End of page replaced by icon/page_end.png Only if + than 9 ↵vdigital1-1/+1
categories Bug removed for new galleries... git-svn-id: http://piwigo.org/svn/trunk@1738 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-18Issue 0000615: End of page replaced by icon/page_end.png Only if + than 9 ↵vdigital1-0/+5
categories - footer.tpl is changed for PNG Transparency with IE - Fine pwg_footer.png git-svn-id: http://piwigo.org/svn/trunk@1734 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-08-09fix bug 510: missing permission linknikrou1-1/+1
svn merge -r1527:1528 from branch 1.6 into trunk git-svn-id: http://piwigo.org/svn/trunk@1529 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-13merge -r1346:1347 from branch 1.6 to trunk (bug 402 fixed).plegall1-3/+5
git-svn-id: http://piwigo.org/svn/trunk@1348 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-20merge -r1223:1224 from branch 1.6 to trunk (bug 332 fixed)plegall1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@1225 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-06improvement: urls for tags can contain now only the tag or the id and tagrvelices1-9/+10
improvement: urls for category can be now id and category names (instead of only id) improvement: added 2 indexes (#image_tag.tag_id and #tags.url_name) improvement: identification, register, search pages automatically set focus on first form input improvement: focus, nofocus css class now valid for all forms fix: category comment is tag stripped in category_subcats.inc.php (otherwise issues with html/scripts inside category comment) git-svn-id: http://piwigo.org/svn/trunk@1131 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-27improvement issue 0000127&0000301:rub1-2/+2
o Fix Missing Adviser tests o Improve pwg_high , set to is_the_guest default value for enabled_high git-svn-id: http://piwigo.org/svn/trunk@1106 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-15new: cleaner URL. Instead of category.php?cat=search&search=123&start=42,plegall1-6/+11
you now have category.php?/search/123/start-42. Functions make_index_url and make_picture_url build these new URLs. Functions duplicate_picture_url and duplicate_index_url provide shortcuts to URL creation. The current main page page is still category.php but this can be modified easily in make_index_url function. In this first version, no backward compatibility. Calendar definition in URL must be discussed with rvelices. improvement: picture.php redesigned. First actions like "set as representative" or "delete a comment" which all lead to a redirection. Then the page (the big mess) and includes of new sub pages to manage specific parts of the page (metadata, user comments, rates). new: with the cleaner URL comes a new terminology. $page['cat'] doesn't exist anymore. $page['section'] is among 'categories', 'tags' (TODO), 'list', 'most_seen'... And sub parameters are set : $page['category'] if $page['section'] is "categories". See URL analyse in include/section_init.inc.php for details. git-svn-id: http://piwigo.org/svn/trunk@1082 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-09Step 2 improvement issue 0000301:rub1-1/+7
o Add and use Functions Check of status o Restricted Access for user generic git-svn-id: http://piwigo.org/svn/trunk@1072 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-06request 302: order categories alphanumericallyplegall1-0/+30
alphanumerically sort of language keys in admin.lang.php git-svn-id: http://piwigo.org/svn/trunk@1066 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-04new feature: source/destination links between categories. Will we keep thisplegall1-96/+15
feature? Code is complicated and very few people will understand how it works... modification: #images.storage_category_id replaced by #image_category.is_storage improvement: many code refactoring to improve readibility improvement: virtual category creation code was moved to a dedicated function in order to be called from admin/cat_list.php and admin/cat_modify.php (create a new destination category) git-svn-id: http://piwigo.org/svn/trunk@1064 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-01-15Improve security of sessions: nikrou1-13/+8
- use only cookies to store session id on client side - use default php session system with database handler to store sessions on server side git-svn-id: http://piwigo.org/svn/trunk@1004 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-12-03improve template : split theme from template itselfchrisaga1-2/+3
rest of the job : template (yoga), themes (clear dark), and php to handle them git-svn-id: http://piwigo.org/svn/trunk@960 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-09-18- bug 111 fixed: "Can't add virtual category when cookieplegall1-1/+1
disabled". Correction reported from branch 1.4. - bug 109 fixed : "disabled "best rated" menu item when rating is not enabled". Correction reported from branch 1.4. - bug 95 fixed : "default maxwidth and maxheight not registered". Correction reported from branch 1.4. git-svn-id: http://piwigo.org/svn/trunk@869 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-09-17- translation: common and admin strings translated in french from englishplegall1-2/+0
files git-svn-id: http://piwigo.org/svn/trunk@863 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-19- improvement : standardization of categories navigation bar on top ofplegall1-6/+9
administration screen element_set_(global|unit), cat_modify, cat_list, cat_perm. - new : direct link to admin/cat_modify from category.php. git-svn-id: http://piwigo.org/svn/trunk@834 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-06-30- categories management : new display with icon for actions (delete,plegall1-189/+95
sub-categories, elements, edit, jump to, permissions) - categories management : semantic HTML layout (using common lists) - categories management : new way to order categories of the same level : a text field let the admin reorder all categories at once. git-svn-id: http://piwigo.org/svn/trunk@798 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-06-11- errors and informations boxes : management centralized in admin.php,plegall1-25/+4
$errors and $infos arrays replaced by $page['errors'] and $page['infos'], special management for admin/update.php (more complex management) git-svn-id: http://piwigo.org/svn/trunk@792 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-04-16- elements batch management : element_set page becomes the frontend toplegall1-1/+1
element_set_global and element_set_unit, infos_images (after a long time of use) become deprecated : the more powerful element_set is used instead. Consequently, batch management concerns caddie but also "normal categories". - refactoring code in admin.php to include the sub-file (clearer) - caddie : function fill_caddie replaces the code in category.php and can be used in admin/element_set.php - caddie : caddie table is added in delete_elements function git-svn-id: http://piwigo.org/svn/trunk@764 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-02-07- bug fixed : can't find a new category id for virtual category creation ifplegall1-1/+1
no existing category. git-svn-id: http://piwigo.org/svn/trunk@728 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-01-07all headers adapted to new year 2005, happy new yearplegall1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@675 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-27- admin/update : filesystem synchronization process completelyplegall1-31/+21
rewritten. How to speed up sync ? by avoiding recursivity ! - admin/update : option to display verbose information details - admin/update : option to simulate only. No database insert, delete or update will be made - bug fixed : in admin/cat_list, if you delete a virtual category, you may create a gap in the rank list. This gap will generate errors when trying to move a category on this gap. Fixed by calling ordering and update_global_rank at category deletion. - admin/cat_list, only one query to insert a new virtual category (no need of a second query to update uppercats and global_rank) - for a given category, even if empty, the representing element must not be the one of a forbidden category for the current user - generation time optionnaly displayed on the bottom of each page becomes more price : number of SQL queries and SQL time added. git-svn-id: http://piwigo.org/svn/trunk@659 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-18- bug fixed : in admin/cat_list, next_rank cant' be calculted and query toplegall1-9/+23
count sub-categories per sub-categories became false if no sub-categories - virtual association come back in admin/infos_images (not only in admin/picture_modify) - check_favorites function in admin section becomes check_user_favorites in public section : favorites are checked when user tries to display his favorites. Function was optimized. - in function update_category, wrap of long queries due to many categories to update at the same time - typo fixed in description of paginate_pages_around configuration parameter - bug fixed in new navigation bar : no separation pipe was displayed between next and last when the page displayed was the last - sessions.expiration changed of type from int to datetime (a lot easier to read) - sessions.ip removed : IP address is no longer used to verify session - $lang['cat_options'] was missing in en_UK.iso-8859-1 - typo fixed in language/en_UK.iso-8859-1/admin.lang.php on editcat_lock_info language item git-svn-id: http://piwigo.org/svn/trunk@647 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-12- in admin menu, status option for categories is not "permissions" butplegall1-49/+86
"private or public" choice = different language item - get_cat_display_name changed : use $conf['level_separator'] to unify presentation - default values for category properties commentable, uploadable, status and visible (set in include/config.inc.php) used for category creation (admin/update, admin/remote_site, admin/cat_list) - use mass_inserts in admin/update for inserting new categories - only one query for counting the number of sub categories in admin/cat_list git-svn-id: http://piwigo.org/svn/trunk@642 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-05- on picture.php, related categories under the element are displayed inplegall1-15/+38
global_rank order - when adding a new virtual category, initializes its global_rank - bug fixed : in admin/cat_list, false next rank - in admin/cat_modify, complete directory is calculated only if category is not virtual - admin/picture_modify rewritten : graphically nearer to admin/cat_modify, virtual associations are back - update_category partially rewritten : take an array of categories in parameter, becomes optionnaly recursive, use the set_random_representant function, set a random representant for categories with elements and no representant - bug fixed : on a search results screen, elements belonging to more than 1 category were shown more than once - bug fixed : in admin/cat_modify, changing a value in a textefield and hitting enter was setting a new random representant git-svn-id: http://piwigo.org/svn/trunk@635 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-12-04- change "->" in a beautiful arrow :-) for categories level in adminplegall1-1/+1
- single category management screen updated : commentable and uploadable properties added, full directory displayed, status and visibility properties update uses inheritance, user favorite elements check moved to somewhere else : would be too long to calculate here for too many users - new admin functions set_cat_visible and set_cat_status : visibility and status updates can be done in cat_options and cat_modify - language : differentiate "locked" (state) and "lock" (action) git-svn-id: http://piwigo.org/svn/trunk@632 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-11-30bug corrected when moving categories at the top levelplegall1-2/+2
git-svn-id: http://piwigo.org/svn/trunk@628 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-11-30- update_global_rank new function : far more intelligent update. Take intoplegall1-0/+2
account the possiblity to have category tree not in category id ascending order - update global_rank when moving categories among the same parent - new function mass_updates : depending on MySQL version, create a temporary table, make one big insert and one big update by joining 2 tables (4.0.4 or above) or make 1 update per primary key - function update_category improved for representative_picture_id check : only one useful query (equivalent to NOT EXISTS) instead of N (N = number of categories) queries git-svn-id: http://piwigo.org/svn/trunk@625 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-11-25Categories option management update.gweltas1-2/+2
- Rewrite of the tpl file (no more table in it) - Deletion of duplicate entry in language files - French version git-svn-id: http://piwigo.org/svn/trunk@622 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-11-18Categories management icon updategweltas1-2/+2
git-svn-id: http://piwigo.org/svn/trunk@608 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-11-18Unification of "Return to main page" entry in the language files.gweltas1-2/+2
git-svn-id: http://piwigo.org/svn/trunk@607 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-11-13- admin/cat_options page added : manage options for the whole categoriesplegall1-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
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-29/+1
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-14/+14
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-24- complete refactoringz0rglub1-168/+305
- possibility to update metadata for a category git-svn-id: http://piwigo.org/svn/trunk@580 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-25- Deletion of obsolete functions in the administrative partgweltas1-10/+29
- Repair of virtual category management git-svn-id: http://piwigo.org/svn/trunk@496 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-08-21don't force the width and height of folder iconsz0rglub1-2/+2
git-svn-id: http://piwigo.org/svn/trunk@489 68402e56-0260-453c-a942-63ccdbb3a9ee
2004-03-31- Category upload admin control panelgweltas1-5/+5
git-svn-id: http://piwigo.org/svn/trunk@403 68402e56-0260-453c-a942-63ccdbb3a9ee