Commit Graph

153 Commits

Author SHA1 Message Date
plegall
c64efe6ecb fixes #951 update JShrink to version 1.4.0
compatibility with PHP 8.0 but no longer to <5.6 (even if it still work on a 5.4 installation)
2021-08-02 19:16:50 +02:00
plegall
fc193f7474 issue #830 simplify PHP files header, remove copyright/license info 2019-06-04 17:13:51 +02:00
plegall
063711240a Squashed commit of the following:
commit 7190866ccf15033f27095d635546e46dacbb755e
Author: plegall <plg@piwigo.org>
Date:   Thu Jul 12 10:52:33 2018 +0200

    Revert "Replace not maintained cssmin with fork from github https://github.com/natxet/CssMin"

    This reverts commit c8b12a2ed0.

commit 1dac11ecb6783d0d5353c3d250388f018c30fc5c
Author: plegall <plg@piwigo.org>
Date:   Thu Jul 12 10:52:24 2018 +0200

    Revert "Update Smarty to 3.1.3"

    This reverts commit db684f6151.

commit 3ac752dc93912ba5701d22dadd9bb3b81e5bb383
Merge: d1c2e71 8d58256
Author: plegall <plg@piwigo.org>
Date:   Thu Jul 12 10:50:43 2018 +0200

    Merge branch 'php72' of https://github.com/Infern1/Piwigo into Infern1-php72

commit 8d58256c45
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Wed Mar 21 23:40:36 2018 +0100

    new feedcreator version for PHP7

commit bb0fcc3a30
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Wed Mar 21 23:26:27 2018 +0100

    php72 fixes, replaces each() function

commit 3db22c0d33
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Wed Mar 21 23:02:46 2018 +0100

    More fixes for PHP7.2

commit 50d8aafc77
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Mon Mar 19 23:55:21 2018 +0100

    Some more replacements of create_function

commit 8263335c42
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Mon Mar 19 22:54:54 2018 +0100

    Fixed indents

commit 8d58b637c6
Merge: c8b12a2 8a57d77
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Tue Feb 27 13:51:32 2018 +0100

    Merge remote-tracking branch 'upstream/master' into php72

commit c8b12a2ed0
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Thu Jan 18 00:32:46 2018 +0100

    Replace not maintained cssmin with fork from github https://github.com/natxet/CssMin

commit db684f6151
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Thu Jan 18 00:23:24 2018 +0100

    Update Smarty to 3.1.3

commit 6a3f8f3e76
Author: Rob Lensen <rob@bsdfreaks.nl>
Date:   Wed Jan 17 23:40:27 2018 +0100

    Initial work to support PHP 7.2
2018-07-12 10:52:55 +02:00
plegall
8a57d777aa fixes #596, compatibility with PHP 7.1 2018-02-27 12:01:45 +01:00
plegall
c789347c51 happy new year 2016, all headers updated 2016-01-14 12:17:58 +01:00
plegall
194b0ca3c9 bug 3119 fixed: patch by mmoy, allow @import url(http://...); directives in minified CSS file.
git-svn-id: http://piwigo.org/svn/trunk@29636 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-19 08:46:12 +00:00
plegall
ab00c52430 feature 3133: add colorscheme parameter for themes. This way we can use the
appropriate CSS for selectize (and other things)


git-svn-id: http://piwigo.org/svn/trunk@29389 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-09-03 09:02:07 +00:00
plegall
3b9e2659b0 i18n for the new HTML5 upload (use i18n files from plupload)
optional specific $lang_info[jquery_code] and $lang_info[plupload_code] to load the right i18n file


git-svn-id: http://piwigo.org/svn/trunk@28917 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-07-02 12:43:29 +00:00
mistic100
84d94906d2 add dark selectize theme + "ternary" template modifier
git-svn-id: http://piwigo.org/svn/trunk@28703 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-14 14:15:05 +00:00
rvelices
0fe08001c3 local css prefilter does not need new line before get_combined_css
git-svn-id: http://piwigo.org/svn/trunk@28600 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-06-02 19:57:30 +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
ccf3a7b6c4 remove Smarty backward compatible class (pre Smarty3)
git-svn-id: http://piwigo.org/svn/trunk@27184 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-02-04 20:12:44 +00:00
mistic100
4a2ee2dfd7 bug 3024: Warning: array_merge(): Argument 1 is not an array on template.class.php
git-svn-id: http://piwigo.org/svn/trunk@26863 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-18 15:11:59 +00:00
rvelices
089c4542fb bug 2963: Ability to create css/js smarty templates with caching (scripts was not using template parameter)
git-svn-id: http://piwigo.org/svn/trunk@26718 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-01-14 21:13:40 +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
e1c2ba81b1 feature 2985: missing multiplier when comparing css orders
git-svn-id: http://piwigo.org/svn/trunk@26073 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-21 21:39:41 +00:00
mistic100
4dc1d52afb feature 2999: finish documentation of template.class.php
git-svn-id: http://piwigo.org/svn/trunk@25815 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-07 11:21:07 +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
1e69be0b7a FileCombiner does not try to change url of images embedded in base64
git-svn-id: http://piwigo.org/svn/trunk@25800 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-12-06 17:18:19 +00:00
rvelices
5122b6df1f bug 2963: Ability to create css/js smarty templates - fixes (last I hope)
git-svn-id: http://piwigo.org/svn/trunk@25568 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-19 04:26:07 +00:00
mistic100
54343578e9 feature 2963 & feature 2985 : more flexibility for FileCombiner (keep API compatibility)
git-svn-id: http://piwigo.org/svn/trunk@25547 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-18 08:53:24 +00:00
rvelices
6078216e68 bug 2963: Ability to create css/js smarty templates - fixes rare cases + code simplifications
git-svn-id: http://piwigo.org/svn/trunk@25544 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-18 05:01:11 +00:00
mistic100
04ff320e6e feature 2985: allow combine_script to set an ID in order the deal with stylesheets overlap
git-svn-id: http://piwigo.org/svn/trunk@25506 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-17 14:01:07 +00:00
rvelices
53ac8a878e bug 2963: Ability to create css/js smarty templates - fixes again
git-svn-id: http://piwigo.org/svn/trunk@25471 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-12 21:43:50 +00:00
rvelices
18d9bff158 bug 2963: Ability to create css/js smarty templates - fixes
git-svn-id: http://piwigo.org/svn/trunk@25464 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-12 20:30:35 +00:00
rvelices
35337b01ae bug 2963: Ability to create css/js smarty templates with caching
so far can add template=true to combine_css function

git-svn-id: http://piwigo.org/svn/trunk@25462 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-11-12 06:33:30 +00:00
rvelices
e0518947f3 private method becomes public (use in plugin)
git-svn-id: http://piwigo.org/svn/trunk@25231 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-30 06:34:21 +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
rvelices
3c3c3aacc9 replace the language_prefilter with a postfilter (now that smarty has modifiercompiler feature, there is no need for prefilter)
git-svn-id: http://piwigo.org/svn/trunk@23688 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-06-30 05:34:55 +00:00
rvelices
cbd0a1e886 fix define_derivative (matter of smarty3 variable scope)
git-svn-id: http://piwigo.org/svn/trunk@23588 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-06-27 04:37:38 +00:00
rvelices
d12e519e1a Smart 3 - fix per handle prefilters
git-svn-id: http://piwigo.org/svn/trunk@23495 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-06-24 04:16:53 +00:00
rvelices
b93085c7fb Smarty3 added 'translate_dec' compilermodifier (generated code is a lot better than $pwg->l10n_dec)
git-svn-id: http://piwigo.org/svn/trunk@23476 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-06-23 18:39:31 +00:00
rvelices
9da3d7f92e bug 2858: Smarty3 fix php warnings, concat, used modifier on array
git-svn-id: http://piwigo.org/svn/trunk@23425 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-06-21 05:04:57 +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
2b8ea75b1d feature:2785 Improve template method to sort actions buttons
+ add default rank = 50

git-svn-id: http://piwigo.org/svn/trunk@23263 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-06-16 17:15:24 +00:00
rvelices
25b6955cef combine_script recognizes path starting with // as absolute urls
git-svn-id: http://piwigo.org/svn/trunk@23184 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-06-13 18:26:18 +00:00
rvelices
87ed74afd9 - remove code for backward compatibility (jquery ui effect + template variable)
git-svn-id: http://piwigo.org/svn/trunk@21818 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-03-24 06:49:06 +00:00
mistic100
beb5ee38e5 separate each html_style with a nex line, for source code lisibility
git-svn-id: http://piwigo.org/svn/trunk@20370 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-25 11:28:22 +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
flop25
237478931b bug:2797 added !defined('IN_ADMIN') to prefilter_local_css to exlude the local css files from the administration part
git-svn-id: http://piwigo.org/svn/trunk@19696 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-12-31 14:07:12 +00:00
mistic100
69a2071778 bug:2663 replace JSmin by JShrink
git-svn-id: http://piwigo.org/svn/trunk@19576 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-12-26 11:39:32 +00:00
rvelices
8a44113765 feature 2771: added backward compatibility with pre jquery ui 1.9 effect file naming (combine script id issues)
git-svn-id: http://piwigo.org/svn/trunk@18775 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-28 21:25:43 +00:00
mistic100
457dbb4dac feature:2781 Add template method to sort actions buttons
git-svn-id: http://piwigo.org/svn/trunk@18760 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-27 12:32:43 +00:00
rvelices
97294dac5a feature 2771: upgrade jquery from 1.7.2 to 1.8.2 and jquery.ui from 1.8.16 to 1.9.0
Attention plugins: jquery ui effect script ids change when using combine_script because file names changed ... 

git-svn-id: http://piwigo.org/svn/trunk@18630 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-12 20:32:30 +00:00
rvelices
c918bb9209 bug 2725: Piwigo isn't compatible with suPHP + better handling of watermark upload errors
git-svn-id: http://piwigo.org/svn/trunk@17675 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-08-30 19:20:00 +00:00
rvelices
4ca257c5d7 - fix smartpocket : web service calls in admin not working on iphones
- removed unused func params in template

git-svn-id: http://piwigo.org/svn/trunk@17021 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-25 17:24:54 +00:00
mistic100
ba6dfe6a34 bug 2674: cssmin 3.0.1 requires PHP 5.2.4
git-svn-id: http://piwigo.org/svn/trunk@16278 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-02 13:08:07 +00:00
flop25
7f9c121049 orthographic correction
git-svn-id: http://piwigo.org/svn/trunk@13871 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-04-03 18:15:04 +00:00
rvelices
a893882789 - multisize thumb longest side can be smaller than the square size
- 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-18 20:46:46 +00:00