Changeset 1090 for trunk/include/picture_comment.inc.php
- Timestamp:
- Mar 21, 2006, 2:27:21 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/picture_comment.inc.php
r1084 r1090 28 28 /** 29 29 * This file is included by the picture page to manage user comments 30 * 30 * 31 31 */ 32 32 33 if ( isset( $_POST['content'] ) &&!empty($_POST['content']) )33 if ( isset( $_POST['content'] ) and !empty($_POST['content']) ) 34 34 { 35 35 $register_comment = true; … … 134 134 $page['start'] = 0; 135 135 } 136 136 137 137 $page['navigation_bar'] = create_navigation_bar( 138 138 duplicate_picture_URL(array(), array('start')), … … 142 142 true // We want a clean URL 143 143 ); 144 144 145 145 $template->assign_block_vars( 146 146 'comments', … … 171 171 ? $lang['guest'] 172 172 : $row['author'], 173 173 174 174 'COMMENT_DATE' => format_date( 175 175 $row['date'], 176 176 'mysql_datetime', 177 177 true), 178 178 179 179 'COMMENT' => parse_comment_content($row['content']), 180 180 ) … … 187 187 array( 188 188 'U_COMMENT_DELETE' => 189 $url_self190 .'&action=delete_comment'191 .'&comment_to_delete='.$row['id']189 add_url_param( $url_self, 190 'action=delete_comment&comment_to_delete='.$row['id'] 191 ) 192 192 ) 193 193 );
Note: See TracChangeset
for help on using the changeset viewer.