Changeset 271

Show
Ignore:
Timestamp:
05/28/07 09:42:36
Author:
danfreak
Message:

added language key for message "No data in DB: please..." + updated the calls to this message in order to use the new language key

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • FreakAuth/trunk/www/system/application/language/english/freakauth_lang.php

    r244 r271  
    151151$lang['FAL_user_deleted'] = ' user successfully deleted!'; 
    152152$lang['FAL_no_permissions'] = 'You don\'t have the credentials to access this area'; 
     153 
     154//------------------------------------------------------------------ 
     155//OTHER MESSAGES 
     156//------------------------------------------------------------------ 
     157$lang['FAL_no_DB_data'] = 'No data in DB: please add them!'; 
    153158?> 
  • FreakAuth/trunk/www/system/application/views/FreakAuth_light/template_admin/users/add.php

    r176 r271  
    2121<?php } 
    2222} 
    23 elseif($this->config->item('FAL_create_user_profile') AND empty($user_profile)) {?> <p class="error">no data in DB: please add them</p> 
     23elseif($this->config->item('FAL_create_user_profile') AND empty($user_profile)) {?>  
     24<p class="error"><?=$this->lang->line('FAL_no_DB_data');?></p> 
    2425<?php } else {?><p class="error">userprofile disabled in config</p><?php }?> 
    2526</fieldset> 
  • FreakAuth/trunk/www/system/application/views/FreakAuth_light/template_admin/users/detail.php

    r261 r271  
    2525elseif($this->config->item('FAL_create_user_profile') AND empty($user_profile))  
    2626{?> 
    27          <p class="error">no data in DB: please add them</p> 
     27         <p class="error"><?=$this->lang->line('FAL_no_DB_data');?></p> 
    2828<?php  
    2929} else {?><p class="error">userprofile disabled in config</p><?php }?> 
  • FreakAuth/trunk/www/system/application/views/FreakAuth_light/template_admin/users/edit.php

    r242 r271  
    2121<?php } 
    2222} 
    23 elseif($this->config->item('FAL_create_user_profile') AND empty($user_profile)) {?> <p class="error">no data in DB: please add them</p> 
     23elseif($this->config->item('FAL_create_user_profile') AND empty($user_profile)) {?>  
     24<p class="error"><?=$this->lang->line('FAL_no_DB_data');?></p> 
    2425<?php } else {?><p class="error">userprofile disabled in config</p><?php }?> 
    2526</fieldset>