Changeset 350 for trunk/app/views/ecourses/admin_vclassrooms.ctp
- Timestamp:
- 03/26/08 16:42:32 (10 months ago)
- Files:
-
- 1 modified
-
trunk/app/views/ecourses/admin_vclassrooms.ctp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/ecourses/admin_vclassrooms.ctp
r301 r350 6 6 echo $html->getCrumbs(' / '); 7 7 8 echo '<div class="title_section">Groups on ' . $data['Ecourse']['title'] . '</div>'; 9 ?> 8 echo $html->div('title_section', 'Virtual clasrooms on ' . $data['Ecourse']['title'] . ' e-Course'); 10 9 11 <p>12 <?php13 echo $html->link($html->image('static/vgroups.gif', array("alt"=>"Add new group", "title"=>"Add new group")), '/admin/vclassrooms/add/'.$data['Ecourse']['id'], null, null, false);14 ?>15 </p>16 10 17 <?php 11 echo $html->para(null, $html->link($html->image('static/vgroups.gif', array("alt"=>"Add new group", "title"=>"Add new group")), '/admin/vclassrooms/add/'.$data['Ecourse']['id'], null, null, false)); 12 13 if ( count($data['Vclassroom']) < 1 ) 14 { 15 echo $html->div('notice', 'No classrooms yet'); 16 } 17 18 18 foreach ($data['Vclassroom'] as $val) 19 19 { 20 20 $s = ($val['status'] == 1) ? 'Actived' : ' No actived'; 21 21 22 echo '<div style="padding:6px 3px 28px 4px;margin:10px 0 5px 0;border:1px dotted gray;">';23 echo '<div class="butonright">' .$gags->sendEdit($val['id'], 'vclassrooms') . '</div>';24 echo $html->link($val['name'], '/admin/vclassrooms/members/'.$val['id']);25 echo '<p style="margin-left:15px;">Status: '. $s . '</p>';26 echo '<div class="butonright">'. $gags->confirmDel($val['id'], 'vclassrooms') .'</div>'; 27 echo '</div>';22 $tmp = $html->div('butonright', $gags->sendEdit($val['id'], 'Vclassroom')); 23 $tmp .= $html->link($val['name'], '/admin/vclassrooms/members/'.$val['id']); 24 $tmp .= $html->para(null, 'Status: '. $html->link($s, '/admin/vclassroom/change/'.$val['id'].'/'.$val['status'])); 25 $tmp .= $html->div('butonright', $gags->confirmDel($val['id'], 'Vclassroom')); 26 27 echo $html->div('spaced', $tmp); 28 28 } 29 29 ?>
