mistic100
7c263a2dd2
correctly stringify booleans in conf_update_param
...
git-svn-id: http://piwigo.org/svn/trunk@28691 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-13 19:19:47 +00:00
mistic100
a70a274eaa
feature 3038 : always apply serialize&addslashes if object/array is passed and not parser is defined
...
git-svn-id: http://piwigo.org/svn/trunk@28621 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-03 15:05:14 +00:00
mistic100
4bd32005b5
feature 3010 : replace trigger_action/event by trigger_notify/change
...
git-svn-id: http://piwigo.org/svn/trunk@28587 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-02 07:55:46 +00:00
rvelices
8b4857c773
quick search - small fixes & improvements
...
available number of comments per user do not use visible_categories (only forbidden)
git-svn-id: http://piwigo.org/svn/trunk@28579 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-31 18:50:30 +00:00
mistic100
b317745ac9
feature 3038 : add $updateGlobal and $parser options to conf_update_param
...
git-svn-id: http://piwigo.org/svn/trunk@28567 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-29 14:11:14 +00:00
rvelices
f1f7e5d4ad
added a persistent cache mechanism; used so far to cache image ids in flat view mode
...
git-svn-id: http://piwigo.org/svn/trunk@28432 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-05-11 08:26:41 +00:00
flop25
168bc751df
lang key with an empty value are not displayed
...
git-svn-id: http://piwigo.org/svn/trunk@28171 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-04-13 18:44:32 +00:00
rvelices
2b81fbc4aa
more query2array
...
git-svn-id: http://piwigo.org/svn/trunk@27369 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-02-13 22:21:12 +00:00
rvelices
2d9887993c
arrayfromquery optimizations: move double if from inside loop to outside + 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
2014-02-11 21:47:44 +00:00
mistic100
922de9a63d
remove PHP < 5.2 code
...
git-svn-id: http://piwigo.org/svn/trunk@27158 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-02-04 11:02:38 +00:00
mistic100
8a8c8c161d
str2DateTime return false on empty input
...
git-svn-id: http://piwigo.org/svn/trunk@27043 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-29 20:49:19 +00:00
mistic100
732e0bb497
bug 3027: Fatal error on Configuration->Options->Photo size
...
git-svn-id: http://piwigo.org/svn/trunk@26902 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-22 10:45:24 +00:00
mistic100
4f91b4b9b0
use custom safe_version_compare instead of version_compare to handle versions numbers with letters
...
git-svn-id: http://piwigo.org/svn/trunk@26591 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-09 21:22:13 +00:00
mistic100
636650309a
Update headers to 2014. Happy new year!!
...
git-svn-id: http://piwigo.org/svn/trunk@26461 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-05 00:19:25 +00:00
mistic100
6e058da6b3
add query2array function, aiming to replace hash_from_query, array_from_query and simple_hash_fromq_query
...
git-svn-id: http://piwigo.org/svn/trunk@26048 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-20 10:54:02 +00:00
mistic100
e676bdc8a5
feature 2999: documentation of Template class, other classes of template.class.php pending
...
git-svn-id: http://piwigo.org/svn/trunk@25812 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-07 00:00:41 +00:00
mistic100
2f06b27c26
move get_query_string_diff and url_is_remote to functions_url.inc.php
...
git-svn-id: http://piwigo.org/svn/trunk@25615 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-21 11:22:42 +00:00
mistic100
b8eeae36dc
feature 2999: Documentation of include/functions_mail|metadata|picture
...
git-svn-id: http://piwigo.org/svn/trunk@25550 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-18 17:36:35 +00:00
mistic100
5e2b2f4e02
feature 2999 : documentation of include/functions_calendar.inc.php and Calendar classes
...
git-svn-id: http://piwigo.org/svn/trunk@25507 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-17 15:03:32 +00:00
plegall
c10683b35b
feature 2976: add output fields for pwg.users.getList. registration_date,
...
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
2013-11-11 17:30:39 +00:00
mistic100
e01b40c529
move array_from_query to functions.inc.php
...
git-svn-id: http://piwigo.org/svn/trunk@25427 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-10 17:03:25 +00:00
mistic100
7d7a1ce4e4
feature 2999 : documentation of include/functions.inc.php
...
git-svn-id: http://piwigo.org/svn/trunk@25426 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-10 17:02:30 +00:00
mistic100
e6722ac1b4
delete replace_space function, modify get_cat_display_name_* functions
...
git-svn-id: http://piwigo.org/svn/trunk@25425 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-10 16:18:55 +00:00
mistic100
fc3b787b70
feature 2995: New email template
...
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
2013-11-06 17:57:53 +00:00
mistic100
af040415e2
feature 2651: fallback language, failed when the "child" file does not exists
...
git-svn-id: http://piwigo.org/svn/trunk@25288 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-01 15:34:30 +00:00
mistic100
e7fafb73a1
bug:2947 fix compatibility with PHP 5.2 and 5.3
...
git-svn-id: http://piwigo.org/svn/trunk@25114 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-24 09:07:17 +00:00
mistic100
fcf12b0b28
feature 2978: error func_get_args(): Can't be used as a function parameter on PHP <= 5.2
...
git-svn-id: http://piwigo.org/svn/trunk@25113 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-24 08:42:36 +00:00
mistic100
ae707279a1
remove all array_push (50% slower than []) + some changes missing for feature:2978
...
git-svn-id: http://piwigo.org/svn/trunk@25018 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19 17:43:04 +00:00
mistic100
2f08283864
feature 2978: remove useless sprintf in the core
...
git-svn-id: http://piwigo.org/svn/trunk@25005 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19 11:04:11 +00:00
mistic100
6313ae831d
feature 2978: l10n() and {translate} with additional arguments
...
TODO: apply in core
git-svn-id: http://piwigo.org/svn/trunk@24988 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19 09:21:01 +00:00
mistic100
92d692a334
make get_query_string_diff compatible with arrays and use build-in functions
...
git-svn-id: http://piwigo.org/svn/trunk@24833 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-10 10:53:59 +00:00
mistic100
d05cff9ccc
add function conf_delete_param
...
git-svn-id: http://piwigo.org/svn/trunk@24350 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-09-05 10:41:12 +00:00
mistic100
e9e8d495ef
bug:2947 rewrite format_date() and time_since() with DateTime class + new parameters
...
git-svn-id: http://piwigo.org/svn/trunk@24099 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-08-01 17:03:57 +00:00
mistic100
0b203a8701
add mandatory option for check_input_parameter
...
git-svn-id: http://piwigo.org/svn/trunk@24009 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-07-21 12:05:10 +00:00
plegall
80fc1c2f96
feature 2941: add trigger on get_webmaster_mail_address
...
git-svn-id: http://piwigo.org/svn/trunk@23887 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-07-09 16:41:59 +00:00
mistic100
b1316542e4
bug:2939 switch_lang_to() must reload plugins files
...
git-svn-id: http://piwigo.org/svn/trunk@23823 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-07-07 12:54:44 +00:00
rvelices
6fc07742f8
smarty 3 - first pass for tests
...
git-svn-id: http://piwigo.org/svn/trunk@23384 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-06-20 03:38:47 +00:00
mistic100
6119b6895e
Add trigger "load_conf" at the end of load_conf_from_db()
...
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-06-19 15:21:12 +00:00
rvelices
8083ba10ec
bug 2900: Improve web service output
...
git-svn-id: http://piwigo.org/svn/trunk@22729 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-05-18 03:58:36 +00:00
flop25
6ed179a9c6
correction of rev:21515
...
git-svn-id: http://piwigo.org/svn/trunk@22653 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-05-13 17:26:43 +00:00
rvelices
ea10c19ac5
feature 2836: display the number of comments/tags in the menubar
...
git-svn-id: http://piwigo.org/svn/trunk@21817 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-03-24 06:46:35 +00:00
flop25
539180863f
add the nb of pages as template var for navigation_bar.tpl for extensions
...
git-svn-id: http://piwigo.org/svn/trunk@21515 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-03-12 14:24:46 +00:00
rvelices
f66a624576
start the php session before loading plugins in a standard manner (related to bug 2835: )
...
git-svn-id: http://piwigo.org/svn/trunk@20599 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-02-07 05:43:44 +00:00
patdenice
b39b4e0f39
bug:2835
...
ability detect mobile theme earlier, before plugin load
git-svn-id: http://piwigo.org/svn/trunk@20543 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-02-04 10:02:05 +00:00
mistic100
bd58477644
feature:2823 Add triggers for login system, load function_plugins before function_user
...
git-svn-id: http://piwigo.org/svn/trunk@20325 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-22 15:12:48 +00:00
plegall
4bc775e479
update Piwigo headers to 2013 (the end of the world didn't occur as expected on r12922)
...
git-svn-id: http://piwigo.org/svn/trunk@19703 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-01 12:35:02 +00:00
mistic100
cd1af14ce0
clean some function desc
...
git-svn-id: http://piwigo.org/svn/trunk@19225 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-11-29 14:57:32 +00:00
patdenice
294b6e91b2
bug:2687
...
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-11-07 09:42:28 +00:00
rvelices
856b5a2519
- navigation bar urls are always on the number of images per page boundaries (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-23 20:19:57 +00:00
rvelices
267c548896
- remove unsed code; shorten existing code and improve readability ...
...
git-svn-id: http://piwigo.org/svn/trunk@18629 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-12 20:00:16 +00:00