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