Dotclear


Ignore:
Timestamp:
07/31/12 13:52:11 (13 years ago)
Author:
Dsls <dsls@…>
Branch:
sexy
Message:

sexy step 2 : no more cats.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/lib.pager.php

    r848 r851  
    4747               '<th colspan="2">'.__('Title').'</th>'. 
    4848               '<th>'.__('Date').'</th>'. 
    49                '<th>'.__('Category').'</th>'. 
    5049               '<th>'.__('Author').'</th>'. 
    5150               '<th>'.__('Status').'</th>'. 
     
    7574     private function postLine() 
    7675     { 
    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            
    9076          $img = '<img alt="%1$s" title="%1$s" src="images/%2$s" />'; 
    9177          switch ($this->rs->post_status) { 
     
    130116          html::escapeHTML($this->rs->post_title).'</a></td>'. 
    131117          '<td class="nowrap">'.dt::dt2str(__('%Y-%m-%d %H:%M'),$this->rs->post_dt).'</td>'. 
    132           '<td class="nowrap">'.$cat_title.'</td>'. 
    133118          '<td class="nowrap">'.$this->rs->user_id.'</td>'. 
    134119          '<td class="nowrap status">'.$img_status.' '.$selected.' '.$protected.' '.$attach.'</td>'. 
Note: See TracChangeset for help on using the changeset viewer.

Sites map