Changeset 352 for trunk/app/views/ecourses
- Timestamp:
- 03/28/08 10:03:54 (8 months ago)
- Location:
- trunk/app/views/ecourses
- Files:
-
- 2 modified
-
admin_listing.ctp (modified) (1 diff)
-
admin_vclassrooms.ctp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/ecourses/admin_listing.ctp
r340 r352 7 7 echo $html->addCrumb('Courses', '/admin/ecourses/listing'); 8 8 echo $html->getCrumbs(' / '); 9 ?>10 9 11 <p> 12 <?php 13 echo $html->link($html->image('actions/new.png', array("alt"=>"Add new course", "title"=>"Add new course")), '/admin/ecourses/add', null, null, false); 14 ?> 15 </p> 10 echo $html->para(null, $html->link($html->image('actions/new.png', array("alt"=>"Add new course", "title"=>"Add new course")), '/admin/ecourses/add', null, null, false)); 16 11 17 <?php18 //exit(print_r($data));19 12 foreach ($data as $val) 20 13 { 21 echo '<div style="padding:6px 3px 28px 4px;margin:10px 0 5px 0;border:1px dotted gray;">'; 22 echo '<div class="butonright">' .$gags->sendEdit($val['Ecourse']['id'], 'ecourses') . '</div>';23 echo$html->link($val['Ecourse']['title'], '/admin/ecourses/vclassrooms/'.$val['Ecourse']['id']);24 echo '<p>' . $val['Ecourse']['description'] . '</p>';25 echo '<div class="butonright">'. $gags->confirmDel($val['Ecourse']['id'], 'ecourses') .'</div>';26 echo '</div>';14 15 $tmp = $html->div('butonright', $gags->sendEdit($val['Ecourse']['id'], 'ecourses')); 16 $tmp .= $html->link($val['Ecourse']['title'], '/admin/ecourses/vclassrooms/'.$val['Ecourse']['id']); 17 $tmp .= $html->para(null, $val['Ecourse']['description']); 18 $tmp .= $html->div('butonright', $gags->confirmDel($val['Ecourse']['id'], 'ecourses')); 19 echo $html->div('grayblock', $tmp); 27 20 } 28 21 ?> -
trunk/app/views/ecourses/admin_vclassrooms.ctp
r350 r352 6 6 echo $html->getCrumbs(' / '); 7 7 8 echo $html->div('title_section', 'Virtual clasrooms on ' . $data['Ecourse']['title'] . ' e-Course');8 $str = 'Virtual clasrooms on ' . $data['Ecourse']['title'] . ' e-Course'; 9 9 10 if ( isset( $historic ) ) 11 { 12 $str .= ' (filed)'; 13 } 14 15 echo $html->div('title_section', $str); 10 16 11 17 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)); … … 25 31 $tmp .= $html->div('butonright', $gags->confirmDel($val['id'], 'Vclassroom')); 26 32 27 echo $html->div('spaced', $tmp); 33 echo $html->div('grayblock', $tmp); 34 } 35 36 if ( !isset( $historic ) ) 37 { 38 echo $html->link( 39 $html->image('admin/historic.png', array('alt'=>'Filed classrooms', 'title'=>'Filed classrooms')), 40 '/admin/ecourses/vclassrooms/'.$data['Ecourse']['id'].'/historic', null, null, false); 28 41 } 29 42 ?>
