Changeset 221
- Timestamp:
- 07/05/10 08:58:56 (19 months ago)
- File:
-
- 1 edited
-
branches/fuze/core/classes/user.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/fuze/core/classes/user.class.php
r218 r221 420 420 while ($comment = $inDB->fetch_assoc($result)){ 421 421 $comment['pubdate'] = $inCore->dateFormat($comment['pubdate']); 422 if (sizeof($comment['content'])>50){ 423 $comment['content'] = substr($comment['content'], 0, 50) . '...'; 424 } 422 $comment['content'] = strip_tags($inCore->parseSmiles($comment['content'], true)); 423 if (strlen($comment['content'])>70) { 424 $comment['content'] = substr($comment['content'], 0, 70). '...'; 425 } 426 if (!$comment['content']) { $comment['content'] = '...'; } 425 427 $comments[] = $comment; 426 428 }
Note: See TracChangeset
for help on using the changeset viewer.
