168 Commits

Author SHA1 Message Date
HWFord
27caef885e fixes #2486 add stdPgs config tab in admin
add skins and screenshots for skins
add admin tpl and css
update stdPgs tpl to have dynamic header section
2025-12-19 16:05:24 +01:00
Linty
fcb465f039 fixes #1948 replace cssmin by minify
- switched from cssmin to matthiasmullie/minify for CSS minification.
- the minify lib requires the path-converter lib (from the same author), which has been added as well (in include/minify/path-converter).

This change is necessary because cssmin is not compatible with PHP 8.4
2025-09-23 16:28:29 +02:00
Linty
1be0527523 issue #2405 update smarty
and made Piwigo compatible with smarty 5.x
2025-09-17 12:05:48 +02:00
Linty
9bcc2cfa02 fixes #2354 add profile standard page 2025-05-05 21:40:59 +02:00
HWFord
f88472fa9c fixes #2345 create piwigo standard pages
create new theme standard pages with tpl, css, js and images
update backend to handle pages
add config use_standard_pages
on update set config to false, on install set config to true
add standard pages to no be ingored in git
2025-03-18 16:46:41 +01:00
plegall
158e99573b Revert "issue #2155 more PHP functions {end, key} for SmartPocket"
This reverts commit d2941d71c2.

Using end/key in Smarty template (SmartPocket navigation_bar.tpl) actually does not
work. SmartPocket now (14.4.0.2) uses a dedicated template variable to know the total
number of pages.
2024-05-31 11:12:52 +02:00
plegall
d2941d71c2 issue #2155 more PHP functions {end, key} for SmartPocket 2024-04-29 09:48:55 +02:00
plegall
ac98cfdcc2 fixes #2155 register more PHP functions for templates 2024-04-24 16:27:31 +02:00
HWFord
9fd4026a97 issue #1845 register another PHP function(stristr)
Used in new PEM
2024-01-03 15:26:21 +01:00
Willy "Linty
38004d5d93 issue #1845 Theme SimpleNG requires str_ireplace php function 2023-12-11 11:26:00 +01:00
HWFord
c88ca1ed0f issue #1845 register another PHP function(strstr) 2023-08-07 17:12:59 +02:00
plegall
86cf245108 issue #1845 adapt Piwigo to Smarty 4.3.1 2023-04-17 10:49:54 +02:00
Matthieu Leproux
e270e1b957 fixes #1729 fixing php error 2022-09-14 16:36:04 +02:00
Ludovic Chopin
3239296bf3 issue #1363: Fix crc32 for 32bit processors 2022-07-22 12:36:38 +02:00
Matthieu Leproux
735b670599 related to #1693 solve deprecated trim and str_replace 2022-07-19 11:57:12 +02:00
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