Changeset 724 for trunk/app/views

Show
Ignore:
Timestamp:
08/14/08 15:21:41 (4 months ago)
Author:
aarkerio
Message:

Little changes

Location:
trunk/app/views
Files:
5 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/views/ecourses/admin_listing.ctp

    r722 r724  
    22echo $html->addCrumb('Control Panel', '/admin/entries/start'); 
    33echo $html->getCrumbs(' / ');  
     4 
     5echo $html->div('title_section', 'eCourses'); 
    46 
    57echo $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  
    33 
    44echo $html->addCrumb('Control Panel', '/admin/entries/start'); 
    5 echo $html->addCrumb('Courses', '/admin/ecourses/listing');  
     5echo $html->addCrumb('eCourses', '/admin/ecourses/listing');  
    66echo $html->getCrumbs(' / ');  
    77 
    8 $str =  'Classrooms  on ' . $data['Ecourse']['title']; 
     8$str = __('vGroups on', true) .': '. $data['Ecourse']['title']; 
    99 
    1010if ( isset( $historic ) ): 
     
    1616 
    1717if ( count($data['Vclassroom']) < 1 ): 
    18     e($html->div('notice', 'No classrooms yet')); 
     18    e($html->div('notice', __('No vGroups yet', true))); 
    1919    $img = 'admin/vgroups-gray.gif';  
    2020else: 
     
    2222endif; 
    2323 
    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)); 
     24echo  $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)); 
    2525 
    2626 
     
    4040endforeach; 
    4141 
    42 if ( !isset( $historic ) ): 
     42/* if ( !isset( $historic ) ): 
    4343echo $html->link( 
    4444                $html->image('admin/historic.png', array('alt'=>__('Filed classrooms', true), 'title'=>__('Filed classrooms', true))),  
    4545                '/admin/ecourses/vclassrooms/'.$data['Ecourse']['id'].'/historic', null, null, false); 
    46 endif; 
     46endif; */ 
    4747?> 
  • trunk/app/views/shares/admin_listing.ctp

    r718 r724  
    4848                           null,  
    4949                           false), 
    50         $val['Share']['file'], 
     50        $html->link($val['Share']['file'], '/files/userfiles/'.$val['Share']['file']), 
    5151        $val['Share']['description'], 
    5252        $html->link($st, '/admin/shares/change/'.$val['Share']['id'].'/'.$val['Share']['public']), 
  • trunk/app/views/treasures/view.ctp

    r687 r724  
    1313 
    1414  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']); 
    1616  echo $html->div(null, $data['Treasure']['instructions']); 
    1717 
    1818  // ajax beggins 
    19 echo $ajax->div('loading',array('style'=>'display:none')).$html->image("static/loading.gif",array("alt"=>"Loading")).$ajax->divEnd('loading');  
     19echo $ajax->div('loading',array('style'=>'display:none')).$html->image('static/loading.gif',array('alt'=>'Loading')).$ajax->divEnd('loading');  
    2020   
    2121  echo $ajax->form(); 
     
    2525  echo $form->hidden('ResultTreasure.points', array('value'=>$data['Treasure']['points'])); 
    2626  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/",  
    2828                                         "update"=>"updater", 
    2929                                         "loading" => "Element.show('loading');Element.hide('updater')", 
  • trunk/app/views/vclassrooms/admin_add.ctp

    r624 r724  
    2222 echo $form->input('Vclassroom.fdate',array('type'=>'date','label'=>__('Finishing date', true), 'dateFormat'=>'DMY')); 
    2323 
    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))); 
    2525 
    26  echo $form->label('Vclassroom.status', __('Enabled', true));  
     26 echo $form->label('Vclassroom.status', __('Published', true));  
    2727 echo $form->checkbox('Vclassroom.status', array('value'=>1)); 
    2828 
    29  echo $form->end('Save');  
     29 echo $form->end(__('Save', true));  
    3030?> 
    3131</fieldset>