Parent Directory
|
Revision Log
no message
1 | <?php |
2 | |
3 | /* |
4 | * Smarty plugin |
5 | * ------------------------------------------------------------- |
6 | * Type: modifier |
7 | * Name: replace |
8 | * Purpose: simple search/replace |
9 | * ------------------------------------------------------------- |
10 | */ |
11 | function smarty_modifier_replace($string, $search, $replace) |
12 | { |
13 | return str_replace($search, $replace, $string); |
14 | } |
15 | |
16 | /* vim: set expandtab: */ |
17 | |
18 | ?> |
MailToCvsAdmin">MailToCvsAdmin | ViewVC Help |
Powered by ViewVC 1.1.26 | ![]() |