Changeset 17351 for trunk/include/picture_comment.inc.php
- Timestamp:
- Aug 3, 2012, 7:02:24 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/picture_comment.inc.php
r15924 r17351 49 49 'author' => trim( @$_POST['author'] ), 50 50 'content' => trim( $_POST['content'] ), 51 'website_url' => trim( $_POST['website_url'] ), 51 52 'image_id' => $page['image_id'], 52 53 ); … … 146 147 date, 147 148 image_id, 149 website_url, 148 150 content, 149 151 validated … … 179 181 'DATE' => format_date($row['date'], true), 180 182 'CONTENT' => trigger_event('render_comment_content',$row['content']), 183 'WEBSITE_URL' => $row['website_url'], 181 184 ); 182 185 … … 242 245 { 243 246 $key = get_ephemeral_key(3, $page['image_id']); 244 $content = $author = '';247 $content = $author = $website_url = ''; 245 248 if ('reject'===@$comment_action) 246 249 { 247 250 $content = htmlspecialchars( stripslashes($comm['content']) ); 248 251 $author = htmlspecialchars( stripslashes($comm['author']) ); 252 $website_url = htmlspecialchars( stripslashes($comm['website_url']) ); 249 253 } 250 254 $template->assign('comment_add', … … 255 259 'SHOW_AUTHOR' => !is_classic_user(), 256 260 'AUTHOR' => $author , 261 'WEBSITE_URL' => $website_url, 257 262 )); 258 263 }
Note: See TracChangeset
for help on using the changeset viewer.