aboutsummaryrefslogtreecommitdiffstats
path: root/include/category_default.inc.php (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-12-27feature 2541 multisizervelices1-1/+1
- core implementation + usage on most public/admin pages - still to do: sync process, upload, gui/persistence for size parameters, migration script, center of interest ... git-svn-id: http://piwigo.org/svn/trunk@12796 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-11-04merge r12545 from branch 2.3 to trunkplegall1-21/+24
feature 2397 added: add details about the album thumbnail for extra templates. Algorithm changed for FILE_HAS_HD : we don't care about the $user['enabled_high'] Fields added in category_default : high_filesize, high_width, high_height, rating_score We send the same fields on category_cats but for album thumbnail only. git-svn-id: http://piwigo.org/svn/trunk@12546 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-10-15feature:2473patdenice1-3/+3
Apply trigger render_element_description for thumbnail title git-svn-id: http://piwigo.org/svn/trunk@12451 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-10-08moved up one line of code added in 2.3 (plugin compatibility)rvelices1-1/+2
git-svn-id: http://piwigo.org/svn/trunk@12391 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-26feature 1797 added: use photo title for thumbnail ALT attribute if possibleplegall1-11/+2
git-svn-id: http://piwigo.org/svn/trunk@11999 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-26feature 1729: rewrite function get_thumbnail_title to provide a complete tooltipplegall1-2/+7
to the template file. It include the name of the photo, details such as number of visits, number of comments, rating score, and the description. git-svn-id: http://piwigo.org/svn/trunk@11996 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-22replace tabs by spaces for indentation introduced in rplegall1-28/+29
git-svn-id: http://piwigo.org/svn/trunk@11981 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-09feature:2390flop251-32/+29
All the legend is hidden if $conf['show_thumbnail_caption'] = false; git-svn-id: http://piwigo.org/svn/trunk@11924 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-02rename #images.average_rate to rating_scorervelices1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@11893 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-01feature:2330 ability to hide the "new" icon for recent photos mistic1001-1/+1
correct a big mistake in var name git-svn-id: http://piwigo.org/svn/trunk@11591 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-06-09feature:2330 ability to hide the "new" icon for recent photos mistic1001-1/+4
git-svn-id: http://piwigo.org/svn/trunk@11285 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-18Happy new year 2011plegall1-2/+2
Change "Piwigo - a PHP based picture gallery" into "Piwigo - a PHP based photo gallery" git-svn-id: http://piwigo.org/svn/trunk@8728 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-27merge r6711 from branch 2.1 to trunkplegall1-0/+2
add trigger for ExtendedDescription on photo name git-svn-id: http://piwigo.org/svn/trunk@6712 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-19increase copyright year to 2010plegall1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@5196 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-20Feature 1244 resolvednikrou1-1/+1
Replace all mysql functions in core code by ones independant of database engine Fix small php code synxtax : hash must be accessed with [ ] and not { }. git-svn-id: http://piwigo.org/svn/trunk@4325 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-01merge r3490 from branch 2.0 to trunkvdigital1-6/+2
Reverse of 3484 git-svn-id: http://piwigo.org/svn/trunk@3491 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-01merge r3484 from branch 2.0 to trunkvdigital1-2/+6
New: Extend of available fields within a category page for a template-extension simple usage. Add thumbnail dimensions to remove as much as possible some PHP in tpl extensions. {$thumbnails.FILE_TN_WIDTH} {$thumbnails.FILE_TN_HEIGHT} git-svn-id: http://piwigo.org/svn/trunk@3485 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-11Move get_icon function.patdenice1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@3188 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-13- moved check upgrade feed code to admin/include/functions_upgrade.phprvelices1-5/+2
- refactored some code (shorter and somehow faster - but nothing revolutionary) - decrease lost space in permalinks.tpl and hard coded column width (was illisible) git-svn-id: http://piwigo.org/svn/trunk@3136 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-05- fix issue on my previous commitrvelices1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@3128 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-05- embellish_url compacts now ..rvelices1-2/+3
- some trigger improvements (render_category_description) - improved perf of duplicate_xxx_url ( rewrote func params_for_duplication and remove some vars from $page ) git-svn-id: http://piwigo.org/svn/trunk@3126 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-05- removed triggers loc_index_thumbnail and loc_index_category_thumbnailrvelices1-8/+6
- changed triggers loc_end_index_thumbnails and loc_end_index_category_thumbnails from actions to events git-svn-id: http://piwigo.org/svn/trunk@3124 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-04optimizations (php only)rvelices1-19/+16
- removed unnecessary call to array_unique in get_image_ids_for_tags - put back in smarty exec time counting (debug mode) for each included template - prefix some smarty modifiers with @ in some templates - do not call format_date (still very slow due to mktime and date even after prev commit) from category_default.inc.php - if used in templates format_date can be used as a smarty modifier git-svn-id: http://piwigo.org/svn/trunk@3120 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-01-04Administration: happy new year 2009, all PHP headers updated. plegall1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@3049 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-09Resolved issue 0000900: format_date function doesn't work when time is ↵rub1-2/+2
omitted with 'mysql_datetime' type Continue correction of grum git-svn-id: http://piwigo.org/svn/trunk@2856 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-09merge -c2850 from branch 2.0 to trunkgrum1-2/+2
The exact copy of commit log in 2850. git-svn-id: http://piwigo.org/svn/trunk@2853 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-07merge -c2840 from branch 2.0 to trunkvdigital1-0/+17
New: Extend of available fields within a category page for a template-extension simple usage. Refer to topic: "Smoothgallery plugin" where no plugin is requested to do it. Minor: Some format in Sylvia theme git-svn-id: http://piwigo.org/svn/trunk@2841 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-10- fix undefined template vars U_LOST_PASSWORD (menubar), F_ACTION ↵rvelices1-6/+6
(extend_for_templates) and F_C13Y_ACTION (check_integrity) - normalized some template variable names between category thumbnails and thumbnails (take advantage of full template change with smarty and do it now) git-svn-id: http://piwigo.org/svn/trunk@2515 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-03-11- remove $conf['subcatify'] (it was my reqquest to Pierrick when plugins ↵rvelices1-33/+29
were not available; now it can be done through plugin) - optimization when show_nb_comments true (1 sql query per page instead of 1 query per element) - some cleanup & more standard trigger names git-svn-id: http://piwigo.org/svn/trunk@2274 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-03-01- thumbnails.tpl migrationrvelices1-36/+16
git-svn-id: http://piwigo.org/svn/trunk@2234 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-02-27Resolved issue 0000807: New slideshow featuresrub1-1/+17
git-svn-id: http://piwigo.org/svn/trunk@2218 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-10-05- function str2url is compatible with utf-8rvelices1-7/+2
- removed some old code (useless) git-svn-id: http://piwigo.org/svn/trunk@2123 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-08-270000735: Hits were displayed twice on Most visited (manual merge)vdigital1-1/+3
git-svn-id: http://piwigo.org/svn/trunk@2081 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-09plugins only:rvelices1-1/+1
- fix in category_default.inc.php (action parameters were wrong if show_nb_comments was true) - refactor actions and events in picture.php in order to give more flexibility to plugins - added some variables in index.tpl (not used by pwg itself) to allow plugins to add their own content git-svn-id: http://piwigo.org/svn/trunk@1882 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-03-04Remove "TODO" on picture display showed on the caddie...rub1-8/+1
git-svn-id: http://piwigo.org/svn/trunk@1868 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-27Missing one change flat_hint to mode_flat_hintrub1-5/+2
Review a little l10n_dec git-svn-id: http://piwigo.org/svn/trunk@1864 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-02-27- refactoring page['category'] before 1.7 releaservelices1-1/+1
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-02-26Remove $conf['show_nb_hits'] condition witch can hide $conf['user_nb_hits'] ↵rub1-5/+3
condition. git-svn-id: http://piwigo.org/svn/trunk@1859 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-30Issue 0000614: Display hits under thumbnails like comments countervdigital1-2/+12
- Comments are not plurial < 2 - hits and comments have specific classes for css control git-svn-id: http://piwigo.org/svn/trunk@1769 68402e56-0260-453c-a942-63ccdbb3a9ee
2007-01-28Issue 0000614: Display hits under thumbnails like comments countervdigital1-0/+8
git-svn-id: http://piwigo.org/svn/trunk@1763 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-21Feature Issue ID 0000601: Filter all public pages with only recent elementsrub1-9/+3
It's a finalized version. Obsolete code of draft are removed. You can filter categories and images with recent date period on your screen selection. In the future, filter could be easy done on other type data (plugin?) You can flat categories and sub-categories with a recent date period of your choice. Next, perhaps, a panel to choice recent date for the 2 features. On draft, there have problem with MySql 5, be careful! Css problem not resolved: - Menu "Categories" is bad centered - Icon on dark too on the top git-svn-id: http://piwigo.org/svn/trunk@1677 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-13Feature Issue ID 0000601: Filter all public pages with only recent elementsrub1-1/+1
Last draft before final development. There a icon for global mode and one other for local mode. Counters are not good, filter on images are not everywhere applied, moment to update cache are not optimized, ... Go to http://forum.phpwebgallery.net/viewtopic.php?id=9490 git-svn-id: http://piwigo.org/svn/trunk@1651 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-12-10Feature Issue ID 0000601: Filter all public pages with only recent elementsrub1-2/+8
It's a draft of the feature witch allows to show only recent elements. Development are not finished. Queries and special pages (best rates, tags, etc.) are not modified. Only main php files about images and categories are ok. Before to continue, I prefer to determinate a solution between modify cache implementation or hide counters. Go to http://forum.phpwebgallery.net/viewtopic.php?pid=50015#p50015 git-svn-id: http://piwigo.org/svn/trunk@1648 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-11-07- deprecated get_thumbnail_src (still there for compatibility). use rather rvelices1-5/+11
get_thumbnail_path or get_thumbnail_url (these allow plugins to override) - plugins can hook into index thumbnail display (items only so far) git-svn-id: http://piwigo.org/svn/trunk@1596 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-06-24feature 434: split thumbnails in template so customization could be easyerchrisaga1-0/+2
git-svn-id: http://piwigo.org/svn/trunk@1384 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-04-02improvement: tags replace keywords. Better data model, lessplegall1-1/+1
limitations. Each image can be associated to as many tag as needed. Tags can contain non ASCII characters. Oriented navigation with tags by association. git-svn-id: http://piwigo.org/svn/trunk@1119 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-25-new : add a 'CLASS' element in 'thumbnails.line.thumbnail' array to store a ↵chrisaga1-2/+4
different classname for category thumbnails and element thubnails in order to be able to display them differently. git-svn-id: http://piwigo.org/svn/trunk@1098 68402e56-0260-453c-a942-63ccdbb3a9ee
2006-03-23URL rewrite: 3 options in the config file define behaviour (question mark rvelices1-1/+2
removal, file name for picture and .php extension removal) fix: added unsigned for column in install sql - for the sake of uniformization change: add_url_param is now add_url_params and takes an array as parameter instead of a string git-svn-id: http://piwigo.org/svn/trunk@1094 68402e56-0260-453c-a942-63ccdbb3a9ee