Changeset 2817:8b6ca1f5148c for inc/admin/lib.pager.php
- Timestamp:
- 11/26/14 17:45:15 (11 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/admin/lib.pager.php
r2777 r2817 214 214 { 215 215 if ($this->core->auth->check('categories',$this->core->blog->id)) { 216 $cat_link = '<a href=" category.php?id=%s">%s</a>';216 $cat_link = '<a href="'.$this->core->adminurl->decode('admin.category',array('id' => '%s')).'">%s</a>'; 217 217 } else { 218 218 $cat_link = '%2$s'; … … 443 443 444 444 $author_url = 445 'comments.php?n='.$nb_per_page. 446 '&status='.$status. 447 '&sortby='.$sortby. 448 '&order='.$order. 449 '&author='.rawurlencode($this->rs->comment_author); 445 $this->core->adminurl->get('admin.comments',array( 446 'n' => $nb_per_page, 447 'status' => $status, 448 'sortby' => $sortby, 449 'order' => $order, 450 'author' => $this->rs->comment_author 451 )); 450 452 451 453 $post_url = $this->core->getPostAdminURL($this->rs->post_type,$this->rs->post_id); 452 454 453 $comment_url = 'comment.php?id='.$this->rs->comment_id;455 $comment_url = $this->core->adminurl->get('admin.comment',array('id' => $this->rs->comment_id)); 454 456 455 457 $comment_dt = … … 576 578 '<td class="nowrap">'.form::hidden(array('nb_post[]'),(integer) $this->rs->nb_post). 577 579 form::checkbox(array('users[]'),$this->rs->user_id).'</td>'. 578 '<td class="maximal" scope="row"><a href=" user.php?id='.$this->rs->user_id.'">'.580 '<td class="maximal" scope="row"><a href="'.$this->core->adminurl->get('admin.user',array('id' => $this->rs->user_id)).'">'. 579 581 $this->rs->user_id.'</a> '.$img_status.'</td>'. 580 582 '<td class="nowrap">'.html::escapeHTML($this->rs->user_firstname).'</td>'. 581 583 '<td class="nowrap">'.html::escapeHTML($this->rs->user_name).'</td>'. 582 584 '<td class="nowrap">'.html::escapeHTML($this->rs->user_displayname).'</td>'. 583 '<td class="nowrap count"><a href=" posts.php?user_id='.$this->rs->user_id.'">'.585 '<td class="nowrap count"><a href="'.$this->core->adminurl->get('admin.posts',array('user_id' => $this->rs->user_id)).'">'. 584 586 $this->rs->nb_post.'</a></td>'. 585 587 '</tr>';
Note: See TracChangeset
for help on using the changeset viewer.