Changeset 13258 for trunk/include/functions.inc.php
- Timestamp:
- 02/19/12 20:59:22 (16 months ago)
- Files:
-
- 1 modified
-
trunk/include/functions.inc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions.inc.php
r13242 r13258 891 891 global $lang, $conf; 892 892 893 if ( ($val=@$lang[$key]) == null)894 {895 if ($conf['debug_l10n'] and !isset($lang[$key]) and !empty($key))896 {897 trigger_error('[l10n] language key "'.$key.'" is not defined', E_USER_WARNING);898 }899 $val = $key;900 }893 if ( ($val=@$lang[$key]) == null) 894 { 895 if ($conf['debug_l10n'] and !isset($lang[$key]) and !empty($key)) 896 { 897 trigger_error('[l10n] language key "'.$key.'" is not defined', E_USER_WARNING); 898 } 899 $val = $key; 900 } 901 901 return $val; 902 902 }
![(please configure the [header_logo] section in trac.ini)](http://piwigo.org/screenshots/piwigo_logo_on_white.png)