Ignore:
Timestamp:
Feb 20, 2011, 3:40:42 PM (13 years ago)
Author:
Eric
Message:
  • Bug 2066 fixed : There was a bug still remaining in the notification feature.
  • Tablesorter JQuery script updated
  • Initial config updated
  • Refactory of LCAS options vars ($conf_LCAS[x]) : We start now with offset 0 instead of 1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/LCAS/trunk/include/functions.inc.php

    r9229 r9326  
    113113  {
    114114/* And switch gallery to this language before using personalized and multilangual contents */
    115     $language = $data['language']; /* Usefull for debugging */
    116115    switch_lang_to($data['language']);
    117116    load_language('plugin.lang', LCAS_PATH);
     
    120119  $subject = '['.$conf['gallery_title'].'] '.l10n_args(get_l10n_args('Username_updated_for_%s', stripslashes($username)));
    121120
    122   if (isset($conf_LCAS[3]) and $conf_LCAS[3] <> '')
     121  if (isset($conf_LCAS[2]) and $conf_LCAS[2] <> '')
    123122  {
    124123    if (function_exists('get_user_language_desc'))
    125124    {
    126       $customtxt = get_user_language_desc($conf_LCAS[3])."\n\n";
     125      $customtxt = get_user_language_desc($conf_LCAS[2])."\n\n";
    127126    }
    128     else $customtxt = l10n($conf_LCAS[3])."\n\n";
     127    else $customtxt = l10n($conf_LCAS[2])."\n\n";
    129128  }
    130129
Note: See TracChangeset for help on using the changeset viewer.