aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove PHP < 5.2 codemistic1002014-02-041-21/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@27158 68402e56-0260-453c-a942-63ccdbb3a9ee
* str2DateTime return false on empty inputmistic1002014-01-291-4/+8
| | | | git-svn-id: http://piwigo.org/svn/trunk@27043 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 3027: Fatal error on Configuration->Options->Photo sizemistic1002014-01-221-3/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@26902 68402e56-0260-453c-a942-63ccdbb3a9ee
* use custom safe_version_compare instead of version_compare to handle ↵mistic1002014-01-091-0/+32
| | | | | | versions numbers with letters git-svn-id: http://piwigo.org/svn/trunk@26591 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
* add query2array function, aiming to replace hash_from_query, ↵mistic1002013-12-201-0/+66
| | | | | | array_from_query and simple_hash_fromq_query git-svn-id: http://piwigo.org/svn/trunk@26048 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2999: documentation of Template class, other classes of ↵mistic1002013-12-071-2/+0
| | | | | | template.class.php pending git-svn-id: http://piwigo.org/svn/trunk@25812 68402e56-0260-453c-a942-63ccdbb3a9ee
* move get_query_string_diff and url_is_remote to functions_url.inc.phpmistic1002013-11-211-37/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@25615 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2999: Documentation of include/functions_mail|metadata|picturemistic1002013-11-181-1/+8
| | | | git-svn-id: http://piwigo.org/svn/trunk@25550 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2999 : documentation of include/functions_calendar.inc.php and ↵mistic1002013-11-171-1/+1
| | | | | | Calendar classes git-svn-id: http://piwigo.org/svn/trunk@25507 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2976: add output fields for pwg.users.getList. registration_date,plegall2013-11-111-2/+2
| | | | | | | | | | registration_date_string, registration_date_since, last_visit, last_visit_string, last_visit_since. bug fixed: format_date(), removing leading zero on day number git-svn-id: http://piwigo.org/svn/trunk@25459 68402e56-0260-453c-a942-63ccdbb3a9ee
* move array_from_query to functions.inc.phpmistic1002013-11-101-0/+31
| | | | git-svn-id: http://piwigo.org/svn/trunk@25427 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2999 : documentation of include/functions.inc.phpmistic1002013-11-101-151/+272
| | | | git-svn-id: http://piwigo.org/svn/trunk@25426 68402e56-0260-453c-a942-63ccdbb3a9ee
* delete replace_space function, modify get_cat_display_name_* functionsmistic1002013-11-101-47/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@25425 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2995: New email templatemistic1002013-11-061-1/+1
| | | | | | | restore get_l10n_args removed at r25357 apply changes to NBM git-svn-id: http://piwigo.org/svn/trunk@25360 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2651: fallback language, failed when the "child" file does not existsmistic1002013-11-011-1/+30
| | | | git-svn-id: http://piwigo.org/svn/trunk@25288 68402e56-0260-453c-a942-63ccdbb3a9ee
* 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