Changeset 724 for trunk/app/views
- Timestamp:
- 08/14/08 15:21:41 (4 months ago)
- Location:
- trunk/app/views
- Files:
-
- 5 modified
-
ecourses/admin_listing.ctp (modified) (1 diff)
-
ecourses/admin_vclassrooms.ctp (modified) (4 diffs)
-
shares/admin_listing.ctp (modified) (1 diff)
-
treasures/view.ctp (modified) (2 diffs)
-
vclassrooms/admin_add.ctp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/ecourses/admin_listing.ctp
r722 r724 2 2 echo $html->addCrumb('Control Panel', '/admin/entries/start'); 3 3 echo $html->getCrumbs(' / '); 4 5 echo $html->div('title_section', 'eCourses'); 4 6 5 7 echo $html->para(null, $html->link($html->image('actions/new.png', array('alt'=>__('Add new', true), 'title'=>__('Add new',true))), '/admin/ecourses/add', null, null, false)); -
trunk/app/views/ecourses/admin_vclassrooms.ctp
r624 r724 3 3 4 4 echo $html->addCrumb('Control Panel', '/admin/entries/start'); 5 echo $html->addCrumb(' Courses', '/admin/ecourses/listing');5 echo $html->addCrumb('eCourses', '/admin/ecourses/listing'); 6 6 echo $html->getCrumbs(' / '); 7 7 8 $str = 'Classrooms on '. $data['Ecourse']['title'];8 $str = __('vGroups on', true) .': '. $data['Ecourse']['title']; 9 9 10 10 if ( isset( $historic ) ): … … 16 16 17 17 if ( count($data['Vclassroom']) < 1 ): 18 e($html->div('notice', 'No classrooms yet'));18 e($html->div('notice', __('No vGroups yet', true))); 19 19 $img = 'admin/vgroups-gray.gif'; 20 20 else: … … 22 22 endif; 23 23 24 echo $html->para(null, $html->link($html->image($img, array( "alt"=>"Add new group", "title"=>"Add new group")), '/admin/vclassrooms/add/'.$data['Ecourse']['id'], null, null, false));24 echo $html->para(null, $html->link($html->image($img, array('alt'=>__('Add new', true), 'title'=>__('Add new', true))), '/admin/vclassrooms/add/'.$data['Ecourse']['id'], null, null, false)); 25 25 26 26 … … 40 40 endforeach; 41 41 42 if ( !isset( $historic ) ):42 /* if ( !isset( $historic ) ): 43 43 echo $html->link( 44 44 $html->image('admin/historic.png', array('alt'=>__('Filed classrooms', true), 'title'=>__('Filed classrooms', true))), 45 45 '/admin/ecourses/vclassrooms/'.$data['Ecourse']['id'].'/historic', null, null, false); 46 endif; 46 endif; */ 47 47 ?> -
trunk/app/views/shares/admin_listing.ctp
r718 r724 48 48 null, 49 49 false), 50 $ val['Share']['file'],50 $html->link($val['Share']['file'], '/files/userfiles/'.$val['Share']['file']), 51 51 $val['Share']['description'], 52 52 $html->link($st, '/admin/shares/change/'.$val['Share']['id'].'/'.$val['Share']['public']), -
trunk/app/views/treasures/view.ctp
r687 r724 13 13 14 14 echo '<h1>'. $data['Treasure']['title'] . '</h1>'; 15 echo $html->div(null, '<b> Points:</b> '.$data['Treasure']['points']);15 echo $html->div(null, '<b>'. __('Points', true) .':</b> '.$data['Treasure']['points']); 16 16 echo $html->div(null, $data['Treasure']['instructions']); 17 17 18 18 // ajax beggins 19 echo $ajax->div('loading',array('style'=>'display:none')).$html->image( "static/loading.gif",array("alt"=>"Loading")).$ajax->divEnd('loading');19 echo $ajax->div('loading',array('style'=>'display:none')).$html->image('static/loading.gif',array('alt'=>'Loading')).$ajax->divEnd('loading'); 20 20 21 21 echo $ajax->form(); … … 25 25 echo $form->hidden('ResultTreasure.points', array('value'=>$data['Treasure']['points'])); 26 26 echo $form->input('ResultTreasure.secret', array('size' => 15, 'maxlength'=>15, 'title'=>'Secret code', 'between'=>': ')); 27 echo $ajax->submit(__('Send secret word', true).' '. $session->read('Auth.User.username'), array("url" => "/treasures/chksw/",27 echo $ajax->submit(__('Send final code', true).' '. $session->read('Auth.User.username'), array("url" => "/treasures/chksw/", 28 28 "update"=>"updater", 29 29 "loading" => "Element.show('loading');Element.hide('updater')", -
trunk/app/views/vclassrooms/admin_add.ctp
r624 r724 22 22 echo $form->input('Vclassroom.fdate',array('type'=>'date','label'=>__('Finishing date', true), 'dateFormat'=>'DMY')); 23 23 24 echo $form->input('Vclassroom.secret', array('size' => 7, 'maxlength' => 6 ));24 echo $form->input('Vclassroom.secret', array('size' => 7, 'maxlength' => 6, 'label'=>__('Access code', true))); 25 25 26 echo $form->label('Vclassroom.status', __(' Enabled', true));26 echo $form->label('Vclassroom.status', __('Published', true)); 27 27 echo $form->checkbox('Vclassroom.status', array('value'=>1)); 28 28 29 echo $form->end( 'Save');29 echo $form->end(__('Save', true)); 30 30 ?> 31 31 </fieldset>
