Changeset 9326 for extensions/LCAS/trunk/include
- Timestamp:
- Feb 20, 2011, 3:40:42 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/LCAS/trunk/include/functions.inc.php
r9229 r9326 113 113 { 114 114 /* And switch gallery to this language before using personalized and multilangual contents */ 115 $language = $data['language']; /* Usefull for debugging */116 115 switch_lang_to($data['language']); 117 116 load_language('plugin.lang', LCAS_PATH); … … 120 119 $subject = '['.$conf['gallery_title'].'] '.l10n_args(get_l10n_args('Username_updated_for_%s', stripslashes($username))); 121 120 122 if (isset($conf_LCAS[ 3]) and $conf_LCAS[3] <> '')121 if (isset($conf_LCAS[2]) and $conf_LCAS[2] <> '') 123 122 { 124 123 if (function_exists('get_user_language_desc')) 125 124 { 126 $customtxt = get_user_language_desc($conf_LCAS[ 3])."\n\n";125 $customtxt = get_user_language_desc($conf_LCAS[2])."\n\n"; 127 126 } 128 else $customtxt = l10n($conf_LCAS[ 3])."\n\n";127 else $customtxt = l10n($conf_LCAS[2])."\n\n"; 129 128 } 130 129
Note: See TracChangeset
for help on using the changeset viewer.