]> git.sur5r.net Git - contagged/blob - inc/smarty/plugins/modifier.h.php
Handle URL field RFC conform
[contagged] / inc / smarty / plugins / modifier.h.php
1 <?php
2 /**
3  * Smarty plugin
4  * @package Smarty
5  * @subpackage plugins
6  */
7
8 require_once(dirname(__FILE__).'/modifier.escape.php');
9
10 /**
11  * Shortcut to the Smarty escape modifier plugin
12  *
13  * Type:     modifier<br>
14  * Name:     h<br>
15  */
16 function smarty_modifier_h($string, $esc_type = 'html', $char_set = 'ISO-8859-1')
17 {
18     return smarty_modifier_escape($string,'html','UTF-8');
19 }
20
21 /* vim: set expandtab: */
22
23 ?>