- set $this->template->allow_php_tag = true instead of editing
smarty/libs/Smarty.class.php after every smarty upgrade
added smarty/smarty_version with:
- a note about the current smarty version
- a note about additional files not part of the smarty package
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@973 a1433add-5e2c-0410-b055-b7f2511e0802
- use correct variable name instead of $smarty in __construct()
- everything else in this commit: whitespace changes
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@964 a1433add-5e2c-0410-b055-b7f2511e0802
- move initialisation of $smarty->template_dir, compile_dir and
config_dir into __construct() of PFASmarty class
- remove usage of /tmp/postfixadmin_templates_c/ to avoid security
risks (symlink attacks etc.)
- remove __set, __get and __call from PFASmarty class to ensure we
have a clearly documented interface to the template layer
- whitespace changes (mostly in select_options())
- added vim: line
See also the discussion about the r949 commit in postfixadmin-devel
for details.
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@957 a1433add-5e2c-0410-b055-b7f2511e0802
- hand over $search to smarty templates
templates/list-virtual_alias.tpl, templates/list-virtual_alias_domain.tpl:
- add search result highlighting
templates/list-virtual_mailbox.tpl:
- add search result highlighting
- move output of "Mailbox" / "Forward only" outside the foreach loop
(was displayed once per mailbox alias target)
css/default.css:
- add style for ".searchresult"
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@868 a1433add-5e2c-0410-b055-b7f2511e0802