Changeset 733 for trunk/app/views
- Timestamp:
- 08/21/08 20:27:42 (3 months ago)
- Location:
- trunk/app/views
- Files:
-
- 2 modified
-
shares/download.ctp (modified) (1 diff)
-
vclassrooms/admin_record.ctp (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/shares/download.ctp
r557 r733 16 16 exit; 17 17 } 18 19 18 ?> -
trunk/app/views/vclassrooms/admin_record.ctp
r732 r733 9 9 echo $html->div('title_section', $data['User']['name']); 10 10 echo $html->div(null, $html->link($data['User']['email'], $data['User']['email'])); 11 // send message andsend record to student11 // send message || send record to student 12 12 echo $html->para(null, 13 13 $ajax->link($html->image('admin/compose_on.gif', array('alt'=>'Compose', 'title'=>'Compose Message')) , … … 27 27 echo $ajax->div('compose').$ajax->divEnd('compose'); 28 28 29 $points = (int) 0; // total points 29 $points = (int) 0; // total points used in the end of script 30 30 31 31 // Tests … … 41 41 e($html->div(null, $t['TestsVclassroom']['title'], array('style'=>'width:350px;float:right;'))); 42 42 else: 43 e($html->div(null, $t['TestsVclassroom']['points'] .' points', array('id'=>$div_id, 'style'=>'width:180px;float:left;')));43 e($html->div(null, $t['TestsVclassroom']['points'] .' '.__('points', true), array('id'=>$div_id, 'style'=>'width:180px;float:left;'))); 44 44 e('<div style="width:450px;float:right;">'); 45 echo $html->link($t['TestsVclassroom']['title'], '#' , array('title'=>'View test', 'onclick'=>45 echo $html->link($t['TestsVclassroom']['title'], '#'.$div_id, array('title'=>'View test', 'onclick'=> 46 46 "window.open('/admin/tests/see/".$data['User']['id']."/".$t['TestsVclassroom']['test_id']."/".$data['Vclassroom']['id']."','mywin','left=20,top=10,width=700,height=700,scrollbars=1,toolbar=0,resizable=1')")) . ' '; 47 47 /* … … 65 65 endforeach; 66 66 else: 67 echo $html->para(null, 'No tests found');67 echo $html->para(null, __('No tests found', true)); 68 68 endif; 69 69 … … 77 77 $div_id = 'w'.$w['Webquest']['id']; 78 78 e('<div style="border:1px dotted gray;padding:4px;margin:2px;height:20px;">'); 79 e($html->div(null, $w['ResultWebquest']['points'] .' points', array('id'=>$div_id, 'style'=>'width:150px;float:left;')));79 e($html->div(null, $w['ResultWebquest']['points'] .' '.__('points', true), array('id'=>$div_id, 'style'=>'width:150px;float:left;'))); 80 80 e('<div style="width:450px;float:right;">'); 81 echo $html->link($w['Webquest']['title'], '#' , array('title'=>'View reply', 'onclick'=>81 echo $html->link($w['Webquest']['title'], '#'.$div_id, array('title'=>__('View reply', true), 'onclick'=> 82 82 "window.open('/admin/webquests/see/".$data['User']['id']."/".$w['Webquest']['id']."','mywin','left=20,top=20,width=700,height=700,toolbar=0,resizable=1')")) . ' '; 83 83 84 echo $ajax->link($html->image('static/adownmod.png', array('alt'=> 'Points down', 'title'=>'Points down')),84 echo $ajax->link($html->image('static/adownmod.png', array('alt'=>__('Points down', true), 'title'=>__('Points down', true))), 85 85 '/admin/webquests/points/'.$w['Webquest']['id'].'/down', 86 86 array('update' => $div_id, … … 88 88 'after' =>'tp('.$data['User']['id'].','.$data['Vclassroom']['id'].')', 89 89 'complete'=>"Element.hide('loadingre');Effect.Appear(".$div_id.")"),null,false); 90 echo $ajax->link($html->image('static/aupmod.png', array('alt'=> 'Points up', 'title'=>'Points up')),90 echo $ajax->link($html->image('static/aupmod.png', array('alt'=>__('Points up', true), 'title'=>__('Points up', true))), 91 91 '/admin/webquests/points/'.$w['Webquest']['id'].'/up', 92 92 array('update' => $div_id, … … 112 112 e($html->div(null, $tr['ResultTreasure']['points'] .' points', array('id'=>$div_id, 'style'=>'width:150px;float:left;'))); 113 113 e('<div style="width:450px;float:right;">'); 114 echo $html->link($tr['Treasure']['title'], '#' , array('title'=>__('View text', true), 'onclick'=>114 echo $html->link($tr['Treasure']['title'], '#'.$div_id, array('title'=>__('View text', true), 'onclick'=> 115 115 "window.open('/admin/treasures/see/".$data['User']['id']."/".$tr['Treasure']['id']."','mywin','left=20,top=20,width=700,height=700,toolbar=0,resizable=1')")) . ' '; 116 116 … … 142 142 $div_id = 're'.$re['Reply']['id']; 143 143 e('<div style="border:1px dotted gray;padding:4px;margin:2px;height:20px;">'); 144 e($html->div(null, $re['Reply']['points'].' points', array('id'=>$div_id, 'style'=>'width:150px;float:left;')));144 e($html->div(null, $re['Reply']['points'].' '.__('points', true), array('id'=>$div_id, 'style'=>'width:150px;float:left;'))); 145 145 e('<div style="width:450px;float:right;">'); 146 echo $html->link(__('See participation', true), '#' , array('title'=>__('See participation', true), 'onclick'=>146 echo $html->link(__('See participation', true), '#'.$div_id, array('title'=>__('See participation', true), 'onclick'=> 147 147 "window.open('/admin/topics/reply/".$re['Reply']['id']."','mywin','left=20,top=20,width=700,height=700,toolbar=0,resizable=1')")) . ' '; 148 148 … … 180 180 $ppoints += $p['Participation']['points']; 181 181 182 echo $html->div(null, $p['Participation']['points'].' points',array('id'=>$div_id,'style'=>'width:150px;float:left;'));182 echo $html->div(null, $p['Participation']['points'].' '.__('points', true), array('id'=>$div_id,'style'=>'width:150px;float:left;')); 183 183 184 184 echo '<div style="width:450px;float:right;">'; 185 echo __('Participation', true).': '. $html->link($p['Participation']['title'], '#', array('title'=> 'View reply', 'onclick'=>"window.open('/admin/participations/show/".$p['Participation']['id']."','mywin','left=20,top=20,width=700,height=700,toolbar=0,resizable=1')")).' ';185 echo __('Participation', true).': '. $html->link($p['Participation']['title'], '#', array('title'=>__('View text', true), 'onclick'=>"window.open('/admin/participations/show/".$p['Participation']['id']."','mywin','left=20,top=20,width=700,height=700,toolbar=0,resizable=1')")).' '; 186 186 187 187 echo $ajax->link($html->image('static/adownmod.png', array('alt'=>__('Points down', true), 'title'=>__('Points down', true))) , … … 222 222 223 223 echo '<div style="width:450px;float:right;">'; 224 echo __('Report', true).': '. $html->link($r['Report']['description'], '#' , array('title'=>__('View reply', true), 'onclick'=>"window.open('/admin/participations/show/".$r['Report']['id']."','mywin','left=20,top=20,width=700,height=700,toolbar=0,resizable=1')")).' ';224 echo __('Report', true).': '. $html->link($r['Report']['description'], '#'.$div_id, array('title'=>__('View file', true), 'onclick'=>"window.open('/admin/reports/download/".$r['Report']['id']."','mywin','left=20,top=20,width=700,height=700,toolbar=0,resizable=1')")).' '; 225 225 226 226 echo $ajax->link($html->image('static/adownmod.png', array('alt'=>__('Points down', true), 'title'=>__('Points down', true))) ,
