www.gusucode.com > 74cms PHP骑士人才系统 v3.5.1源码程序 > code/upload/include/template_lite/plugins/modifier.replace.php
<?php /** * template_lite replace modifier plugin * * Type: modifier * Name: replace * Purpose: Wrapper for the PHP 'str_replace' function * Credit: Taken from the original Smarty * http://smarty.php.net */ function tpl_modifier_replace($string, $search, $replace) { return str_replace($search, $replace, $string); } ?>