Dotclear

Changeset 433:efca095122f8 for inc/admin


Ignore:
Timestamp:
06/28/11 12:38:33 (14 years ago)
Author:
Tomtom33 <tbouron@…>
Branch:
formfilters
Message:

Added column datetime for entries list

File:
1 edited

Legend:

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

    r432 r433  
    112112          $this->addColumn('adminPostList','title',__('Title'),array('adminPostList','getTitle'),' class="maximal"',false); 
    113113          $this->addColumn('adminPostList','date',__('Date'),array('adminPostList','getDate')); 
     114          $this->addColumn('adminPostList','datetime',__('Date and time'),array('adminPostList','getDateTime')); 
    114115          $this->addColumn('adminPostList','category',__('Category'),array('adminPostList','getCategory')); 
    115116          $this->addColumn('adminPostList','author',__('Author'),array('adminPostList','getAuthor')); 
     
    320321     protected function getDate() 
    321322     { 
     323          return '<td class="nowrap">'.dt::dt2str(__('%Y-%m-%d'),$this->rs->post_dt).'</td>'; 
     324     } 
     325      
     326     protected function getDateTime() 
     327     { 
    322328          return '<td class="nowrap">'.dt::dt2str(__('%Y-%m-%d %H:%M'),$this->rs->post_dt).'</td>'; 
    323329     } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map