Changeset 669

Show
Ignore:
Timestamp:
07/22/08 18:36:58 (3 months ago)
Author:
aarkerio
Message:

Update forums and tests

Location:
trunk/app
Files:
1 added
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/locale/spa/LC_MESSAGES/default.po

    r666 r669  
    1919msgid  "Hint" 
    2020msgstr "Pista" 
     21 
     22msgid  "Assign to group" 
     23msgstr "Asignar a grupo" 
     24 
     25msgid  "Assign this test" 
     26msgstr "Asignar este examen" 
    2127 
    2228msgid  "Explanation" 
  • trunk/app/views/tests/admin_questions.ctp

    r666 r669  
    88 echo $html->div(null,$html->image('static/loading.gif', array("alt"=>"Loading")), array('id'=>'loading', 'style'=>'display: none;')); 
    99 
    10  echo $html->para(null, $html->link('Edit', '/admin/tests/edit/'.$data['Test']['id']).'  '.$html->link('Assign to class', '/admin/tests/vclassrooms/'.$data['Test']['id'])); 
     10 echo $html->para(null, $html->link($html->image('static/edit_icon.gif', array('alt'=>__('Edit', true), 'title'=>__('Edit', true))),  
     11'/admin/tests/edit/'.$data['Test']['id'],  null, null, false).'  '.$html->link($html->image('static/assign_icon.gif', array('alt'=>__('Assign to group', true), 'title'=>__('Assign to group', true))), '/admin/tests/vclassrooms/'.$data['Test']['id'], null, null, false)); 
    1112 
    1213 echo '<b>'.__('Title',true).'</b> ' . $data['Test']['title'] . '<br />'; 
  • trunk/app/views/tests/admin_vclassrooms.ctp

    r373 r669  
    11<?php 
    2  echo $html->addCrumb('Control Tools', '/admin/entries/start'); 
    3  echo $html->addCrumb('Tests', '/admin/tests/listing'); 
     2 echo $html->addCrumb('Control Panel', '/admin/entries/start'); 
     3 echo $html->addCrumb(__('Tests', true), '/admin/tests/listing'); 
    44 echo $html->getCrumbs(' / '); 
    55//die( debug( $data ) ); 
     
    1919       $tmp .= $form->hidden('TestsVclassroom.test_id', array('value'=>$test_id)); 
    2020       $tmp .= $form->hidden('TestsVclassroom.vclassroom_id', array('value'=>$val['Vclassroom']['id'])); 
    21        $tmp .= $form->end('Assign this test'); 
     21       $tmp .= $form->end(__('Assign this test', true)); 
    2222   
    2323   else: