Changeset 778 for trunk/app/views

Show
Ignore:
Timestamp:
09/23/08 22:57:47 (2 months ago)
Author:
aarkerio
Message:

Test Unit fixed

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/views/acquaintances/display.ctp

    r772 r778  
    33echo $html->div(null, $blog['User']['username'], array('style'=>'font-size:18pt;padding:4px;boder:1px solid #c0c0c0')); 
    44 
     5if ( count($data) < 1 ): 
     6  echo $html->div(null, __('Teacher has not published in this section', true), array('style'=>'font-size:18pt;padding:4px;boder:1px solid #c0c0c0')); 
     7endif; 
     8 
    59foreach ($data as $val): 
    6  
    710 $tmp  =  '<h2>'. $val['Acquaintance']['name']   . '</h2>'; 
    811 $tmp .= $html->para(null, $val['Acquaintance']['description']);