31 Commits

Author SHA1 Message Date
HWFord
435837a2e3 issue #2467 change boolean cast 2025-12-01 14:35:43 +01:00
Linty
1be0527523 issue #2405 update smarty
and made Piwigo compatible with smarty 5.x
2025-09-17 12:05:48 +02:00
plegall
bf9a48f63d fixes #2066 keep Smarty compatible with PHP 7.0 2023-12-13 15:06:46 +01:00
plegall
daf2478dff issue #1845 remove docs directory from Smarty 2023-04-17 10:54:32 +02:00
plegall
7752138b04 issue #1845 update Smarty from 4.1.0 to 4.3.1 (compat PHP 8.2) 2023-04-17 10:49:21 +02:00
plegall
6d416c5d6f fixes #1855 remove Smarty demo (security purpose) 2023-01-25 14:18:16 +01:00
Matthieu Leproux
ecfa090d6d related to #1693 changed smarty version to 4.1.0 2022-07-27 18:46:17 +02:00
plegall
97fce5d251 fixes #1545 avoid fatal error during upgrade from 11 to 12 2021-11-03 19:12:58 +01:00
Matthieu Leproux
e537eac9dd smarty 3.1.39 upgrade 2021-08-06 15:57:14 +02:00
Rasmus Lerdorf
f9edbd34f7 PHP 7.4 fixes 2020-03-25 14:55:57 +01:00
Rob Lensen
68f83a5902 Fix for Msarty and PHP7.2 2018-07-12 10:59:32 +02:00
plegall
727b9827af Revert "bug #405 fixed, embed CSS style inline"
This reverts commit f3cb99ea09.
2016-01-22 21:57:24 +01:00
plegall
f3cb99ea09 bug #405 fixed, embed CSS style inline
emogrifier could not work, unless we reapply changes introduced by @mistic100 in earlier commits 9cc816d364 and efbc08e537
2016-01-21 15:14:37 +01:00
plegall
968e9ff06d changes on Smarty side breaks all prefilter in Piwigo
It would be better to modify the way template.class.php registers prefilters
but I didn't find the appropriate data structure.
2016-01-21 15:11:32 +01:00
plegall
d33051cb72 update to Smarty 3.1.29 2016-01-21 15:10:02 +01:00
plegall
8cd9c6602c changes on Smarty side breaks all prefilter in Piwigo
It would be better to modify the way template.class.php registers prefilters
but I didn't find the appropriate data structure.
2015-12-20 14:54:07 +01:00
plegall
3282ddbe2e update Smarty to official version 3.1.28 2015-12-15 15:24:01 +01:00
plegall
fa10e0945e bug #385 update to smarty-3.1.28-dev (from Github) 2015-12-10 14:02:22 +01:00
mistic100
efbc08e537 2816: {strip} removes too much things, fixed again for smarty 3
git-svn-id: http://piwigo.org/svn/trunk@24877 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-12 11:14:07 +00:00
rvelices
61ca0d0c6c Smarty EOL style LF svn property
git-svn-id: http://piwigo.org/svn/trunk@23485 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-06-23 19:25:17 +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
9cc816d364 feature 2816: {strip} smarty tag can introduce bugs in javascript + fix picture.tpl
git-svn-id: http://piwigo.org/svn/trunk@19575 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-12-26 11:35:40 +00:00
rvelices
5f1a286e08 - fix smarty debugging info (not important)
git-svn-id: http://piwigo.org/svn/trunk@3703 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-30 03:59:18 +00:00
patdenice
0870a47e99 merge r3583 from branch 2.0 to trunk
Update smarty to 2.6.26


git-svn-id: http://piwigo.org/svn/trunk@3584 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-15 11:43:44 +00:00
nikrou
bea3462f56 fix html warnings. unclosed monotags
git-svn-id: http://piwigo.org/svn/trunk@3185 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-09 19:41:45 +00:00
rvelices
06bccdfcc3 optimizations (php only)
- removed unnecessary call to array_unique in get_image_ids_for_tags
- put back in smarty exec time counting (debug mode) for each included template
- prefix some smarty modifiers with @ in some templates
- do not call format_date (still very slow due to mktime and date even after prev commit) from category_default.inc.php - if used in templates format_date can be used as a smarty modifier

git-svn-id: http://piwigo.org/svn/trunk@3120 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-02-04 02:30:48 +00:00
patdenice
d1e100bd03 Upgrade Smarty to 2.6.22
git-svn-id: http://piwigo.org/svn/trunk@3000 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-12-19 18:12:48 +00:00
patdenice
c7e54656fe Update Smarty to 2.6.21
git-svn-id: http://piwigo.org/svn/trunk@2961 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-12-09 16:08:48 +00:00
rvelices
159fbc8377 - upgrade smarty to latest release 2.6.20
git-svn-id: http://piwigo.org/svn/trunk@2538 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-09-16 10:17:20 +00:00
rvelices
35076ee1b9 - index.tpl, menubar.tpl, mainpage_categories.tpl and month_calendar.tpl go smarty
- better template debugging tweak (the smarty console is shown only once at the end)

git-svn-id: http://piwigo.org/svn/trunk@2231 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-03-01 13:12:07 +00:00
rvelices
75bb450a6e - first smarty use ... (in admin.php and admin plugins page)
git-svn-id: http://piwigo.org/svn/trunk@2216 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-02-27 02:31:51 +00:00