Parent Directory
|
Revision Log
no message
1 | <?php |
2 | |
3 | /* |
4 | * Smarty plugin |
5 | * ------------------------------------------------------------- |
6 | * Type: modifier |
7 | * Name: wordwrap |
8 | * Purpose: wrap a string of text at a given length |
9 | * ------------------------------------------------------------- |
10 | */ |
11 | function smarty_modifier_wordwrap($string,$length=80,$break="\n",$cut=false) |
12 | { |
13 | return wordwrap($string,$length,$break,$cut); |
14 | } |
15 | |
16 | ?> |
MailToCvsAdmin">MailToCvsAdmin | ViewVC Help |
Powered by ViewVC 1.1.26 | ![]() |