Commit Graph
19 Commits
Author SHA1 Message Date
David Goodwin b6e6c49642 if templates_c is not writeable fall back to using sys_get_temp_dir() and add a error_log warning 2026-01-30 11:05:48 +00:00
Christian Boltz d50d171914 Fix 404 when loading css etc. for admins
For admins, the relative path to css etc. is '', not '../'
2025-09-11 21:56:35 +02:00
David Goodwin cb12b6f3ec formatting 2025-04-21 19:33:48 +01:00
David Goodwin ee3329a91c i think this is an actual fix for #913 - add a htmlentities_no_double_encode modifier to smarty and use it to hopefully escape the itemkey variable... 2025-04-11 09:56:56 +01:00
David Goodwin c8bf8ec642 register htmlentities earlier, although i do not think this changes anything 2025-04-11 09:26:42 +01:00
David Goodwin 8ec9140673 fix: "PHP Deprecated: Using unregistered function "htmlentities" in a template..." from Smarty, see https://github.com/postfixadmin/postfixadmin/issues/872 2024-11-22 20:28:34 +00:00
David Goodwin 5a14f4bc1f this might be a more logical approach - only try and call htmlentities on things that are stringy or arrays 2022-08-29 08:35:54 +01:00
David Goodwin f760d2cd3a to not try to sanitise a null - see https://github.com/postfixadmin/postfixadmin/issues/650 2022-08-28 15:01:47 +01:00
Fredrik Falk 9e73025058 Add Domain Key handling 2022-06-23 20:40:06 +02:00
David Goodwin 2edabc3e03 phpcs insists on some brace changes 2021-04-13 21:19:16 +01:00
David Goodwin 823f27b29d phpcs wants to change ... 2021-03-22 09:28:28 +00:00
David Goodwin e3269b62d9 fix formatting 2021-01-26 21:39:11 +00:00
David Goodwin 92fd05cb5d do not worry about escaping an object 2021-01-26 20:42:28 +00:00
David Goodwin da7607c9c5 see #429 - check for some CONF keys before trying to use them 2021-01-23 16:55:41 +00:00
David Goodwin 431d885e4e see: //github.com/postfixadmin/postfixadmin/issues/410 - ignore theme_css if it points to css/default.css; drop css/default.css 2021-01-09 19:43:43 +00:00
David Goodwin f79351aaee composer format 2021-01-08 15:53:55 +00:00
David Goodwin c7850b78eb fix bootstrap theme for users/ urls; make some other links use https. 2021-01-07 20:34:06 +00:00
David Goodwin d83b287297 rejig smarty 2020-09-28 20:33:21 +01:00
David Goodwin 8be966d0bb allow the template to be destroyed 2020-09-27 10:52:19 +01:00