Changeset 617 for trunk/app/views/vclassrooms/admin_listing.ctp
- Timestamp:
- 07/01/08 19:06:58 (5 months ago)
- Files:
-
- 1 modified
-
trunk/app/views/vclassrooms/admin_listing.ctp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/vclassrooms/admin_listing.ctp
r422 r617 10 10 <?php 11 11 12 $th = array ('Edit', 'Virtual classroom', 'Status' );12 $th = array ('Edit', 'Virtual classroom', 'Status', 'See'); 13 13 echo $html->tableHeaders($th); 14 foreach ($data as $val) 15 {16 $st = ( $val['Vclassroom']['status'] == 1 ) ? 'Enabled' : 'Filed'; 17 $tr = array (14 foreach ($data as $val): 15 16 $st = ( $val['Vclassroom']['status'] == 1 ) ? 'Enabled' : 'Filed'; 17 $tr = array ( 18 18 $gags->sendEdit($val['Vclassroom']['id'], 'vclassrooms'), 19 19 $html->link($val['Vclassroom']['name'], '/admin/vclassrooms/members/'.$val['Vclassroom']['id']) . ' <span class="petit">'.$val['Ecourse']['title'].'</span>', 20 $html->link($st,'/admin/vclassrooms/change/'.$val['Vclassroom']['id'].'/'.$val['Vclassroom']['status']) 20 $st, 21 $html->link(__('See Group', true), '/vclassrooms/show/'.$val['Vclassroom']['user_id'].'/'.$val['Vclassroom']['id']) 21 22 //$gags->confirmDel($val['Vclassroom']['id'], 'vclassrooms') 22 23 ); 23 24 24 25 echo $html->tableCells($tr, array("class"=>"altRow", "onmouseover"=>"this.className='highlight'", "onmouseout"=>"this.className='altRow'"), 25 array('class'=>'evenRow',"onmouseover"=>"this.className='highlight'", "onmouseout"=>"this.className='evenRow'"));26 array('class'=>'evenRow',"onmouseover"=>"this.className='highlight'", "onmouseout"=>"this.className='evenRow'")); 26 27 27 } 28 endforeach; 28 29 ?> 29 30 </table> 30 <?php echo $html->para(null, $html->link($html->image('admin/historic.png', array('alt'=>'See historic','title'=>'See classrooms historic')), '/admin/vclassrooms/listing/historic', null, null, false)); ?> 31 <?php 32 echo $html->para(null,$html->link($html->image('admin/historic.png', array('alt'=>'See historic','title'=>'See classrooms historic')), '/admin/vclassrooms/listing/historic', null, null, false)); 33 ?>
