Changeset 1084 for trunk/include/picture_comment.inc.php
- Timestamp:
- Mar 16, 2006, 11:34:45 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/picture_comment.inc.php
r1082 r1084 130 130 131 131 // navigation bar creation 132 $url = PHPWG_ROOT_PATH.'picture.php'; 133 $url.= get_query_string_diff(array('add_fav','start')); 134 135 // $url = duplicate_picture_URL( 136 // array(), 137 // array('start') 138 // ); 139 140 if (!isset($_GET['start']) 141 or !is_numeric($_GET['start']) 142 or (is_numeric($_GET['start']) and $_GET['start'] < 0)) 132 if (!isset($page['start'])) 143 133 { 144 134 $page['start'] = 0; 145 135 } 146 else 147 { 148 $page['start'] = $_GET['start']; 149 } 136 150 137 $page['navigation_bar'] = create_navigation_bar( 151 $url,138 duplicate_picture_URL(array(), array('start')), 152 139 $row['nb_comments'], 153 140 $page['start'], 154 141 $conf['nb_comment_page'], 155 ''142 true // We want a clean URL 156 143 ); 157 144 … … 199 186 'comments.comment.delete', 200 187 array( 201 'U_COMMENT_DELETE' => $url.'&del='.$row['id'] 188 'U_COMMENT_DELETE' => 189 $url_self 190 .'&action=delete_comment' 191 .'&comment_to_delete='.$row['id'] 202 192 ) 203 193 );
Note: See TracChangeset
for help on using the changeset viewer.