aboutsummaryrefslogtreecommitdiffstats
path: root/include/category_default.inc.php (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-01-05Update headers to 2014. Happy new year!!mistic1001-1/+1
git-svn-id: http://piwigo.org/svn/trunk@26461 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-29add two extra param to render_element_description trigger: ↵mistic1001-1/+1
main_page_element_description and picture_page_element_description git-svn-id: http://piwigo.org/svn/trunk@25202 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-15bug:2820 Var renamedflop251-1/+1
git-svn-id: http://piwigo.org/svn/trunk@20177 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-14bug:2820 & bug:2684flop251-0/+1
add $conf['maxRequests'] perf enhanced : declare once {combine_script} add one loading gif, fixed at the bottom right of the page display an icon for picture loading, and an error icon if ajax failed : might need to be integrated in sprite.png ToDo picture page/clean up unused loader gif/sleep above all. git-svn-id: http://piwigo.org/svn/trunk@20161 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-01 update Piwigo headers to 2013 (the end of the world didn't occur as ↵plegall1-1/+1
expected on r12922) git-svn-id: http://piwigo.org/svn/trunk@19703 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-24refactor code when selected derivative on index page is changed by a plugin ...rvelices1-4/+2
git-svn-id: http://piwigo.org/svn/trunk@16987 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-18feature:2577patdenice1-0/+2
Many improvements git-svn-id: http://piwigo.org/svn/trunk@13234 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-12improvement of picture title on picture page, drop boxes on index page ...rvelices1-4/+2
sharpening uses a zider scale range git-svn-id: http://piwigo.org/svn/trunk@13115 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17feature 2548 multisize - code cleanup + better usage in category_cats + ↵rvelices1-5/+6
i.php logs memory usage peak git-svn-id: http://piwigo.org/svn/trunk@12920 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17feature 2548 multisize - ability to choose displayed size on index pagervelices1-33/+16
-added some logs on i.php (configurable) to measure the perf git-svn-id: http://piwigo.org/svn/trunk@12908 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-14feature:2549 Allow to disable comments for everybody mistic1001-1/+1
git-svn-id: http://piwigo.org/svn/trunk@12887 68402e56-0260-453c-a942-63ccdbb3a9ee
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