Auf Smarty umgestellt

This commit is contained in:
Robin Kloppe 2014-04-01 20:38:34 +02:00
parent d44a644cc1
commit 54a7fb72e5
123 changed files with 25664 additions and 30 deletions

View file

@ -0,0 +1,19 @@
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsFilter
*/
/**
* Smarty htmlspecialchars variablefilter plugin
*
* @param string $source input string
* @param Smarty_Internal_Template $smarty Smarty object
* @return string filtered output
*/
function smarty_variablefilter_htmlspecialchars($source, $smarty)
{
return htmlspecialchars($source, ENT_QUOTES, Smarty::$_CHARSET);
}