Location: PHPKode > projects > Open Rent Stock > rentstock/ext/smarty/smarty_extensions/modifier.fullhtml.php
<?php



require_once(dirname(__FILE__). '/modifier.bbcode.php');

/**
 * this is used for input and texarea fields
 * this does not provide bbcode and nlbr
 * in this case use fullhtml
 * 
 */
function smarty_modifier_fullhtml($string, $char_set = null)
{
    if(!$char_set) $char_set = SMARTY_MOD_HTML_USE_CHARSET;
	return smarty_modifier_bbcode(nl2br(htmlentities($string, ENT_QUOTES, $char_set)));

}


?>
Return current item: Open Rent Stock