aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-06-20smarty 3 - first pass for tests rvelices1-1/+2
git-svn-id: http://piwigo.org/svn/trunk@23384 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-06-19Add trigger "load_conf" at the end of load_conf_from_db()mistic1001-0/+2
not usable for the first call in common.inc.php (plugins not loaded) git-svn-id: http://piwigo.org/svn/trunk@23372 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-05-18bug 2900: Improve web service output rvelices1-8/+0
git-svn-id: http://piwigo.org/svn/trunk@22729 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-05-13correction of rev:21515flop251-1/+1
git-svn-id: http://piwigo.org/svn/trunk@22653 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-03-24feature 2836: display the number of comments/tags in the menubar rvelices1-0/+38
git-svn-id: http://piwigo.org/svn/trunk@21817 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-03-12add the nb of pages as template var for navigation_bar.tpl for extensionsflop251-0/+1
git-svn-id: http://piwigo.org/svn/trunk@21515 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-02-07start the php session before loading plugins in a standard manner (related ↵rvelices1-9/+0
to bug 2835: ) git-svn-id: http://piwigo.org/svn/trunk@20599 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-02-04bug:2835patdenice1-0/+9
ability detect mobile theme earlier, before plugin load git-svn-id: http://piwigo.org/svn/trunk@20543 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-22feature:2823 Add triggers for login system, load function_plugins before ↵mistic1001-2/+11
function_user git-svn-id: http://piwigo.org/svn/trunk@20325 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-11-29clean some function descmistic1001-7/+5
git-svn-id: http://piwigo.org/svn/trunk@19225 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-11-07bug:2687patdenice1-2/+1
bug:2778 Unable to switch from mobile theme to classic theme with incompatible plugins. Detect blackberry and symbian for mobile theme. Update mdetect class. git-svn-id: http://piwigo.org/svn/trunk@18967 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-23- navigation bar urls are always on the number of images per page boundaries ↵rvelices1-17/+17
(fix rare case when the admin changer the number of thumbs per page for guests, and then google bot fetches almost all start-xx pages) git-svn-id: http://piwigo.org/svn/trunk@18729 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-12- remove unsed code; shorten existing code and improve readability ...rvelices1-50/+10
git-svn-id: http://piwigo.org/svn/trunk@18629 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-09-23feature 2614: pagination on albums mistic1001-2/+2
git-svn-id: http://piwigo.org/svn/trunk@18165 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-09-23feature 2754: Add "Email" field for user comments + mandatory "Author" mistic1001-0/+19
git-svn-id: http://piwigo.org/svn/trunk@18164 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-09-04bug 2735: fix/improve non latin language tagsrvelices1-13/+41
a. non latin tags (greek/cyrillic...) are not sorted case-insesitive and group by letter view in tag list is not case insesitive b. quick searching tag names does not perform correctly accent folding (e.g. Köln and Koln do not match) and case insesitivity for non latin letters c. missing from remove_accents characters in romanian language (Latin Extended-B) ? c8 98 = LATIN CAPITAL LETTER S WITH COMMA BELOW ? c8 99 = LATIN SMALL LETTER S WITH COMMA BELOW ? c8 9a = LATIN CAPITAL LETTER T WITH COMMA BELOW ? c8 9b = LATIN SMALL LETTER T WITH COMMA BELOW d. str2url allow non latin letters in output only if the input does not contain any valid lating letter/digit. we should always allow non latin letters in output git-svn-id: http://piwigo.org/svn/trunk@17748 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-08-27remove deprecated function get_thumbnail_url + $conf['local_data_dir']rvelices1-11/+0
git-svn-id: http://piwigo.org/svn/trunk@17649 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-08-03feature 2380: add URL for user comment mistic1001-0/+16
git-svn-id: http://piwigo.org/svn/trunk@17351 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-07no longer use of images.tn_ext field any longerplegall1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@15598 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-07bug:2647patdenice1-19/+0
Test 1and1 server with $_SERVER['SCRIPT_FILENAME'] git-svn-id: http://piwigo.org/svn/trunk@15583 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-06bug:2647patdenice1-0/+19
External ImageMagick does not work anymore on 1and1 servers git-svn-id: http://piwigo.org/svn/trunk@15575 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-06-05bug 2646 fixed: avoid useless PHP warnings with uncompleted creation dateplegall1-3/+12
git-svn-id: http://piwigo.org/svn/trunk@15573 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-05-26remove useless function/configuration due to derivativesplegall1-24/+0
git-svn-id: http://piwigo.org/svn/trunk@15316 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-03-06remove remote sites featurervelices1-1/+0
git-svn-id: http://piwigo.org/svn/trunk@13488 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-19convert tabulations into 2-spaces for indentation (introduced in r13240)plegall1-8/+8
git-svn-id: http://piwigo.org/svn/trunk@13258 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-18feature:2577patdenice1-1/+9
Automaticaly install smartpocket during install or upgrade. hide mobile theme from themes list on user side. git-svn-id: http://piwigo.org/svn/trunk@13242 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-18- multisize thumb longest side can be smaller than the square sizervelices1-49/+10
- 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
2012-02-18feature:2577patdenice1-0/+61
Many improvements git-svn-id: http://piwigo.org/svn/trunk@13234 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-10feature 2564: small changes in infos listmistic1001-12/+15
git-svn-id: http://piwigo.org/svn/trunk@13086 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-10feature 2564: forgot a file in previous commitmistic1001-2/+61
git-svn-id: http://piwigo.org/svn/trunk@13085 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-24feature 2548 multisize rvelices1-8/+1
- added define_derivative template functiion for themes and plugins - code cleanup, new events ... git-svn-id: http://piwigo.org/svn/trunk@12954 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17feature 2548 multisize - code cleanup + better usage in category_cats + ↵rvelices1-63/+6
i.php logs memory usage peak git-svn-id: http://piwigo.org/svn/trunk@12920 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-12bug 2553 hide menubar/register on indentification page if gallery is locked ↵rvelices1-7/+10
or guest_access is false git-svn-id: http://piwigo.org/svn/trunk@12878 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-10feature:2552patdenice1-1/+2
Apply trigger render_element_description for thumbnail title (for picture description) git-svn-id: http://piwigo.org/svn/trunk@12870 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-05feature 2548 multisize - improved picture.php display (original...) + code ↵rvelices1-0/+14
cleanup git-svn-id: http://piwigo.org/svn/trunk@12855 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-03feature 2548 multisizervelices1-0/+10
- rewrote local site sync + metadata sync git-svn-id: http://piwigo.org/svn/trunk@12831 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-27feature 2541: fix bug on PHPWG_ROOT_PATH and includesplegall1-3/+3
git-svn-id: http://piwigo.org/svn/trunk@12798 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-27feature 2541 multisizervelices1-1/+5
- 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 r12540 from branch 2.3 to trunkplegall1-1/+1
bug 2492 fixed: no need to transmit ['hit'] to get_thumbnail_title, this parameter becomes optional to avoid errors in plugins git-svn-id: http://piwigo.org/svn/trunk@12541 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-10-15feature:2473patdenice1-1/+1
Apply trigger render_element_description for thumbnail title git-svn-id: http://piwigo.org/svn/trunk@12451 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-31merge r12022 from branch 2.2 to trunkplegall1-0/+5
bug 2421 fixed: no more warning on comments.php when $_SERVER['QUERY_STRING'] is not defined git-svn-id: http://piwigo.org/svn/trunk@12023 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-26feature 1729: protect thumbnail title against HTML special charsplegall1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@11998 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-26feature 1729: avoid too long description in tooltipsplegall1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@11997 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-08-26feature 1729: rewrite function get_thumbnail_title to provide a complete tooltipplegall1-10/+44
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-06-25feature 2365 added: Piwigo version is written in the database (asplegall1-0/+9
"piwigo_db_version" in the config table). We only store the branch, not the release : 2.3 and not 2.3.1, because database structure is not changing between minor releases. git-svn-id: http://piwigo.org/svn/trunk@11511 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-31merge r11160 from branch 2.2 to trunkplegall1-4/+18
bug 2310 fixed: conf_update_param() does not erase config.comment column anymore, we only insert a new row if the param does not exist yet in the table. git-svn-id: http://piwigo.org/svn/trunk@11162 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-22merge r9819 from branch 2.1 to trunkplegall1-1/+1
bug 2228 fixed: there should be no blank space in the URL to avoid infinite loop redirection (this happens with chinese only characters + blank space in the category name). Note: this problem does not concern tag names because there is no redirection when the tag name does not match tags.url_name git-svn-id: http://piwigo.org/svn/trunk@9820 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-22- fix icon display on index page (calendar by post date)rvelices1-2/+0
- remove unnecessary include_once - mysql functions simplification git-svn-id: http://piwigo.org/svn/trunk@8844 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-20bug 937 fixed: makes sure a user won't see the thumbnail of a photo that has aplegall1-0/+11
higher privacy level than user privacy level. For an acceptable solution at performance level, I have implemented a cache: for a given user, each album has a representative_picture_id. This cache also avoids to perform numerous "order by rand()" SQL queries which is the case when $conf['allow_random_representative'] = true; git-svn-id: http://piwigo.org/svn/trunk@8802 68402e56-0260-453c-a942-63ccdbb3a9ee