add smarty lib
Dieser Commit ist enthalten in:
Ursprung
75b8070f51
Commit
538d71063a
47 geänderte Dateien mit 4373 neuen und 0 gelöschten Zeilen
19
libs/plugins/variablefilter.htmlspecialchars.php
Normale Datei
19
libs/plugins/variablefilter.htmlspecialchars.php
Normale Datei
|
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
/**
|
||||
* Smarty plugin
|
||||
*
|
||||
* @package Smarty
|
||||
* @subpackage PluginsFilter
|
||||
*/
|
||||
|
||||
/**
|
||||
* Smarty htmlspecialchars variablefilter plugin
|
||||
*
|
||||
* @param string $source input string
|
||||
*
|
||||
* @return string filtered output
|
||||
*/
|
||||
function smarty_variablefilter_htmlspecialchars($source)
|
||||
{
|
||||
return htmlspecialchars($source, ENT_QUOTES, Smarty::$_CHARSET);
|
||||
}
|
||||
Laden …
Tabelle hinzufügen
Einen Link hinzufügen
In neuem Issue referenzieren