Changeset 15570 for trunk/include
- Timestamp:
- Jun 5, 2012, 9:51:54 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/picture_comment.inc.php
r13865 r15570 241 241 { 242 242 $key = get_ephemeral_key(3, $page['image_id']); 243 $content = '';243 $content = $author = ''; 244 244 if ('reject'===@$comment_action) 245 245 { 246 246 $content = htmlspecialchars( stripslashes($comm['content']) ); 247 $author = htmlspecialchars( stripslashes($comm['author']) ); 247 248 } 248 249 $template->assign('comment_add', … … 251 252 'KEY' => $key, 252 253 'CONTENT' => $content, 253 'SHOW_AUTHOR' => !is_classic_user() 254 'SHOW_AUTHOR' => !is_classic_user(), 255 'AUTHOR' => $author , 254 256 )); 255 257 }
Note: See TracChangeset
for help on using the changeset viewer.