aboutsummaryrefslogtreecommitdiffstats
path: root/include/section_init.inc.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* arrayfromquery optimizations: move double if from inside loop to outside + ↵rvelices2014-02-111-13/+13
| | | | | | use directly mysqli calls to avoid function call overhead for every row retrieved from db git-svn-id: http://piwigo.org/svn/trunk@27336 68402e56-0260-453c-a942-63ccdbb3a9ee
* Update headers to 2014. Happy new year!!mistic1002014-01-051-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@26461 68402e56-0260-453c-a942-63ccdbb3a9ee
* remove all array_push (50% slower than []) + some changes missing for ↵mistic1002013-10-191-1/+1
| | | | | | feature:2978 git-svn-id: http://piwigo.org/svn/trunk@25018 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r22282 from branch 2.5 to trunkplegall2013-04-181-12/+5
| | | | | | | bug 2891 fixed: pure root_url on Home link in breadcrumb git-svn-id: http://piwigo.org/svn/trunk@22283 68402e56-0260-453c-a942-63ccdbb3a9ee
* fix home link with flat parameter from picture page breadcrumbrvelices2013-04-121-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@22161 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2557 recent photos/albums should never be emptyrvelices2013-03-231-4/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@21802 68402e56-0260-453c-a942-63ccdbb3a9ee
* some code cleaningmistic1002013-01-291-74/+83
| | | | git-svn-id: http://piwigo.org/svn/trunk@20453 68402e56-0260-453c-a942-63ccdbb3a9ee
* update Piwigo headers to 2013 (the end of the world didn't occur as ↵plegall2013-01-011-1/+1
| | | | | | expected on r12922) git-svn-id: http://piwigo.org/svn/trunk@19703 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2772: remove "Home" from html title pages on index pages - partial ↵rvelices2012-11-301-3/+1
| | | | | | revert change of breadcrumb title on home page git-svn-id: http://piwigo.org/svn/trunk@19233 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2772: remove "Home" from html title pages on index pages (better title ↵rvelices2012-10-161-1/+1
| | | | | | when viewing in flat mode) git-svn-id: http://piwigo.org/svn/trunk@18666 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2772: remove "Home" from html title pages on index pagesrvelices2012-10-131-2/+15
| | | | git-svn-id: http://piwigo.org/svn/trunk@18637 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2614 pagination on albumsmistic1002012-10-041-44/+3
| | | | | | return to old fashioned way (one query in category_cats), restoring recent_cats feature and "menubar optimization", rename "starta" into "startcat" git-svn-id: http://piwigo.org/svn/trunk@18462 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2614: pagination on albums, save one query on picture pagemistic1002012-10-011-1/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@18392 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2614: pagination on albums mistic1002012-09-231-1/+46
| | | | git-svn-id: http://piwigo.org/svn/trunk@18165 68402e56-0260-453c-a942-63ccdbb3a9ee
* - is_homepage not set for flat view/calendar modesrvelices2012-04-031-0/+2
| | | | | | | | - added require jquery for some footer_script - removed unused/unnecesary css (hope I'm done for now) - if page[start] is greater than number of items than page not found (google+bing bots automatically detect patterns and increment start parameter) git-svn-id: http://piwigo.org/svn/trunk@13872 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2368: better canonical URL for homepageplegall2012-03-021-0/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@13458 68402e56-0260-453c-a942-63ccdbb3a9ee
* convert tabulations into 2-spaces for indentation (introduced in r13240)plegall2012-02-191-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@13258 68402e56-0260-453c-a942-63ccdbb3a9ee
* - multisize thumb longest side can be smaller than the square sizervelices2012-02-181-1/+5
| | | | | | - remove unused css, shorten/optimize php called very often (at least theoretically should be faster) git-svn-id: http://piwigo.org/svn/trunk@13240 68402e56-0260-453c-a942-63ccdbb3a9ee
* update Piwigo headers to 2012, last change before the expected (or not) ↵mistic1002012-01-171-1/+1
| | | | | | apocalypse git-svn-id: http://piwigo.org/svn/trunk@12922 68402e56-0260-453c-a942-63ccdbb3a9ee
* rename #images.average_rate to rating_scorervelices2011-08-021-7/+7
| | | | git-svn-id: http://piwigo.org/svn/trunk@11893 68402e56-0260-453c-a942-63ccdbb3a9ee
* Happy new year 2011plegall2011-01-181-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
* bug 2105 : Browsing tags is slow if tags contains many photos rvelices2011-01-171-15/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@8726 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2102 : rename item/image/picture to photorvelices2011-01-141-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@8665 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1616: rename "category" into "album" (first commit; still to come)rvelices2010-09-161-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@6951 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r6905 from branch 2.1 to trunkplegall2010-09-131-0/+4
| | | | | | | | bug 1849 fixed: protect $_GET keys against SQL injections before parsing URL. git-svn-id: http://piwigo.org/svn/trunk@6906 68402e56-0260-453c-a942-63ccdbb3a9ee
* - removed function get_extra_fields and its usage (unnecessary + perf issue ↵rvelices2010-07-061-4/+4
| | | | | | | | | | | when retrieving many image ids in a section) - 2 fixes recent feed.php commit * month names were decalated by one * strptime function is not implemented under Windows in php - added somme missing $ROOT_URL in templates git-svn-id: http://piwigo.org/svn/trunk@6668 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1763 fixed : [PostgreSQL] double quote used in queriesnikrou2010-07-051-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@6664 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r6414 from branch 2.1rvelices2010-06-281-3/+1
| | | | | | favorite image icon is not taken from php but left to the theme git-svn-id: http://piwigo.org/svn/trunk@6615 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r6368,6410 from branch-2.1 to trunkrvelices2010-05-281-6/+15
| | | | | | | - merged the linkroot integration with the existing gallery_url (unique $conf['gallery_url'] used for RSS, mail homepage root in the browse path) - added an option $conf['debug_mail'] - if set all outgoing mails are saved into local_data_dir git-svn-id: http://piwigo.org/svn/trunk@6411 68402e56-0260-453c-a942-63ccdbb3a9ee
* Issue 1521 : correction for admin pageslaurent.duretz2010-04-181-5/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@5917 68402e56-0260-453c-a942-63ccdbb3a9ee
* Issue 1521 : get_absolute_root_url() missing in section_init.inc.phplaurent.duretz2010-03-301-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@5469 68402e56-0260-453c-a942-63ccdbb3a9ee
* Issue 1521 : Integration of LinkRoot plugin in Piwigo corelaurent.duretz2010-03-291-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@5441 68402e56-0260-453c-a942-63ccdbb3a9ee
* increase copyright year to 2010plegall2010-03-191-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@5196 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1451 : localization with gettextnikrou2010-03-021-8/+8
| | | | | | | | | | | Use php-gettext (developpement version rev43, because of php5.3) as fallback Use native language (english) instead of key for translation Keep directory en_UK for english customization Need some refactoring for plurals Todo : managing plugins in the same way git-svn-id: http://piwigo.org/svn/trunk@5021 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1255 :nikrou2009-11-291-2/+2
| | | | | | | misspelled function parenthesis missing git-svn-id: http://piwigo.org/svn/trunk@4388 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature_1255:nikrou2009-11-291-6/+6
| | | | | | | - bug fix : function pwg_db_get_recent_period_expression - add extra fields for select based on "order by" git-svn-id: http://piwigo.org/svn/trunk@4387 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature_1255 :nikrou2009-11-291-3/+1
| | | | | | | - single quotes in queries - start using $conf['dblayer'] git-svn-id: http://piwigo.org/svn/trunk@4385 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1255: modification in sql queriesnikrou2009-11-251-2/+1
| | | | | | | | | - manage random function - manage regex syntax - manage quote (single instead of double) - manage interval git-svn-id: http://piwigo.org/svn/trunk@4367 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1255 : limit params in sql queries were in wrong order (LIMIT count ↵nikrou2009-11-211-2/+2
| | | | | | OFFSET offset) git-svn-id: http://piwigo.org/svn/trunk@4334 68402e56-0260-453c-a942-63ccdbb3a9ee
* small code refactor - group together some code that should be together rvelices2009-03-031-6/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@3167 68402e56-0260-453c-a942-63ccdbb3a9ee
* - fix hard coded urls in section_initrvelices2009-01-221-7/+5
| | | | | | - moved a language string language from php to tpl git-svn-id: http://piwigo.org/svn/trunk@3108 68402e56-0260-453c-a942-63ccdbb3a9ee
* Administration: happy new year 2009, all PHP headers updated. plegall2009-01-041-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@3049 68402e56-0260-453c-a942-63ccdbb3a9ee
* improve task:0000902:nikrou2009-01-031-1/+3
| | | | | | | - add image del_all_favorites.png - make a redirect after delete git-svn-id: http://piwigo.org/svn/trunk@3039 68402e56-0260-453c-a942-63ccdbb3a9ee
* task:0000902: button to remove all favoritesnikrou2009-01-021-8/+40
| | | | git-svn-id: http://piwigo.org/svn/trunk@3037 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge rev 2771,2772 from branch 2.0rvelices2008-10-181-8/+3
| | | | | | | - 2771 event tracer improvement: option to show all registered event handlers for every page - 2772 php optims (small): remove/replace preg_xxx with faster simple string functions git-svn-id: http://piwigo.org/svn/trunk@2773 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 169 added: ability to manually sort images inside a category. Aplegall2008-09-111-5/+29
| | | | | | | | | dedicated screen let the administrator sort the images (pur HTML, no JavaScript yet). The "rank" sort order is available only for a category without flat mode. New database column image_category.rank. git-svn-id: http://piwigo.org/svn/trunk@2517 68402e56-0260-453c-a942-63ccdbb3a9ee
* - normalize behaviour of query search versus std search (now both return ↵rvelices2008-07-231-21/+6
| | | | | | items already sorted and permission checked); also more optimized sql queries (in some cases) git-svn-id: http://piwigo.org/svn/trunk@2451 68402e56-0260-453c-a942-63ccdbb3a9ee
* - bug 600: Page not found after a strong rating revise (and extended to most ↵rvelices2008-07-121-34/+5
| | | | | | cases when the image is not in the requested section) git-svn-id: http://piwigo.org/svn/trunk@2430 68402e56-0260-453c-a942-63ccdbb3a9ee
* - feature 832: Folders with no images sql optimizationrvelices2008-07-051-4/+13
| | | | | | | - recent pics are sorted by date descending, and only then by conf['order_by'] - updated prototype.js to version 1.6 git-svn-id: http://piwigo.org/svn/trunk@2424 68402e56-0260-453c-a942-63ccdbb3a9ee
* just some optimizations (especially for large dbs)rvelices2008-05-031-7/+42
| | | | | | | - replace some REGEXP with LIKE in sql - optimized queries for the combination of large data sets with picture_url_style file git-svn-id: http://piwigo.org/svn/trunk@2327 68402e56-0260-453c-a942-63ccdbb3a9ee