From 4f3bce79bfb5851cef9e7bc655c91bb3093cc401 Mon Sep 17 00:00:00 2001 From: donncha Date: Tue, 12 Jul 2005 11:27:54 +0000 Subject: Initial Import git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- .../wp-content/smarty-plugins/modifier.replace.php | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 wp-inst/wp-content/smarty-plugins/modifier.replace.php (limited to 'wp-inst/wp-content/smarty-plugins/modifier.replace.php') diff --git a/wp-inst/wp-content/smarty-plugins/modifier.replace.php b/wp-inst/wp-content/smarty-plugins/modifier.replace.php new file mode 100644 index 0000000..2a43515 --- /dev/null +++ b/wp-inst/wp-content/smarty-plugins/modifier.replace.php @@ -0,0 +1,29 @@ + + * Name: replace
+ * Purpose: simple search/replace + * @link http://smarty.php.net/manual/en/language.modifier.replace.php + * replace (Smarty online manual) + * @param string + * @param string + * @param string + * @return string + */ +function smarty_modifier_replace($string, $search, $replace) +{ + return str_replace($search, $replace, $string); +} + +/* vim: set expandtab: */ + +?> -- cgit