Implemented plugin architecture.

This commit is contained in:
andrey
2002-01-31 20:49:40 +00:00
parent 70b076bf0b
commit e6fc0e5291
69 changed files with 3561 additions and 1706 deletions

View File

@@ -0,0 +1,18 @@
<?php
/*
* Smarty plugin
* -------------------------------------------------------------
* Type: modifier
* Name: replace
* Purpose: simple search/replace
* -------------------------------------------------------------
*/
function smarty_modifier_replace($string, $search, $replace)
{
return str_replace($search, $replace, $string);
}
/* vim: set expandtab: */
?>