Parent Directory
|
Revision Log
updated to smarty-2.6.3
1 | cvsjoko | 1.1 | <?php |
2 | joko | 1.2 | /** |
3 | * Smarty plugin | ||
4 | * @package Smarty | ||
5 | * @subpackage plugins | ||
6 | */ | ||
7 | cvsjoko | 1.1 | |
8 | joko | 1.2 | |
9 | /** | ||
10 | * Smarty capitalize modifier plugin | ||
11 | * | ||
12 | * Type: modifier<br> | ||
13 | * Name: capitalize<br> | ||
14 | cvsjoko | 1.1 | * Purpose: capitalize words in the string |
15 | joko | 1.2 | * @link http://smarty.php.net/manual/en/language.modifiers.php#LANGUAGE.MODIFIER.CAPITALIZE |
16 | * capitalize (Smarty online manual) | ||
17 | * @param string | ||
18 | * @return string | ||
19 | cvsjoko | 1.1 | */ |
20 | function smarty_modifier_capitalize($string) | ||
21 | { | ||
22 | joko | 1.2 | return ucwords($string); |
23 | cvsjoko | 1.1 | } |
24 | |||
25 | ?> |
MailToCvsAdmin">MailToCvsAdmin | ViewVC Help |
Powered by ViewVC 1.1.26 | ![]() |