Changeset 778 for trunk/app

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

Test Unit fixed

Location:
trunk/app
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/config/sql/postgresql/langs.sql

    r436 r778  
    55 "lang" varchar(80) NOT NULL UNIQUE 
    66); 
     7INSERT INTO langs (code, lang) VALUES ('es_MX', 'Spanish Argentina'); 
     8INSERT INTO langs (code, lang) VALUES ('es_MX', 'Spanish Spain'); 
    79INSERT INTO langs (code, lang) VALUES ('es_MX', 'Spanish Mexico'); 
    810INSERT INTO langs (code, lang) VALUES ('en_US', 'English USA'); 
    911INSERT INTO langs (code, lang) VALUES ('en_GB', 'English UK'); 
    10 INSERT INTO langs (code, lang) VALUES ('fr_FR', 'France'); 
    11  
     12INSERT INTO langs (code, lang) VALUES ('fr_FR', 'French France'); 
     13INSERT INTO langs (code, lang) VALUES ('fr_CA', 'French Canada'); 
  • 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']);