Changeset 2685
- Timestamp:
- 07/03/08 00:38:40 (12 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/release-41/php/lib/function.mtcommentername.php
r1174 r2685 8 8 function smarty_function_mtcommentername($args, &$ctx) { 9 9 $a =& $ctx->stash('commenter'); 10 return isset($a) ? $a['author_nickname'] : ''; 10 $name = isset($a) ? $a['author_nickname'] : ''; 11 if ($name == '') { 12 $name = $ctx->tag('CommentName'); 13 } 14 return $name; 11 15 } 12 ?>
