Changeset 720 for trunk/app/views
- Timestamp:
- 08/11/08 18:34:59 (4 months ago)
- Location:
- trunk/app/views
- Files:
-
- 2 modified
-
topics/display.ctp (modified) (2 diffs)
-
webquests/view.ctp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/topics/display.ctp
r640 r720 3 3 echo '<h1>'. $data['Forum']['title'] .'</h1>'; 4 4 5 echo $html->para(null, $data['User']['username'] . ' suggest topic: <b>'.$data['Topic']['subject'] .'</b> at <span class="dates">'.$data['Topic']['created'].'</span>');5 echo $html->para(null, $data['User']['username'] .' '. __('suggested topic', true).':<b> '.$data['Topic']['subject'] .'</b> at <span class="dates">'.$data['Topic']['created'].'</span>'); 6 6 7 7 echo $html->para(null, $html->link( 8 $html->image('static/return.jpg', array('alt'=> 'Return to '. $data['Forum']['title'], 'title'=>'Return to'. $data['Forum']['title']))8 $html->image('static/return.jpg', array('alt'=>__('Return to', true).' '. $data['Forum']['title'], 'title'=>__('Return to', true).' '. $data['Forum']['title'])) 9 9 , '/forums/display/'.$data['Topic']['forum_id'].'/'.$data['Topic']['vclassroom_id'], null, null, false)); 10 10 11 echo $html->div('titentry', 'Discussion on'.$data['Topic']['subject']);12 echo $html->para(null, '<b> Discussion topic:</b> '.$data['Topic']['message']);11 echo $html->div('titentry', __('Discussion on', true) .' '.$data['Topic']['subject']); 12 echo $html->para(null, '<b>'.__('Discussion topic', true).':</b> '.$data['Topic']['message']); 13 13 14 14 if ( $belongs === true ): … … 23 23 24 24 **/ 25 $tmp = $ajax->link($html->image("static/reply.gif", array( "alt"=>"New reply", "title"=>"Reply")),25 $tmp = $ajax->link($html->image("static/reply.gif", array('alt'=>__('Reply', true), 'title'=>__('Reply', true))), 26 26 '/topics/reply/'.$data['Topic']['vclassroom_id'].'/'.$data['Forum']['id'].'/'.$data['Topic']['id'].'/'.$data['Forum']['user_id'], 27 27 array("update" => "qn", -
trunk/app/views/webquests/view.ctp
r541 r720 3 3 4 4 if ( $already === true ): 5 e($html->para(null, 'You already have answered this webquest'));5 e($html->para(null, __('You already have answered this Webquest', true))); 6 6 endif; 7 7 … … 14 14 <?php 15 15 echo '<div style="margin:10px auto;padding:5px;border:1px dotted red;">'; 16 echo '<h2> Introduction</h2>';16 echo '<h2>'.__('Introduction', true).'</h2>'; 17 17 echo '<div>' . $gags->delTags($data['Webquest']['introduction']).'</div>'; 18 18 19 echo '<h2> Tasks</h2>';19 echo '<h2>'.__('Tasks', true).'</h2>'; 20 20 echo '<div>' . $gags->delTags($data['Webquest']['tasks']).'</div>'; 21 21 22 echo '<h2> Process</h2>';22 echo '<h2>'.__('Process', true).'</h2>'; 23 23 echo '<div>' . $gags->delTags($data['Webquest']['process']).'</div>'; 24 24 … … 26 26 echo '<div>' . $gags->delTags($data['Webquest']['roles']).'</div>'; 27 27 28 echo '<h2> Evaluation</h2>';28 echo '<h2>'.__('Evaluation', true).'</h2>'; 29 29 echo '<div>' . $gags->delTags($data['Webquest']['evaluation']).'</div>'; 30 30 31 echo '<h2> Conclusion</h2>';31 echo '<h2>'.__('Conclusion', true).'</h2>'; 32 32 echo '<div>' . $gags->delTags($data['Webquest']['conclusion']).'</div>'; 33 33 34 echo '<p>Created: <b>'. $data['Webquest']['created'].'</b></p>';34 echo $html->para(null, __('Created', true) .': <b>'. $data['Webquest']['created'].'</b>'); 35 35 echo '</div>'; 36 36 … … 44 44 echo $form->label('ResultWebquest.answer', 'Answer:').'<br />'; 45 45 echo $form->textarea('ResultWebquest.answer', array('cols'=>50, 'rows'=>20)); 46 echo $form->end( 'Send');46 echo $form->end(__('Send', true)); 47 47 echo '</fieldset>'; 48 48 49 49 endif; 50 50 51 if ( $session->check('Auth.User') ):51 if ( !$session->check('Auth.User') ): 52 52 e($html->para(null, 'You must belong to class to see this exam')); 53 53 endif;
