Changeset 12189


Ignore:
Timestamp:
Sep 19, 2011, 9:48:39 PM (13 years ago)
Author:
Eric
Message:
  • Bug 2415 fixed - New feature added : Privacy level can now be set for unvalidated / validated users.
  • Small admin panel refactory : Ghost users management and other misc options are splitted.
  • Plugin database upgrade : maintain.inc.php and upgradedb.inc.php
  • Language files refactory (EN and FR)
  • Preparing version 2.30.0 (actually 2.30.0RC1) for compliance with Piwigo 2.3.0
Location:
extensions/UserAdvManager/trunk
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • extensions/UserAdvManager/trunk/admin/UAM_admin.php

    r11318 r12189  
    190190      $_POST['UAM_Stuffs'],
    191191      $_POST['UAM_HidePassw'],
     192      (isset($_POST['UAM_No_Valid_Level'])?$_POST['UAM_No_Valid_Level']:''),
     193      (isset($_POST['UAM_Valid_Level'])?$_POST['UAM_Valid_Level']:''),
     194      (isset($_POST['UAM_Downgrade_Level'])?$_POST['UAM_Downgrade_Level']:''),
    192195      );
    193196
     
    382385            );
    383386        }
     387
     388
     389  //Level setting for unvalidated, validated users and downgrade status
     390  $level_options[-1] = '------------';
     391  $No_Valid_Level = -1;
     392  $Valid_Level = -1;
     393  $Downgrade_Level = -1;
     394
     395  // Get unvalidated privacy levels values
     396  foreach ($conf['available_permission_levels'] as $level)
     397  {
     398    $level_options[$level] = l10n(sprintf('Level %d', $level));
     399          if (isset($conf_UAM[35]) and $conf_UAM[35] == $level)
     400          {
     401            $No_Valid_Level = $level;
     402          }
     403      //Template initialization for unvalidated users level
     404      $template->assign(
     405        'No_Valid_Level',
     406        array(
     407                                        'Level_options' => $level_options,
     408                                'Level_selected' => $No_Valid_Level
     409                                        )
     410                        );
     411  }
     412
     413  // Get validated privacy levels values
     414  foreach ($conf['available_permission_levels'] as $level)
     415  {
     416    $level_options[$level] = l10n(sprintf('Level %d', $level));
     417          if (isset($conf_UAM[36]) and $conf_UAM[36] == $level)
     418          {
     419            $Valid_Level = $level;
     420          }
     421      //Template initialization for unvalidated users level
     422      $template->assign(
     423        'Valid_Level',
     424        array(
     425                                        'Level_options' => $level_options,
     426                                'Level_selected' => $Valid_Level
     427                                        )
     428                        );
     429  }
     430
     431  // Get downgrade privacy levels values
     432  foreach ($conf['available_permission_levels'] as $level)
     433  {
     434    $level_options[$level] = l10n(sprintf('Level %d', $level));
     435          if (isset($conf_UAM[37]) and $conf_UAM[37] == $level)
     436          {
     437            $Downgrade_Level = $level;
     438          }
     439      //Template initialization for unvalidated users level
     440      $template->assign(
     441        'Downgrade_Level',
     442        array(
     443                                        'Level_options' => $level_options,
     444                                'Level_selected' => $Downgrade_Level
     445                                        )
     446                        );
     447  }
    384448
    385449  //Save last opened paragraph in configuration tab
     
    455519    'UAM_HIDEPASSW_TRUE'             => $conf_UAM[34]=='true' ?  'checked="checked"' : '' ,
    456520    'UAM_HIDEPASSW_FALSE'            => $conf_UAM[34]=='false' ?  'checked="checked"' : '' ,
     521                'UAM_NO_VALID_LEVEL'             => $conf_UAM[35],
     522                'UAM_VALID_LEVEL'                => $conf_UAM[36],
     523    'UAM_DOWNGRADE_LEVEL'            => $conf_UAM[37],
    457524                'UAM_PASSWORD_TEST_SCORE'        => $UAM_Password_Test_Score,
    458525    'UAM_ERROR_REPORTS1'             => $UAM_Exclusionlist_Error,
  • extensions/UserAdvManager/trunk/admin/template/global.tpl

    r11318 r12189  
    389389                  <div id="uam_leftmargin">
    390390                    {html_options name="UAM_Validated_Status" options=$Confirm_Status.Status_options selected=$Confirm_Status.Status_selected}
     391                  </div>
     392                <br><br>
     393                </li>
     394              </ul>
     395
     396              <li>
     397                <label class="cluetip" title="{'UAM_confirmlevelTitle'|translate}|{'UAM_confirmlevelTitle_d'|translate}">
     398                  {'UAM_Confirm_Level'|@translate}
     399                </label>
     400              <br><br>
     401              </li>
     402             
     403              <ul>
     404                <li>
     405                  <label>
     406                    {'UAM_No_Valid_Level'|@translate}
     407                  </label>
     408                <br>
     409                  <div id="uam_leftmargin">
     410                    {html_options name="UAM_No_Valid_Level" options=$No_Valid_Level.Level_options selected=$No_Valid_Level.Level_selected}
     411                  </div>
     412                <br><br>
     413                </li>
     414
     415                <li>
     416                  <label>
     417                    {'UAM_Valid_Level'|@translate}
     418                  </label>
     419                <br>
     420                  <div id="uam_leftmargin">
     421                    {html_options name="UAM_Valid_Level" options=$Valid_Level.Level_options selected=$Valid_Level.Level_selected}
    391422                  </div>
    392423                <br><br>
     
    536567
    537568    <div id="config3_header" class="instructionBlockHeaderCollapsed" onclick="uam_blockToggleDisplay('config3_header', 'Config3')">
    538       <span class="cluetip" title="{'UAM_miscTitle'|translate}|{'UAM_miscTitle_d'|translate}">{'UAM_Title3'|@translate}</span>
     569      <span class="cluetip" title="{'UAM_GT_MainTitle'|translate}|{'UAM_GT_MainTitle_d'|translate}">{'UAM_Title3'|@translate}</span>
    539570    </div>
    540571 
     
    630661                        <div id="uam_leftmargin">
    631662                          {html_options name="UAM_Downgrade_Status" options=$Downgrade_Status.Status_options selected=$Downgrade_Status.Status_selected}
     663                        </div>
     664                      <br><br>
     665                      </li>
     666
     667                      <li>
     668                        <label>
     669                          {'UAM_Expired_Level'|@translate}
     670                        </label>
     671                      <br>
     672                        <div id="uam_leftmargin">
     673                          {html_options name="UAM_Downgrade_Level" options=$Downgrade_Level.Level_options selected=$Downgrade_Level.Level_selected}
    632674                        </div>
    633675                      <br><br>
     
    660702        </ul>
    661703      </fieldset>
    662 
     704    </div>
     705  </div>
     706
     707  <div id="instructionConfig5" class="instructionBlock" >
     708
     709    <div id="config5_header" class="instructionBlockHeaderCollapsed" onclick="uam_blockToggleDisplay('config5_header', 'Config5')">
     710      <span class="cluetip" title="{'UAM_miscTitle'|translate}|{'UAM_miscTitle_d'|translate}">{'UAM_Title5'|@translate}</span>
     711    </div>
     712 
     713    <div id="Config5" class="instructionBlockContent" style="display:none">
    663714      <fieldset>
     715        <ul>
     716          <li>
     717            <label><b>{'UAM_MiscOptions'|@translate}</b></label>
     718          </li>
     719        </ul>
    664720        <fieldset>
    665721          <ul>
  • extensions/UserAdvManager/trunk/changelog.txt.php

    r11318 r12189  
    260260
    261261-- 2.20.11 : Bug 2336 fixed - New feature : Add [Kdays] autotext flag to insert the number of days until expiration.
     262
     263-- 2.30.0RC1 : Piwigo 2.3.0 compliant
     264            Bug 2415 fixed - New feature : Set automatically privacy level for users who have validated or not their registration. Automated task available.
    262265*/
    263266?>
  • extensions/UserAdvManager/trunk/include/functions.inc.php

    r11318 r12189  
    100100      $passwd = (isset($_POST['password'])) ? $_POST['password'] : '';
    101101      SendMail2User(1, $register_user['id'], $register_user['username'], $passwd, $register_user['email'], false);
    102       setgroup($register_user['id']);// Set to "waiting" group or status until admin validation
     102      SetPermission($register_user['id']);// Set to "waiting" group or status until admin validation
    103103    }
    104104    elseif ((isset($conf_UAM[0]) and $conf_UAM[0] == 'false') and (isset($conf_UAM[1]) and $conf_UAM[1] == 'local'))
    105105    {
    106106      // This is to set user to "waiting" group or status until admin validation
    107       setgroup($register_user['id']);// Set to "waiting" group or status until admin validation
     107      SetPermission($register_user['id']);// Set to "waiting" group or status until admin validation
    108108    }
    109109    elseif ((isset($conf_UAM[0]) and $conf_UAM[0] == 'true') and (isset($conf_UAM[1]) and $conf_UAM[1] == 'false'))
     
    296296        if ($_POST['mail_address'] != $current_email and (isset($conf_UAM[1]) and $conf_UAM[1] == 'local'))
    297297       
    298           setgroup($register_user['id']);// Set to "waiting" group or status until admin validation
     298          SetPermission($register_user['id']);// Set to "waiting" group or status until admin validation
    299299          $confirm_mail_need = false;
    300300      }
     
    407407  }
    408408
    409   // Ghost accounts auto group or status downgrade with or without information email sending and autodeletion if user already reminded
    410   if ((isset($conf_UAM[21]) and $conf_UAM[21] == 'true') and ((isset($conf_UAM[25]) and $conf_UAM[25] <> -1) or (isset($conf_UAM[26]) and $conf_UAM[26] <> -1)))
     409  // Ghost accounts auto group, status or privacy level downgrade with or without information email sending and autodeletion if user already reminded
     410  if ((isset($conf_UAM[21]) and $conf_UAM[21] == 'true') and ((isset($conf_UAM[25]) and $conf_UAM[25] <> -1) or (isset($conf_UAM[26]) and $conf_UAM[26] <> -1) or (isset($conf_UAM[37]) and $conf_UAM[37] <> -1)))
    411411  {
    412412    if (count($collection) > 0)
     
    510510VALUES
    511511  ('".$user_id."', '".$conf_UAM[25]."')
     512;";
     513              pwg_query($query);
     514            }
     515
     516            // Change user privacy level
     517            if ($conf_UAM[37] <> -1)
     518            {
     519              $query = "
     520UPDATE ".USER_INFOS_TABLE."
     521SET level = '".$conf_UAM[37]."'
     522WHERE user_id = '".$user_id."'
    512523;";
    513524              pwg_query($query);
     
    13631374      pwg_query($query);
    13641375    }
     1376
     1377    // Set user unvalidated privacy level
     1378    if (!is_admin() and $conf_UAM[35] <> -1)
     1379    {
     1380      $query = "
     1381UPDATE ".USER_INFOS_TABLE."
     1382SET level = '".$conf_UAM[35]."'
     1383WHERE user_id = '".$user_id."'
     1384;";
     1385      pwg_query($query);
     1386    }
    13651387   
    13661388    return get_absolute_root_url().UAM_PATH.'ConfirmMail.php?key='.$Confirm_Mail_ID.'&userid='.$user_id;
     
    13701392
    13711393/**
    1372  * Function called from main.inc.php to set group to new users if manual validation is set
     1394 * Function called from UAM_Adduser() to set group/status/level to new users if manual validation is set
    13731395 *
    13741396 * @param : User id
     
    13761398 *
    13771399 */
    1378 function setgroup($user_id)
     1400function SetPermission($user_id)
    13791401{
    13801402  global $conf;
     
    13821404  $conf_UAM = unserialize($conf['UserAdvManager']);
    13831405
     1406// Groups cleanup
    13841407  $query = "
    13851408DELETE FROM ".USER_GROUP_TABLE."
     
    13931416  pwg_query($query);
    13941417
    1395   if (!is_admin() and $conf_UAM[7] <> -1)
     1418  if (!is_admin() and $conf_UAM[7] <> -1) // Set status
    13961419  {
    13971420    $query = "
     
    14031426  }
    14041427
    1405   if (!is_admin() and $conf_UAM[2] <> -1)
     1428  if (!is_admin() and $conf_UAM[2] <> -1) // Set group
    14061429  {
    14071430    $query = "
     
    14101433VALUES
    14111434  ('".$user_id."', '".$conf_UAM[2]."')
     1435;";
     1436    pwg_query($query);
     1437  }
     1438
     1439  if (!is_admin() and $conf_UAM[2] <> -1) // Set privacy level
     1440  {
     1441    $query = "
     1442INSERT INTO ".USER_INFOS_TABLE."
     1443  (user_id, level)
     1444VALUES
     1445  ('".$user_id."', '".$conf_UAM[level]."')
    14121446;";
    14131447    pwg_query($query);
     
    16001634                                                list($dbnow) = pwg_db_fetch_row(pwg_query('SELECT NOW();'));
    16011635
     1636            // Update ConfirmMail table
    16021637                                                $query = '
    16031638UPDATE '.USER_CONFIRM_MAIL_TABLE.'
    16041639SET date_check="'.$dbnow.'", reminder="false"
    16051640WHERE id = "'.$id.'"
     1641;';
     1642                                                pwg_query($query);
     1643
     1644            // Update LastVisit table - Force reminder field to false
     1645            // Usefull when a user has been automatically downgraded and revalidate its registration 
     1646                                                $query = '
     1647UPDATE '.USER_LASTVISIT_TABLE.'
     1648SET reminder="false"
     1649WHERE user_id = "'.$data['user_id'].'"
    16061650;';
    16071651                                                pwg_query($query);
     
    16371681                                                        pwg_query($query);
    16381682                                                }
     1683
     1684                                                if (($conf_UAM[36] <> -1 or isset($data['level']))) // Change user's privacy level
     1685                                                {
     1686                                                        $query = "
     1687UPDATE ".USER_INFOS_TABLE."
     1688SET level = '".(isset($data['level']) ? $data['level'] : $conf_UAM[36])."'
     1689WHERE user_id = '".$data['user_id']."'
     1690;";
     1691                                                        pwg_query($query);
     1692                                                }
     1693
    16391694                                                // Refresh user's category cache
    16401695                                                invalidate_user_cache();
     
    16521707                                        list($dbnow) = pwg_db_fetch_row(pwg_query('SELECT NOW();'));
    16531708
     1709          // Update ConfirmMail table
    16541710                                        $query = '
    16551711UPDATE '.USER_CONFIRM_MAIL_TABLE.'
     
    16581714;';
    16591715                                        pwg_query($query);
     1716
     1717          // Update LastVisit table - Force reminder field to false
     1718          // Usefull when a user has been automatically downgraded and revalidate its registration 
     1719                                        $query = '
     1720UPDATE '.USER_LASTVISIT_TABLE.'
     1721SET reminder="false"
     1722WHERE user_id = "'.$data['user_id'].'"
     1723;';
     1724          pwg_query($query);
    16601725     
    1661                                         if ($conf_UAM[2] <> -1)
     1726                                        if ($conf_UAM[2] <> -1) // Delete user from unvalidated users group
    16621727                                        {
    16631728                                                $query = "
     
    16871752                                        }
    16881753
    1689                                         if (($conf_UAM[4] <> -1 or isset($data['status'])))
     1754                                        if (($conf_UAM[4] <> -1 or isset($data['status']))) // Change user's status
    16901755                                        {
    16911756                                                $query = "
     
    16961761                                                pwg_query($query);
    16971762                                        }
     1763
     1764                                        if (($conf_UAM[36] <> -1 or isset($data['level']))) // Change user's privacy level
     1765                                        {
     1766                                                $query = "
     1767UPDATE ".USER_INFOS_TABLE."
     1768SET level = '".(isset($data['level']) ? $data['level'] : $conf_UAM[36])."'
     1769WHERE user_id = '".$data['user_id']."'
     1770;";
     1771                                                pwg_query($query);
     1772                                        }
     1773
    16981774                                        // Refresh user's category cache
    16991775                                        invalidate_user_cache();
     
    17421818                }
    17431819 
    1744                 if ($conf_UAM[3] <> -1)
     1820                if ($conf_UAM[3] <> -1) // Change user's group
    17451821                {
    17461822                        $query = "
     
    17601836    }
    17611837
    1762                 if ($conf_UAM[4] <> -1)
     1838                if ($conf_UAM[4] <> -1) // Change user's status
    17631839                {
    17641840                        $query = "
     
    17691845                        pwg_query($query);
    17701846                }
     1847
     1848                if ($conf_UAM[36] <> -1) // Change user's privacy level
     1849                {
     1850                        $query = "
     1851UPDATE ".USER_INFOS_TABLE."
     1852SET level = '".$conf_UAM[36]."'
     1853WHERE user_id = '".$id."'
     1854;";
     1855                        pwg_query($query);
     1856                }
    17711857  }
    17721858  elseif (isset($conf_UAM[1]) and $conf_UAM[1] == 'local')
     
    17741860    list($dbnow) = pwg_db_fetch_row(pwg_query('SELECT NOW();'));
    17751861
    1776     if ($conf_UAM[2] <> -1)
     1862    if ($conf_UAM[2] <> -1) // Delete user's from waiting group
    17771863    {
    17781864                  $query = "
     
    17841870    }
    17851871
    1786     if ($conf_UAM[3] <> -1)
     1872    if ($conf_UAM[3] <> -1) // Change user's group
    17871873    {
    17881874      $query = "
     
    18021888    }
    18031889
    1804     if ($conf_UAM[4] <> -1)
     1890    if ($conf_UAM[4] <> -1) // Change user's status
    18051891    {
    18061892                  $query = "
    18071893UPDATE ".USER_INFOS_TABLE."
    18081894SET status = '".$conf_UAM[4]."'
     1895WHERE user_id = '".$id."'
     1896;";
     1897      pwg_query($query);
     1898    }
     1899
     1900    if ($conf_UAM[36] <> -1) // Change user's privacy level
     1901    {
     1902                  $query = "
     1903UPDATE ".USER_INFOS_TABLE."
     1904SET level = '".$conf_UAM[36]."'
    18091905WHERE user_id = '".$id."'
    18101906;";
  • extensions/UserAdvManager/trunk/include/upgradedb.inc.php

    r11018 r12189  
    492492  conf_update_param('UserAdvManager', pwg_db_real_escape_string($update_conf));
    493493}
     494
     495
     496/* upgrade from 2.20.8 to 2.30.0 */
     497/* ***************************** */
     498function upgrade_2208_2300()
     499{
     500  global $conf;
     501
     502  // Upgrading options
     503  $query = '
     504SELECT value
     505  FROM '.CONFIG_TABLE.'
     506WHERE param = "UserAdvManager"
     507;';
     508
     509  $result = pwg_query($query);
     510  $conf_UAM = pwg_db_fetch_assoc($result);
     511   
     512  $Newconf_UAM = unserialize($conf_UAM['value']);
     513 
     514  $Newconf_UAM[35] = '-1';
     515  $Newconf_UAM[36] = '-1';
     516  $Newconf_UAM[37] = '-1';
     517
     518  $update_conf = serialize($Newconf_UAM);
     519
     520  conf_update_param('UserAdvManager', pwg_db_real_escape_string($update_conf));
     521}
    494522?>
  • extensions/UserAdvManager/trunk/language/en_UK/help/plugin.lang.php

    r11320 r12189  
    44$lang['UAM_restricTitle'] = 'Restrictions for registrations';
    55$lang['UAM_confirmTitle'] = 'Confirmations and validations of registration';
    6 $lang['UAM_confirmTitle_d'] = '
    7 - Information email generation<br>
    8 - Register validation email generation<br>
    9 - Groups or status auto joining<br>
    10 - Deadline for registration validation<br>
    11 - Reminder email generation<br>
    12 ...
    13 ';
    14 $lang['UAM_miscTitle'] = 'Registration followed and other options';
    156$lang['UAM_carexcTitle'] = 'Usernames: Exclusion of characters';
    167$lang['UAM_carexcTitle_d'] = 'It may be interesting to prohibit certain characters in usernames (example: refuse login names containing &quot;@&quot;). This option allows to exclude characters or sequence of characters, events.<br>
     
    3324$lang['UAM_infotxtTitle'] = 'Customizing the information email';
    3425$lang['UAM_confirmtxtTitle'] = 'Customizing the confirmation email';
    35 $lang['UAM_confirmgrpTitle'] = 'Validation Groups';
    36 $lang['UAM_confirmgrpTitle_d'] = '<b style=&quot;color: red;&quot;>WARNING : Using validation groups requires that you have created at least one users group and is defined &quot;by default&quot; in Piwigo\'s user groups management.</b><br><br>
    37 The groups are validated for use in conjunction with the &quot;Confirmation of registration&quot;';
    38 $lang['UAM_confirmstatTitle'] = 'Validation Statutes';
    39 $lang['UAM_confirmstatTitle_d'] = '<b style=&quot;color: red;&quot;>WARNING : The use of status validation requires that you have kept the &quot;Guest&quot; user with default setting (as user template) for new registered. Note you can set any other user as a template for new registered. Please refer to the Piwigo\'s documentation for more details.</b><br><br>
    40 The Statutes are validated for use in conjunction with the &quot;Confirmation of registration&quot;';
    4126$lang['UAM_validationlimitTitle'] = 'Deadline for registration validation limited';
    4227$lang['UAM_remailTitle'] = 'Remind unvalidated users';
     
    139124- Automated management : When the period between 2 successive visits is reached, the visitor is automatically deleted or moved into a wait group and/or status. In this second case, an information email can be sent to him.<br><br>
    140125<b style=&quot;color: red;&quot;>Important note : If you enable this feature for the first time or you have reactivated after a long period off during which new visitors are registered, you must initialize or reset the Ghost Tracker (see corresponding instructions on &quot;Ghost Tracker&quot; tab).</b>';
    141 $lang['UAM_miscTitle_d'] = '
    142 - Automatic or manual management of ghosts users<br>
    143 - Followed registered users<br>
    144 - Nickname mandatory for guests comments<br>
    145 ...
    146 ';
    147126$lang['UAM_mailexcTitle_d'] = 'By default, Piwigo accepts all email addresses in the format xxx@yyy.zz. Enabling this option allows you to exclude certain domains in the format: @ [domain_name].[domain_extension].<br><br>
    148127Examples :<br>
     
    154133<br><br>The triggering of these automation is achieved when connecting users (any user!) to the gallery.';
    155134$lang['UAM_GTAutoDelTitle'] = 'Custom message on deleted account';
    156 $lang['UAM_GTAutoGpTitle'] = 'Automatic change of group / status';
    157 $lang['UAM_GTAutoGpTitle_d'] = 'The automatic change of group or status equivalent to a demotion of the accounts involved and working on the same principle as the group or the status of validation (see &quot;Setting confirmations and validations of registration&quot;). Therefore be to define a group and / or status demoting access to the gallery. If this has already been defined with the use of registration confirmation function, you can use the same group / status.<br><br>
    158 <b style=&quot;color: red;&quot;>Important note :</b> If a ghost user still has not heard from after the time limit and despite the automatic notification by email (if enabled), he\'s automatically deleted from the database.';
    159 $lang['UAM_GTAutoMailTitle'] = 'Automatically sending an email when changing group / status';
    160135$lang['UAM_AdminValidationMail'] = 'Notification of manual registration validation';
    161136// --------- End: New or revised $lang ---- from version 2.16.0
     
    295270<br><br>
    296271Custom text for the redirect page can be entered in this field that is compatible with the FCK Editor and, for multi-languages, you can use the tags [lang] of the plugin Extended description if it\'s active.';
    297 $lang['UAM_GTAutoMailTitle_d'] = 'When an account is expired (group / status change demoting the visitor), an email information can be sent to clarify the reasons for this change and the means to recover the initial access to the gallery.
    298 <br>To do this, a link to revalidation of registration is attached to the email (automatic generation of a new validation key).<b style=&quot;color: red;&quot;>If the user has already been notified, his account is automatically destroyed.</b>
    299 <br><br>
    300 Enter the custom text that also explain the reasons for the demotion, to accompany the validation link. The custom text is not mandatory but strongly recommended. In fact, your visitors will not appreciate receiving an email containing only a single link without further explanation. ;-)
    301 <br><br>
    302 Further customize the content with special inserted tags:<br>
    303 - <b style=&quot;color: red;&quot;>[username]</b> to automatically insert the name of the destination user of the email.<br>
    304 - <b style=&quot;color: red;&quot;>[mygallery]</b> to insert the title of your gallery.<br>
    305 - <b style=&quot;color: red;&quot;>[myurl]</b> to insert your gallery URL if set in Piwigo\'s configuration options.
    306 <br><br>
    307 To use multiple languages, you can use the Extended description plugin\'s tags if it is active.
    308 <br><br>
    309 <b style=&quot;color: red;&quot;>Warning: The use of this function is intimately associated with the confirmation of registration by the user (confirmation by mail) and can not be activated without this option.</b>';
    310272$lang['UAM_CustomPasswRetrTitle_d'] = 'By default, when a user has lost his password and selects the option of recovery, he receives an email containing only his username and his new password.
    311273<br><br>
     
    326288Custom text for the redirect page can be entered in this field that is compatible with the FCK Editor and, for multi-languages, you can use the tags [lang] of the plugin Extended description if it\'s active.';
    327289// --------- End: New or revised $lang ---- from version 2.20.11
     290
     291
     292// --------- Starting below: New or revised $lang ---- from version 2.30.0
     293$lang['UAM_confirmTitle_d'] = '
     294- Information email generation<br>
     295- Register validation email generation<br>
     296- Groups, status or privacy level auto joining<br>
     297- Deadline for registration validation<br>
     298- Reminder email generation<br>
     299...
     300';
     301$lang['UAM_confirmgrpTitle'] = 'Groups';
     302$lang['UAM_confirmstatTitle'] = 'Statutes';
     303$lang['UAM_confirmgrpTitle_d'] = '<b style=&quot;color: red;&quot;>WARNING : Using groups on validation requires that you have created at least one users group and is defined &quot;by default&quot; in Piwigo\'s user groups management.</b><br><br>
     304The groups are validated for use in conjunction with the &quot;Confirmation of registration&quot;';
     305$lang['UAM_confirmstatTitle_d'] = '<b style=&quot;color: red;&quot;>WARNING : The use of statuses on validation requires that you have kept the &quot;Guest&quot; user with default setting (as user template) for new registered. Note you can set any other user as a template for new registered. Please refer to the Piwigo\'s documentation for more details.</b><br><br>
     306The Statutes are validated for use in conjunction with the &quot;Confirmation of registration&quot;';
     307$lang['UAM_confirmlevelTitle'] = 'Privacy level';
     308$lang['UAM_confirmlevelTitle_d'] = '<b style=&quot;color: red;&quot;>WARNING : The use of privacy level requires that you have used them with your pictures. Please refer to the Piwigo\'s documentation for more details.</b><br><br>
     309The privacy level is validated for use in conjunction with the &quot;Confirmation of registration&quot;';
     310$lang['UAM_GTAutoGpTitle'] = 'Automatic change of group / status / privacy level';
     311$lang['UAM_GTAutoGpTitle_d'] = 'The automatic change of group, status or privacy level is like a demotion of the accounts involved and working on the same principle as the group, status or privacy level of validation (see &quot;Setting confirmations and validations of registration&quot;). Therefore be to define a group, status and / or level demoting access to the gallery. If this has already been defined with the use of registration confirmation function, you can use the same group / status / level.<br><br>
     312<b style=&quot;color: red;&quot;>Important note :</b> If a ghost user still has not heard from after the time limit and despite the automatic notification by email (if enabled), he\'s automatically deleted from the database.';
     313$lang['UAM_GTAutoMailTitle'] = 'Automatically sending an email when changing group / status / privacy level';
     314$lang['UAM_GTAutoMailTitle_d'] = 'When an account is expired (group / status / privacy level change demoting the visitor), an email information can be sent to clarify the reasons for this change and the means to recover the initial access to the gallery.
     315<br>To do this, a link to revalidation of registration is attached to the email (automatic generation of a new validation key).<b style=&quot;color: red;&quot;>If the user has already been notified, his account is automatically destroyed.</b>
     316<br><br>
     317Enter the custom text that also explain the reasons for the demotion, to accompany the validation link. The custom text is not mandatory but strongly recommended. In fact, your visitors will not appreciate receiving an email containing only a single link without further explanation. ;-)
     318<br><br>
     319Further customize the content with special inserted tags:<br>
     320- <b style=&quot;color: red;&quot;>[username]</b> to automatically insert the name of the destination user of the email.<br>
     321- <b style=&quot;color: red;&quot;>[mygallery]</b> to insert the title of your gallery.<br>
     322- <b style=&quot;color: red;&quot;>[myurl]</b> to insert your gallery URL if set in Piwigo\'s configuration options.
     323<br><br>
     324To use multiple languages, you can use the Extended description plugin\'s tags if it is active.
     325<br><br>
     326<b style=&quot;color: red;&quot;>Warning: The use of this function is intimately associated with the confirmation of registration by the user (confirmation by mail) and can not be activated without this option.</b>';
     327$lang['UAM_GT_MainTitle'] = 'Ghost users management';
     328$lang['UAM_GT_MainTitle_d'] = '
     329- Automatic or manuel management of ghost users<br>
     330- E-mailing<br>
     331...
     332';
     333$lang['UAM_miscTitle'] = 'Other miscellaneous options';
     334$lang['UAM_miscTitle_d'] = '
     335- Registered users monitoring<br>
     336- Nickname mandatory for guests comments<br>
     337...
     338';
     339// --------- End: New or revised $lang ---- from version 2.30.0
    328340?>
  • extensions/UserAdvManager/trunk/language/en_UK/plugin.lang.php

    r12047 r12189  
    107107$lang['UAM_Title1'] = 'Setting restrictions for registrations';
    108108$lang['UAM_Title2'] = 'Setting confirmations and validations of registration';
    109 $lang['UAM_Title3'] = 'Setting the registered users monitoring and other options';
    110109$lang['UAM_Title4'] = 'Tips and examples of use';
    111110$lang['UAM_No_Casse'] = 'Usernames: Case sensitivity';
     
    125124$lang['UAM_Confirm_Mail'] = 'Confirmation of registration:';
    126125$lang['UAM_ConfirmMail_Text'] = ' Customizing the confirmation email:';
    127 $lang['UAM_Confirm_grpstat_notice'] = 'Caution: It is advisable to use either the group or the validation statutes and not both simultaneously.';
    128 $lang['UAM_Confirm_Group'] = 'Validation Groups<br>(leave ------- to not affect group)';
    129 $lang['UAM_Confirm_Status'] = 'Validation Statutes<br>(leave ------- to keep the Piwigo\'s default)';
    130126$lang['UAM_No_Confirm_Group'] = 'Group for users who have not validated their registration<br>';
    131127$lang['UAM_Validated_Group'] = 'Group for users who have validated their registration<br>';
     
    204200$lang['UAM_GTAuto'] = 'Automatic management of ghosts users';
    205201$lang['UAM_GTAutoDel'] = 'Automatic deletion of accounts';
    206 $lang['UAM_GTAutoGp'] = 'Automatic change of group / status';
    207202$lang['UAM_GTAutoMail'] = 'Automatically sending an email when changing group / status';
    208203$lang['UAM_Deleted_Account_Redirection_Page'] = 'Access denied - Account destroyed!';
     
    335330$lang['UAM_Error_Using_illegal_flag'] = 'Syntax error ! The [Kdays] AutoText flag is used as the "Deadline for registration validation limited" option was not activated. Please activate the option or correct the text field(s) colored in red.';
    336331// --------- End: New or revised $lang ---- from version 2.20.11
     332
     333
     334// --------- Starting below: New or revised $lang ---- from version 2.30.0
     335$lang['UAM_Confirm_grpstat_notice'] = 'Caution: It is advisable to use either the group or the validation statutes and not both simultaneously. The privacy level can be used in conjunction with a group or status assignment.';
     336$lang['UAM_Confirm_Group'] = 'Groups<br>(leave ------- to not affect group)';
     337$lang['UAM_Confirm_Status'] = 'Statutes<br>(leave ------- to keep the Piwigo\'s default)';
     338$lang['UAM_Confirm_Level'] = 'Privacy level<br>(leave ------- to keep the Piwigo\'s default)';
     339$lang['UAM_No_Valid_Level'] = 'Privacy level for users who have not validated their registration<br>';
     340$lang['UAM_Valid_Level'] = 'Privacy level for users who have validated their registration<br>';
     341$lang['UAM_GTAutoGp'] = 'Automatic change of group / status / privacy level';
     342$lang['UAM_Expired_Level'] = '<b>Privacy level</b> for user\'s registration has expired<br>';
     343$lang['UAM_MiscOptions'] = 'Other miscellaneous options';
     344$lang['UAM_Title3'] = 'Ghost users management';
     345$lang['UAM_Title5'] = 'Other miscellaneous options';
     346// --------- End: New or revised $lang ---- from version 2.30.0
    337347?>
  • extensions/UserAdvManager/trunk/language/fr_FR/help/plugin.lang.php

    r11320 r12189  
    44$lang['UAM_restricTitle'] = 'Restriction des inscriptions';
    55$lang['UAM_confirmTitle'] = 'Confirmation et validation des inscriptions';
    6 $lang['UAM_confirmTitle_d'] = '
    7 - Génération d\'email d\'information<br>
    8 - Génération d\'email de confirmation d\'inscription<br>
    9 - Affectation automatique de groupe ou statut<br>
    10 - Limitation du délai de validation<br>
    11 - Génération d\'email de rappel<br>
    12 ...
    13 ';
    14 $lang['UAM_miscTitle'] = 'Suivi des inscrits et fonctions diverses';
    156$lang['UAM_carexcTitle'] = 'Noms d\'utilisateurs : Exclusion de certains caractères';
    167$lang['UAM_carexcTitle_d'] = 'Il peut être intéressant d\'interdire certains caractères dans les noms d\'utilisateurs (exemple : refuser les logins contenant un &quot;@&quot;). Cette option permet d\'exclure les caractères, ou suite de caractères, indésirables.<br>NB: l\'option permet également d\'exclure des mots complets.
     
    3223$lang['UAM_infotxtTitle'] = 'Personnalisation de l\'email d\'information';
    3324$lang['UAM_confirmtxtTitle'] = 'Personnalisation de l\'email de confirmation';
    34 $lang['UAM_confirmgrpTitle'] = 'Groupes de validation';
    35 $lang['UAM_confirmgrpTitle_d'] = '<b style=&quot;color: red;&quot;>ATTENTION : L\'utilisation des groupes de validation nécessite que vous ayez créé au moins un groupe d\'utilisateurs et qu\'il soit défini &quot;par défaut&quot; dans la gestion des groupes d\'utilisateurs de Piwigo.</b><br><br>
    36 Les groupes de validation sont à utiliser conjointement avec l\'option &quot;Confirmation d\'inscription&quot;';
    37 $lang['UAM_confirmstatTitle'] = 'Statuts de validation';
    38 $lang['UAM_confirmstatTitle_d'] = '<b style=&quot;color: red;&quot;>ATTENTION : L\'utilisation des statuts de validation nécessite que vous ayez conservé l\'utilisateur &quot;Guest&quot; pour le paramétrage par défaut (modèle) pour les nouveaux inscrits. A noter : Vous pouvez définir n\'importe quel autre utilisateur comme modèle pour les nouveaux inscrits. Reportez-vous à la documentation de Piwigo pour plus de détails.</b><br><br>
    39 Les statuts de validation sont à utiliser conjointement avec l\'option &quot;Confirmation d\'inscription&quot;';
    4025$lang['UAM_validationlimitTitle'] = 'Limitation du délai de validation d\'inscription';
    4126$lang['UAM_remailTitle'] = 'Mail de rappel aux inscrits non validés';
     
    135120- Gestion automatisée : Lorsque le délai entre 2 visites successives est atteint, le visiteur est automatiquement soit supprimé, soit basculé dans un groupe et/ou statut d\'attente. Dans ce deuxième cas, un email d\'information peut lui être envoyé.<br><br><br>
    136121<b style=&quot;color: red;&quot;>IMPORTANT : A première activation de cette fonction, ou à sa réactivation après une longue période pendant laquelle de nouveaux visiteurs se sont inscrits, il convient d\'initialiser le Ghost Tracker (voir les instructions correspondantes sur l\'onglet &quot;Ghost Tracker&quot;).</b>';
    137 $lang['UAM_miscTitle_d'] = '
    138 - Gestion automatique ou manuelle des visiteurs fantômes<br>
    139 - Suivi des visiteurs inscrits<br>
    140 - Pseudo obligatoire sur commentaire pour les visiteurs<br>
    141 ...
    142 ';
    143122$lang['UAM_mailexcTitle_d'] = 'Par défaut, Piwigo accepte toutes les adresses de messagerie au format xxx@yyy.zz. L\'activation de cette option permet d\'exclure certains domaines selon le format : @[nom_du_domaine].[extension_du_domaine].<br><br>
    144123Exemples :<br>
     
    150129<br><br>Le déclenchement de ces automatismes se réalise lors de la connexion des utilisateurs (n\'importe quel utilisateur !)à la galerie.';
    151130$lang['UAM_GTAutoDelTitle'] = 'Message personnalisé de suppression de compte';
    152 $lang['UAM_GTAutoGpTitle'] = 'Changement automatique de groupe / statut';
    153 $lang['UAM_GTAutoGpTitle_d'] = 'Le changement automatique de groupe ou de statut équivaut à une rétrogradation des comptes concernés et fonctionne sur le même principe que le groupe ou le statut de validation (voir &quot;Paramétrage des confirmations et validations d\'inscriptions&quot;). Il conviendra donc de définir un groupe et/ou un statut rétrogradant l\'accès à la galerie. Si cela a déjà été défini avec l\'utilisation de la fonction Confirmation d\'inscription, on peut utiliser ces mêmes groupe / statut.<br><br>
    154 <b style=&quot;color: red;&quot;>Point important :</b> Si un utilisateur fantôme n\'a toujours pas donné signe de vie après le délai imparti et malgré la notification automatique par mail (si activée), il est automatiquement supprimé de la base de données.';
    155 $lang['UAM_GTAutoMailTitle'] = 'Email automatique sur changement de groupe / statut';
    156131$lang['UAM_AdminValidationMail'] = 'Notification de validation d\'inscription manuelle';
    157132// --------- End: New or revised $lang ---- from version 2.16.0
     
    291266<br><br>
    292267Un texte personnalisé pour cette page de redirection peut être saisi dans le champ ci-dessous qui est compatible avec l\'extension FCK Editor. Pour une utilisation multi-langues, vous pouvez utiliser les balises [lang] du plugin Extended Description si celui-ci est actif.';
    293 $lang['UAM_GTAutoMailTitle_d'] = 'Lorsqu\'un compte est expiré (changement de groupe / statut rétrogradant le visiteur), un email d\'information peut être envoyé pour préciser les raisons de ce changement et le moyen de recouvrer l\'accès initial à la galerie.
    294 <br>Pour ce faire, un lien de revalidation de l\'inscription est joint à l\'email (génération automatique d\'une nouvelle clé de validation).<b style=&quot;color: red;&quot;>Si l\'utilisateur a déjà été notifié, son compte est automatiquement détruit.</b>
    295 <br><br>
    296 Saisissez aussi le texte personnalisé qui expliquera les raisons de la rétrogradation et qui accompagnera le lien de validation. Le texte personnalisé n\'est pas obligatoire mais vivement conseillé. En effet, vos visiteurs inscrits n\'apprécieront que moyennement de recevoir un email ne contenant qu\'un simple lien sans plus d\'explications. ;-)
    297 <br><br>
    298 Personnalisez encore plus le contenu avec les balises d\'insertion spéciales :<br>
    299 - <b style=&quot;color: red;&quot;>[username]</b> pour insérer automatiquement le nom de l\'utilisateur destinataire de l\'email.<br>
    300 - <b style=&quot;color: red;&quot;>[mygallery]</b> pour insérer le titre de votre galerie.<br>
    301 - <b style=&quot;color: red;&quot;>[myurl]</b> pour insérer l\'URL de votre galerie si renseigné dans les options de configuration de Piwigo.
    302 <br><br>
    303 Pour une utilisation multi-langues, vous pouvez utiliser les balises [lang] du plugin Extended Description si celui-ci est actif.
    304 <br><br>
    305 <b style=&quot;color: red;&quot;>Attention : L\'emploi de cette fonction est intimement lié à l\'option de confirmation d\'inscription par l\'utilisateur (confirmation par mail) et ne peut pas être activée sans cette option.</b>';
    306268$lang['UAM_CustomPasswRetrTitle_d'] = 'Par défaut, lorsqu\'un utilisateur a perdu son mot de passe et qu\'il sélectionne l\'option de récupération, il reçoit un email ne contenant que son nom d\'utilisateur et son nouveau mot de passe.
    307269<br><br>
     
    322284La balise <b style=&quot;color: red;&quot;>[username]</b> n\'est pas disponible ici puisque l\'utilisateur en question a été supprimé.';
    323285// --------- End: New or revised $lang ---- from version 2.20.11
     286
     287
     288// --------- Starting below: New or revised $lang ---- from version 2.30.0
     289$lang['UAM_confirmTitle_d'] = '
     290- Génération d\'email d\'information<br>
     291- Génération d\'email de confirmation d\'inscription<br>
     292- Affectation automatique de groupe, de statut ou de niveau de confidentialité<br>
     293- Limitation du délai de validation<br>
     294- Génération d\'email de rappel<br>
     295...
     296';
     297$lang['UAM_confirmgrpTitle'] = 'Groupes';
     298$lang['UAM_confirmstatTitle'] = 'Statuts';
     299$lang['UAM_confirmgrpTitle_d'] = '<b style=&quot;color: red;&quot;>ATTENTION : L\'utilisation des groupes à la validation nécessite que vous ayez créé au moins un groupe d\'utilisateurs et qu\'il soit défini &quot;par défaut&quot; dans la gestion des groupes d\'utilisateurs de Piwigo.</b><br><br>
     300Les groupes à la validation sont à utiliser conjointement avec l\'option &quot;Confirmation d\'inscription&quot;';
     301$lang['UAM_confirmstatTitle_d'] = '<b style=&quot;color: red;&quot;>ATTENTION : L\'utilisation des statuts à la validation nécessite que vous ayez conservé l\'utilisateur &quot;Guest&quot; pour le paramétrage par défaut (modèle) pour les nouveaux inscrits. A noter : Vous pouvez définir n\'importe quel autre utilisateur comme modèle pour les nouveaux inscrits. Reportez-vous à la documentation de Piwigo pour plus de détails.</b><br><br>
     302Les statuts à la validation sont à utiliser conjointement avec l\'option &quot;Confirmation d\'inscription&quot;';
     303$lang['UAM_confirmlevelTitle'] = 'Niveau de confidentialité';
     304$lang['UAM_confirmlevelTitle_d'] = '<b style=&quot;color: red;&quot;>ATTENTION : L\'utilisation des niveaux de confidentialité à la validation nécessite que vous ayez affecté un niveau de confidentialité aux photos que vous voulez restreindre. Reportez vous à la documentation de Piwigo pour plus de détails.</b><br><br>
     305Les niveaux de confidentialité à la validation sont à utiliser conjointement avec l\'option &quot;Confirmation d\'inscription&quot;';
     306$lang['UAM_GTAutoGpTitle'] = 'Changement automatique de groupe / statut / niveau de confidentialité';
     307$lang['UAM_GTAutoGpTitle_d'] = 'Le changement automatique de groupe, de statut ou de niveau de confidentialité équivaut à une rétrogradation des comptes concernés et fonctionne sur le même principe que le groupe, le statut ou le niveau de confidentialité à la validation (voir &quot;Paramétrage des confirmations et validations d\'inscriptions&quot;). Il conviendra donc de définir un groupe ou un statut et/ou un niveau de confidentialité rétrogradant l\'accès à la galerie. Si cela a déjà été défini avec l\'utilisation de la fonction Confirmation d\'inscription, on peut utiliser ces mêmes groupes / statuts / niveaux.<br><br>
     308<b style=&quot;color: red;&quot;>Point important :</b> Si un utilisateur fantôme n\'a toujours pas donné signe de vie après le délai imparti et malgré la notification automatique par mail (si activée), il est automatiquement supprimé de la base de données.';
     309$lang['UAM_GTAutoMailTitle'] = 'Email automatique sur changement de groupe / statut / Niveau de confidentialité';
     310$lang['UAM_GTAutoMailTitle_d'] = 'Lorsqu\'un compte est expiré (changement de groupe, de statut ou de niveau de confidentialité rétrogradant le visiteur), un email d\'information peut être envoyé pour préciser les raisons de ce changement et le moyen de recouvrer l\'accès initial à la galerie.
     311<br>Pour ce faire, un lien de revalidation de l\'inscription est joint à l\'email (génération automatique d\'une nouvelle clé de validation).<b style=&quot;color: red;&quot;>Si l\'utilisateur a déjà été notifié, son compte est automatiquement détruit.</b>
     312<br><br>
     313Saisissez aussi le texte personnalisé qui expliquera les raisons de la rétrogradation et qui accompagnera le lien de validation. Le texte personnalisé n\'est pas obligatoire mais vivement conseillé. En effet, vos visiteurs inscrits n\'apprécieront que moyennement de recevoir un email ne contenant qu\'un simple lien sans plus d\'explications. ;-)
     314<br><br>
     315Personnalisez encore plus le contenu avec les balises d\'insertion spéciales :<br>
     316- <b style=&quot;color: red;&quot;>[username]</b> pour insérer automatiquement le nom de l\'utilisateur destinataire de l\'email.<br>
     317- <b style=&quot;color: red;&quot;>[mygallery]</b> pour insérer le titre de votre galerie.<br>
     318- <b style=&quot;color: red;&quot;>[myurl]</b> pour insérer l\'URL de votre galerie si renseigné dans les options de configuration de Piwigo.
     319<br><br>
     320Pour une utilisation multi-langues, vous pouvez utiliser les balises [lang] du plugin Extended Description si celui-ci est actif.
     321<br><br>
     322<b style=&quot;color: red;&quot;>Attention : L\'emploi de cette fonction est intimement lié à l\'option de confirmation d\'inscription par l\'utilisateur (confirmation par mail) et ne peut pas être activée sans cette option.</b>';
     323$lang['UAM_GT_MainTitle'] = 'Gestion des utilisateurs fantômes';
     324$lang['UAM_GT_MainTitle_d'] = '
     325- Gestion automatique ou manuelle des visiteurs fantômes<br>
     326- Mailing<br>
     327...
     328';
     329$lang['UAM_miscTitle'] = 'Autres options diverses';
     330$lang['UAM_miscTitle_d'] = '
     331- Suivi des visiteurs inscrits<br>
     332- Pseudo obligatoire sur commentaire pour les visiteurs<br>
     333...
     334';
     335// --------- End: New or revised $lang ---- from version 2.30.0
    324336?>
  • extensions/UserAdvManager/trunk/language/fr_FR/plugin.lang.php

    r11318 r12189  
    108108$lang['UAM_Title1'] = 'Paramétrage des restrictions d\'inscriptions';
    109109$lang['UAM_Title2'] = 'Paramétrage des confirmations et validations d\'inscriptions';
    110 $lang['UAM_Title3'] = 'Paramétrage des suivis des inscrits et autres options';
    111110$lang['UAM_Title4'] = 'Astuces et exemples d\'utilisation';
    112111$lang['UAM_No_Casse'] = 'Noms d\'utilisateurs : Sensibilité à la casse';
     
    126125$lang['UAM_Confirm_Mail'] = 'Confirmation d\'inscription:';
    127126$lang['UAM_ConfirmMail_Text'] = ' Texte d\'accueil personnalisé:';
    128 $lang['UAM_Confirm_Group'] = 'Groupes de validation<br>(------- pour ne pas affecter de groupe)';
    129 $lang['UAM_Confirm_Status'] = 'Statuts de validation<br>(------- pour conserver la valeur par défaut de Piwigo)';
    130 $lang['UAM_Confirm_grpstat_notice'] = 'Attention : Il est conseillé d\'utiliser soit les groupes, soit les statuts de validation et pas les deux simultanément.';
    131127$lang['UAM_No_Confirm_Group'] = 'Pour les utilisateurs n\'ayant pas validé leur inscription<br>';
    132128$lang['UAM_Validated_Group'] = 'Pour les utilisateurs ayant validé leur inscription<br>';
     
    204200$lang['UAM_GTAuto'] = 'Gestion automatique des utilisateurs fantomes';
    205201$lang['UAM_GTAutoDel'] = 'Suppressions automatiques des comptes';
    206 $lang['UAM_GTAutoGp'] = 'Changement automatique de groupe / statut';
    207202$lang['UAM_GTAutoMail'] = 'Email automatique sur changement de groupe / statut';
    208203$lang['UAM_Deleted_Account_Redirection_Page'] = 'Accès refusé - Compte détruit !';
     
    333328$lang['UAM_Error_Using_illegal_flag'] = 'Erreur de syntaxe ! Le drapeau d\'insertion automatique [Kdays] est utilisé alors que l\'option "Limitation du délai de validation d\'inscription" n\'a pas été activée. Veuillez activer l\'option ou corriger le(s) champ(s) marqué(s) en rouge.';
    334329// --------- End: New or revised $lang ---- from version 2.20.11
     330
     331// --------- Starting below: New or revised $lang ---- from version 2.30.0
     332$lang['UAM_Confirm_grpstat_notice'] = 'Attention : Il est conseillé d\'affecter soit les groupes, soit les statuts et pas les deux simultanément. Le niveau de confidentialité peut être utilisé conjointement avec une affectation de groupe ou de statut.';
     333$lang['UAM_Confirm_Group'] = 'Groupes<br>(------- pour ne pas affecter de groupe)';
     334$lang['UAM_Confirm_Status'] = 'Statuts<br>(------- pour conserver la valeur par défaut de Piwigo)';
     335$lang['UAM_Confirm_Level'] = 'Niveau de confidentialité<br>(------- pour conserver la valeur par défaut de Piwigo)';
     336$lang['UAM_No_Valid_Level'] = 'Pour les utilisateurs n\'ayant pas validé leur inscription<br>';
     337$lang['UAM_Valid_Level'] = 'Pour les utilisateurs ayant validé leur inscription.<br>';
     338$lang['UAM_GTAutoGp'] = 'Changement automatique de groupe / statut / niveau de confidentialité';
     339$lang['UAM_Expired_Level'] = '<b>Niveau de confidentialité</b> pour les utilisateurs dont l\'inscription aura expirée<br>';
     340$lang['UAM_MiscOptions'] = 'Autres options';
     341$lang['UAM_Title3'] = 'Gestion des utilisateurs fantômes';
     342$lang['UAM_Title5'] = 'Autres options diverses';
     343// --------- End: New or revised $lang ---- from version 2.30.0
    335344?>
  • extensions/UserAdvManager/trunk/main.inc.php

    r11318 r12189  
    22/*
    33Plugin Name: UserAdvManager
    4 Version: 2.20.11
     4Version: 2.30.0RC1
    55Description: Renforcer la gestion des utilisateurs - Enforce users management
    66Plugin URI: http://piwigo.org/ext/extension_view.php?eid=216
  • extensions/UserAdvManager/trunk/maintain.inc.php

    r11095 r12189  
    2222Best regards,
    2323
    24 The admin of the gallery.','false','false','false','false','false','Sorry [username], your account has been deleted due to a too long time passed since your last visit at [mygallery].','Sorry [username], your account has been deprecated due to a too long time passed since your last visit at [mygallery]. Please, use the following link to revalidate your account.',-1,-1,'Thank you for registering at [mygallery]. Your account has been manually validated by _admin_. You may now log in at _link_to_site_ and make any appropriate changes to your profile. Welcome to _name_of_site_!','false','You have requested a password reset on our gallery. Please, find below your new connection settings.','false','Sorry, your account has been deleted because you have not validated your registration in requested time. Please, try registration with a valid and non blocked email account.','false','false','false');
     24The admin of the gallery.','false','false','false','false','false','Sorry [username], your account has been deleted due to a too long time passed since your last visit at [mygallery].','Sorry [username], your account has been deprecated due to a too long time passed since your last visit at [mygallery]. Please, use the following link to revalidate your account.',-1,-1,'Thank you for registering at [mygallery]. Your account has been manually validated by _admin_. You may now log in at _link_to_site_ and make any appropriate changes to your profile. Welcome to _name_of_site_!','false','You have requested a password reset on our gallery. Please, find below your new connection settings.','false','Sorry, your account has been deleted because you have not validated your registration in requested time. Please, try registration with a valid and non blocked email account.','false','false','false',-1,-1,-1);
    2525
    2626        $query = '
     
    266266      upgrade_2207_2208();
    267267    }
     268
     269    if (version_compare($conf['UserAdvManager_Version'], '2.30.0') < 0)
     270    {
     271    /* upgrade from version 2.20.8 to 2.30.0 */
     272    /* ************************************* */
     273      upgrade_2208_2300();
     274    }
    268275  }
    269276
Note: See TracChangeset for help on using the changeset viewer.