Changeset 742 for trunk/app/views
- Timestamp:
- 08/27/08 20:54:25 (3 months ago)
- Files:
-
- 1 modified
-
trunk/app/views/vclassrooms/admin_record.ctp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/vclassrooms/admin_record.ctp
r741 r742 152 152 '/admin/replies/points/'.$re['Reply']['id'].'/down', 153 153 array('update' => $div_id, 154 'loading '=>"Element.show('load ingre');",155 'after' =>'tp('.$data['User']['id'].','.$data['Vclassroom']['id'].')', 156 'complete'=>"Element.hide('load ingre');Effect.Appear(".$div_id.")"),null,false);154 'loading '=>"Element.show('loadreply');", 155 'after' =>'tp('.$data['User']['id'].','.$data['Vclassroom']['id'].')', 156 'complete'=>"Element.hide('loadreply');Effect.Appear(".$div_id.")"),null,false); 157 157 echo $ajax->link($html->image('static/aupmod.png', array('alt'=>__('Points up', true), 'title'=>__('Points up', true))), 158 158 '/admin/replies/points/'.$re['Reply']['id'].'/up', 159 159 array('update' => $div_id, 160 160 'after' =>'tp('.$data['User']['id'].','.$data['Vclassroom']['id'].')', 161 'loading '=>"Element.show('load ingre')",162 'complete'=>"Element.hide('load ingre');Effect.Appear(".$div_id.")"),null,false);161 'loading '=>"Element.show('loadreply')", 162 'complete'=>"Element.hide('loadreply');Effect.Appear(".$div_id.")"),null,false); 163 163 echo '</div>'; 164 164 $rpoints += $re['Reply']['points']; //sum … … 166 166 e('</div>'); 167 167 endforeach; 168 e($html->div(null, $html->image('static/loading.gif', array('alt'=>'Loading')),array('id'=>'load ingre', 'style'=>'display:none;')));168 e($html->div(null, $html->image('static/loading.gif', array('alt'=>'Loading')),array('id'=>'loadreply', 'style'=>'display:none;'))); 169 169 else: 170 170 echo $html->para(null, 'No reply found');
