aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bug:2947 fix compatibility with PHP 5.2 and 5.3mistic1002013-10-241-22/+87
| | | | git-svn-id: http://piwigo.org/svn/trunk@25114 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2978: error func_get_args(): Can't be used as a function parameter ↵mistic1002013-10-241-1/+2
| | | | | | on PHP <= 5.2 git-svn-id: http://piwigo.org/svn/trunk@25113 68402e56-0260-453c-a942-63ccdbb3a9ee
* remove all array_push (50% slower than []) + some changes missing for ↵mistic1002013-10-191-2/+4
| | | | | | feature:2978 git-svn-id: http://piwigo.org/svn/trunk@25018 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2978: remove useless sprintf in the coremistic1002013-10-191-5/+5
| | | | git-svn-id: http://piwigo.org/svn/trunk@25005 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2978: l10n() and {translate} with additional arguments mistic1002013-10-191-6/+13
| | | | | | TODO: apply in core git-svn-id: http://piwigo.org/svn/trunk@24988 68402e56-0260-453c-a942-63ccdbb3a9ee
* make get_query_string_diff compatible with arrays and use build-in functionsmistic1002013-10-101-16/+9
| | | | git-svn-id: http://piwigo.org/svn/trunk@24833 68402e56-0260-453c-a942-63ccdbb3a9ee
* add function conf_delete_parammistic1002013-09-051-0/+35
| | | | git-svn-id: http://piwigo.org/svn/trunk@24350 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug:2947 rewrite format_date() and time_since() with DateTime class + new ↵mistic1002013-08-011-79/+138
| | | | | | parameters git-svn-id: http://piwigo.org/svn/trunk@24099 68402e56-0260-453c-a942-63ccdbb3a9ee
* add mandatory option for check_input_parametermistic1002013-07-211-1/+6
| | | | git-svn-id: http://piwigo.org/svn/trunk@24009 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2941: add trigger on get_webmaster_mail_addressplegall2013-07-091-0/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@23887 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug:2939 switch_lang_to() must reload plugins filesmistic1002013-07-071-1/+9
| | | | git-svn-id: http://piwigo.org/svn/trunk@23823 68402e56-0260-453c-a942-63ccdbb3a9ee
* smarty 3 - first pass for tests rvelices2013-06-201-1/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@23384 68402e56-0260-453c-a942-63ccdbb3a9ee
* Add trigger "load_conf" at the end of load_conf_from_db()mistic1002013-06-191-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
* bug 2900: Improve web service output rvelices2013-05-181-8/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@22729 68402e56-0260-453c-a942-63ccdbb3a9ee
* correction of rev:21515flop252013-05-131-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@22653 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2836: display the number of comments/tags in the menubar rvelices2013-03-241-0/+38
| | | | git-svn-id: http://piwigo.org/svn/trunk@21817 68402e56-0260-453c-a942-63ccdbb3a9ee
* add the nb of pages as template var for navigation_bar.tpl for extensionsflop252013-03-121-0/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@21515 68402e56-0260-453c-a942-63ccdbb3a9ee
* start the php session before loading plugins in a standard manner (related ↵rvelices2013-02-071-9/+0
| | | | | | to bug 2835: ) git-svn-id: http://piwigo.org/svn/trunk@20599 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug:2835patdenice2013-02-041-0/+9
| | | | | | ability detect mobile theme earlier, before plugin load git-svn-id: http://piwigo.org/svn/trunk@20543 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2823 Add triggers for login system, load function_plugins before ↵mistic1002013-01-221-2/+11
| | | | | | function_user git-svn-id: http://piwigo.org/svn/trunk@20325 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
* clean some function descmistic1002012-11-291-7/+5
| | | | git-svn-id: http://piwigo.org/svn/trunk@19225 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug:2687patdenice2012-11-071-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
* - navigation bar urls are always on the number of images per page boundaries ↵rvelices2012-10-231-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
* - remove unsed code; shorten existing code and improve readability ...rvelices2012-10-121-50/+10
| | | | git-svn-id: http://piwigo.org/svn/trunk@18629 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2614: pagination on albums mistic1002012-09-231-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@18165 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2754: Add "Email" field for user comments + mandatory "Author" mistic1002012-09-231-0/+19
| | | | git-svn-id: http://piwigo.org/svn/trunk@18164 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2735: fix/improve non latin language tagsrvelices2012-09-041-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
* remove deprecated function get_thumbnail_url + $conf['local_data_dir']rvelices2012-08-271-11/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@17649 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2380: add URL for user comment mistic1002012-08-031-0/+16
| | | | git-svn-id: http://piwigo.org/svn/trunk@17351 68402e56-0260-453c-a942-63ccdbb3a9ee
* no longer use of images.tn_ext field any longerplegall2012-06-071-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@15598 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug:2647patdenice2012-06-071-19/+0
| | | | | | Test 1and1 server with $_SERVER['SCRIPT_FILENAME'] git-svn-id: http://piwigo.org/svn/trunk@15583 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug:2647patdenice2012-06-061-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
* bug 2646 fixed: avoid useless PHP warnings with uncompleted creation dateplegall2012-06-051-3/+12
| | | | git-svn-id: http://piwigo.org/svn/trunk@15573 68402e56-0260-453c-a942-63ccdbb3a9ee
* remove useless function/configuration due to derivativesplegall2012-05-261-24/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@15316 68402e56-0260-453c-a942-63ccdbb3a9ee
* remove remote sites featurervelices2012-03-061-1/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@13488 68402e56-0260-453c-a942-63ccdbb3a9ee
* convert tabulations into 2-spaces for indentation (introduced in r13240)plegall2012-02-191-8/+8
| | | | git-svn-id: http://piwigo.org/svn/trunk@13258 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2577patdenice2012-02-181-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
* - multisize thumb longest side can be smaller than the square sizervelices2012-02-181-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
* feature:2577patdenice2012-02-181-0/+61
| | | | | | Many improvements git-svn-id: http://piwigo.org/svn/trunk@13234 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2564: small changes in infos listmistic1002012-02-101-12/+15
| | | | git-svn-id: http://piwigo.org/svn/trunk@13086 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2564: forgot a file in previous commitmistic1002012-02-101-2/+61
| | | | git-svn-id: http://piwigo.org/svn/trunk@13085 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2548 multisize rvelices2012-01-241-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
* feature 2548 multisize - code cleanup + better usage in category_cats + ↵rvelices2012-01-171-63/+6
| | | | | | i.php logs memory usage peak git-svn-id: http://piwigo.org/svn/trunk@12920 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2553 hide menubar/register on indentification page if gallery is locked ↵rvelices2012-01-121-7/+10
| | | | | | or guest_access is false git-svn-id: http://piwigo.org/svn/trunk@12878 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2552patdenice2012-01-101-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
* feature 2548 multisize - improved picture.php display (original...) + code ↵rvelices2012-01-051-0/+14
| | | | | | cleanup git-svn-id: http://piwigo.org/svn/trunk@12855 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2548 multisizervelices2012-01-031-0/+10
| | | | | | - rewrote local site sync + metadata sync git-svn-id: http://piwigo.org/svn/trunk@12831 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2541: fix bug on PHPWG_ROOT_PATH and includesplegall2011-12-271-3/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@12798 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2541 multisizervelices2011-12-271-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