/class_smarty/plugins/modifier.urlencode.php
https://bitbucket.org/ladasoukup/sb_eventlogmonitor · PHP · 23 lines · 6 code · 4 blank · 13 comment · 0 complexity · 17daf18c85d6bcd697939108c8117a10 MD5 · raw file
- <?php
- /**
- * Smarty plugin
- */
- /**
- * Smarty urlencode modifier plugin
- *
- * Type: modifier<br>
- * Name: urlencode<br>
- * Purpose: do urlencode
- * @param string
- * @return string
- */
- function smarty_modifier_urlencode($string)
- {
- return urlencode($string);
- }
- /* vim: set expandtab: */
- ?>