Changeset 851:0993f64c4809 for inc/admin/lib.pager.php
- Timestamp:
- 07/31/12 13:52:11 (13 years ago)
- Branch:
- sexy
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/admin/lib.pager.php
r848 r851 47 47 '<th colspan="2">'.__('Title').'</th>'. 48 48 '<th>'.__('Date').'</th>'. 49 '<th>'.__('Category').'</th>'.50 49 '<th>'.__('Author').'</th>'. 51 50 '<th>'.__('Status').'</th>'. … … 75 74 private function postLine() 76 75 { 77 if ($this->core->auth->check('categories',$this->core->blog->id)) {78 $cat_link = '<a href="category.php?id=%s">%s</a>';79 } else {80 $cat_link = '%2$s';81 }82 83 if ($this->rs->cat_title) {84 $cat_title = sprintf($cat_link,$this->rs->cat_id,85 html::escapeHTML($this->rs->cat_title));86 } else {87 $cat_title = __('None');88 }89 90 76 $img = '<img alt="%1$s" title="%1$s" src="images/%2$s" />'; 91 77 switch ($this->rs->post_status) { … … 130 116 html::escapeHTML($this->rs->post_title).'</a></td>'. 131 117 '<td class="nowrap">'.dt::dt2str(__('%Y-%m-%d %H:%M'),$this->rs->post_dt).'</td>'. 132 '<td class="nowrap">'.$cat_title.'</td>'.133 118 '<td class="nowrap">'.$this->rs->user_id.'</td>'. 134 119 '<td class="nowrap status">'.$img_status.' '.$selected.' '.$protected.' '.$attach.'</td>'.
Note: See TracChangeset
for help on using the changeset viewer.