Changeset 813 for trunk/app/views
- Timestamp:
- 10/12/08 17:27:53 (7 weeks ago)
- Files:
-
- 1 modified
-
trunk/app/views/podcasts/admin_listing.ctp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/podcasts/admin_listing.ctp
r650 r813 6 6 7 7 echo $html->para(null, $html->link($html->image('actions/new.png', 8 array( "alt"=>"Add podcast", "title"=>"Add podcast")), '/admin/podcasts/add',9 null, false, false));8 array('alt'=>__('Add new',true), 'title'=>__('Add new',true))), '/admin/podcasts/add', 9 null, null, false)); 10 10 ?> 11 11 <table class="tbadmin"> … … 13 13 //die(debug($data)); 14 14 15 $th = array ('Edit', 'Title', 'Description', 'Created', 'Status', 'Hear','Delete');15 $th = array(__('Edit', true), __('Title', true), __('Description', true), __('Created', true), __('Status', true), __('Hear',true),__('Delete',true)); 16 16 echo $html->tableHeaders($th); 17 foreach ($data as $val) 18 { 17 foreach ($data as $val): 19 18 $st = $gags->setStatus($val['Podcast']['status']); //current status: published/draft 20 19 $tr = array ( … … 31 30 array('class'=>'evenRow',"onmouseover"=>"this.className='highlight'", "onmouseout"=>"this.className='evenRow'")); 32 31 33 } 32 endforeach; 34 33 ?> 35 34 </table>
