1 Commits (postfixadmin-3.2.2)

Author SHA1 Message Date
David Goodwin b97decb7c2 add a lib directory; move smarty into it; add random_compat phar (for random_bytes() on PHP < 7) 8 years ago
Adrien Crivelli 15df6c1d7b
Reformat everything with PHP-Cs-Fixer 8 years ago
David Goodwin 99147d51eb move public facing stuff into public/, this allows us to stop exposing templates_c/ etc to the world 8 years ago
David Goodwin c476a61ec4 clear stat cache so the is_writeable() result will eventually change with subsequent page reloads if the user has actually fixed the dir 9 years ago
Christian Boltz e3a701ba24
drop fallback for templates_c, die() instead 9 years ago
David Goodwin 7e496094e0 fall back to sys_get_temp_dir() if we cannot write to a templates_c like place 9 years ago
David Goodwin b8051515db check whether we can use templates_c (this seems a better idea than falling back to using something in /tmp) 9 years ago
David Goodwin 2bed4110a5 update Smarty to 3.1.29 10 years ago
Christian Boltz ba46282f92 use smarty html_options instead of select_options() 10 years ago
Christian Boltz 35fad174f7 smarty.inc.php: 11 years ago
David Goodwin c7bceb77cb smarty.inc.php : use !empty to avoid php moaning 12 years ago
Christian Boltz ee90f4a74e smarty.inc.php: 13 years ago
Christian Boltz 96b1c3c7f4 list-virtual.php, smarty.inc.php: 13 years ago
Christian Boltz 89ffcbf25f smarty.inc.php: 14 years ago
Christian Boltz 06c2d414ef smarty.inc.php: some fixes after the Smarty upgrade: 15 years ago
Christian Boltz dc54de1657 smarty.inc.php - select_options(): 15 years ago
Christian Boltz 3dcd56c77a Replaced motd*.txt with $CONF[motd_*] options 15 years ago
Christian Boltz 484e7a74f0 smarty.inc.php: 15 years ago
Christian Boltz 7dc3d62f3d smarty.inc.php: 15 years ago
Christian Boltz 43d1b71d4d smarty.inc.php: 15 years ago
Christian Boltz 240079c16f smarty.inc.php: 15 years ago
Christian Boltz e3b25d99b4 smarty.inc.php: 15 years ago
Christian Boltz a93d63a692 smarty.inc.php: interface cleanup etc. 15 years ago
David Goodwin 7424cb0c1a remove strict standards issue with redefinition of smarty::assign() with different parameters than parent class; ideally I should not put the __get/__set/__call methods in here as living without them would reduce our dependency on smarty, but meh (PFASmarty should stil appear and BEHAVE like a Smarty object, it just technically is not one - it is just using one 15 years ago
Christian Boltz 4c912f1da8 list-virtual.php: 16 years ago
David Goodwin 017b062acd extend the Smarty class so when assigning data to it, it is automatically escaped (unless specified otherwise with a 3rd parameter (false) in the assign function call). This will probably cause some breakage esp where translations have html embedded within them - however i would rather this were the case than the application be vulnerable to XSS 17 years ago
Sebastian 4a3e525f24 - small fix to smarty.inc.php. Really use our compile and templates directory 17 years ago
Sebastian 8360ca09d0 - fixed one more short open tag. 17 years ago
Sebastian 0b41887b36 - add <?php tags. 17 years ago
Sebastian b1287d97e2 - big merge of Postfixadmin smarty into trunk 17 years ago