Changeset 755
- Timestamp:
- 09/04/08 16:03:11 (3 months ago)
- Location:
- trunk/app
- Files:
-
- 3 modified
-
locale/spa/LC_MESSAGES/default.po (modified) (1 diff)
-
views/vclassrooms/admin_listing.ctp (modified) (2 diffs)
-
views/vclassrooms/chat.ctp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/locale/spa/LC_MESSAGES/default.po
r753 r755 689 689 msgstr "Ver comentarios" 690 690 691 msgid "See vGroup" 692 msgstr "Ver grupo virtual " 693 691 694 msgid "Help" 692 695 msgstr "Ayuda" -
trunk/app/views/vclassrooms/admin_listing.ctp
r617 r755 1 1 <?php 2 2 //die(debug($data)); 3 echo $html->addCrumb('Control Tools', '/admin/entries/start'); 4 echo $html->getCrumbs(' / '); 5 echo $html->div('title_section', 'Classrooms'); 3 echo $html->addCrumb('Control Tools', '/admin/entries/start'); 4 echo $html->getCrumbs(' / '); 6 5 7 echo $html->link($html->image('actions/new.png', array("alt"=>"Add classroom", "title"=>"Add classroom")), '/admin/ecourses/listing', null, null, false); 6 echo $html->div('title_section', __('vGroups', true)); 7 8 echo $html->link($html->image('actions/new.png', array("alt"=>"Add classroom", "title"=>"Add classroom")), '/admin/ecourses/listing', null, null, false); 8 9 ?> 9 10 <table class="tbadmin"> 10 11 <?php 11 12 12 $th = array ('Edit', 'Virtual classroom', 'Status', 'See');13 $th = array(__('Edit', true), 'Virtual classroom', 'Status', __('See vGroup', true)); 13 14 echo $html->tableHeaders($th); 14 15 foreach ($data as $val): … … 19 20 $html->link($val['Vclassroom']['name'], '/admin/vclassrooms/members/'.$val['Vclassroom']['id']) . ' <span class="petit">'.$val['Ecourse']['title'].'</span>', 20 21 $st, 21 $html->link(__('See Group', true), '/vclassrooms/show/'.$val['Vclassroom']['user_id'].'/'.$val['Vclassroom']['id']) 22 //$gags->confirmDel($val['Vclassroom']['id'], 'vclassrooms') 23 ); 24 25 echo $html->tableCells($tr, array("class"=>"altRow", "onmouseover"=>"this.className='highlight'", "onmouseout"=>"this.className='altRow'"), 22 $html->link($html->image('static/user-group-icon.jpg', array('width'=>22, 'alt'=>__('See vGroup', true), 'title'=>__('See vGroup', true))), '/vclassrooms/show/'.$val['Vclassroom']['user_id'].'/'.$val['Vclassroom']['id']), null, null, false); 23 24 echo $html->tableCells($tr, array("class"=>"altRow", "onmouseover"=>"this.className='highlight'", "onmouseout"=>"this.className='altRow'"), 26 25 array('class'=>'evenRow',"onmouseover"=>"this.className='highlight'", "onmouseout"=>"this.className='evenRow'")); 27 26 -
trunk/app/views/vclassrooms/chat.ctp
r753 r755 6 6 echo $ajax->div('updater'); 7 7 $M = array_reverse($msgs); 8 //foreach ($M as $m):9 //e($html->div(null,10 //'<span style="color:orange;font-size:6pt;">'.$m['Chat']['created']. ' '.$m['User']['username'].'</span>: '.$m['Chat']['message'], array('style'=>'font-size:8pt;')));11 //endforeach;8 foreach ($M as $m): 9 e($html->div(null, 10 '<span style="color:orange;font-size:6pt;">'.$m['Chat']['created']. ' '.$m['User']['username'].'</span>: '.$m['Chat']['message'], array('style'=>'font-size:8pt;'))); 11 endforeach; 12 12 echo $ajax->divEnd('updater'); 13 13 echo $html->div(null, $session->read('Auth.User.username') .' '. __('writes', true));
