Ignore:
Timestamp:
Mar 28, 2011, 10:53:47 PM (14 years ago)
Author:
Eric
Message:

r9908 merged from trunk to branch 2.20

Location:
extensions/UserAdvManager/branches/2.20
Files:
19 edited

Legend:

Unmodified
Added
Removed
  • extensions/UserAdvManager/branches/2.20/admin/UAM_admin.php

    r9325 r9909  
    105105  case 'global':
    106106
    107         if (isset($_POST['submit']) and isset($_POST['UAM_Mail_Info']) and isset($_POST['UAM_Username_Char']) and isset($_POST['UAM_Confirm_Mail']) and isset($_POST['UAM_No_Comment_Anonymous']) and isset($_POST['UAM_Password_Enforced']) and isset($_POST['UAM_AdminPassword_Enforced']) and isset($_POST['UAM_GhostUser_Tracker']) and isset($_POST['UAM_Admin_ConfMail']) and isset($_POST['UAM_RedirToProfile']) and isset($_POST['UAM_GTAuto']) and isset($_POST['UAM_GTAutoMail']) and isset($_POST['UAM_CustomPasswRetr']) and isset($_POST['UAM_USRAuto']) and isset($_POST['UAM_USRAutoMail']))
     107        if (isset($_POST['submit']) and isset($_POST['UAM_Mail_Info']) and isset($_POST['UAM_Username_Char']) and isset($_POST['UAM_Confirm_Mail']) and isset($_POST['UAM_No_Comment_Anonymous']) and isset($_POST['UAM_Password_Enforced']) and isset($_POST['UAM_AdminPassword_Enforced']) and isset($_POST['UAM_GhostUser_Tracker']) and isset($_POST['UAM_Admin_ConfMail']) and isset($_POST['UAM_RedirToProfile']) and isset($_POST['UAM_GTAuto']) and isset($_POST['UAM_GTAutoMail']) and isset($_POST['UAM_CustomPasswRetr']) and isset($_POST['UAM_USRAuto']) and isset($_POST['UAM_USRAutoMail']) and isset($_POST['UAM_Stuffs']))
    108108  {
    109109
     
    176176      $_POST['UAM_USRAuto'],
    177177      $_POST['UAM_USRAutoDelText'],
    178       $_POST['UAM_USRAutoMail']
     178      $_POST['UAM_USRAutoMail'],
     179      $_POST['UAM_Stuffs']
    179180      );
    180181
     
    422423    'UAM_USRAUTOMAIL_TRUE'           => $conf_UAM[33]=='true' ?  'checked="checked"' : '' ,
    423424    'UAM_USRAUTOMAIL_FALSE'          => $conf_UAM[33]=='false' ?  'checked="checked"' : '' ,
     425    'UAM_STUFFS_TRUE'                => $conf_UAM[34]=='true' ?  'checked="checked"' : '' ,
     426    'UAM_STUFFS_FALSE'               => $conf_UAM[34]=='false' ?  'checked="checked"' : '' ,
    424427                'UAM_PASSWORD_TEST_SCORE'        => $UAM_Password_Test_Score,
    425428    'UAM_ERROR_REPORTS4'             => $UAM_Exclusionlist_Error,
  • extensions/UserAdvManager/branches/2.20/admin/template/global.tpl

    r9459 r9909  
    110110            <br><br>
    111111              <input type="radio" value="false" {$UAM_ADMINPASSWENF_FALSE} name="UAM_AdminPassword_Enforced">
    112                 {'UAM_Disable'|@translate}<br>       
     112                {'UAM_Disable'|@translate}
     113            <br>       
    113114              <input type="radio" value="true" {$UAM_ADMINPASSWENF_TRUE} name="UAM_AdminPassword_Enforced">
    114115                {'UAM_Enable'|@translate}
    115               <br><br>
     116            <br><br>
    116117            </li>
    117118          </ul>
     
    121122              {'UAM_MailExclusion'|@translate}
    122123            </label>
    123             <br><br>
     124          <br><br>
    124125            <input type="radio" value="false" {$UAM_MAILEXCLUSION_FALSE} name="UAM_MailExclusion">
    125               {'UAM_Disable'|@translate}<br>
     126              {'UAM_Disable'|@translate}
     127          <br>
    126128            <input type="radio" value="true" {$UAM_MAILEXCLUSION_TRUE} name="UAM_MailExclusion">
    127129              {'UAM_MailExclusion_true'|@translate}
    128             <br><br>
     130          <br><br>
    129131          </li>
    130132
     
    163165              {'UAM_Mail_Info'|@translate}
    164166            </label>
    165             <br><br>
     167          <br><br>
    166168            <input type="radio" value="false" {$UAM_MAIL_INFO_FALSE} name="UAM_Mail_Info">
    167               {'UAM_Disable'|@translate}<br>
     169              {'UAM_Disable'|@translate}
     170          <br>
    168171            <input type="radio" value="true" {$UAM_MAIL_INFO_TRUE} name="UAM_Mail_Info">
    169172              {'UAM_Enable'|@translate}
    170             <br><br>
     173          <br><br>
    171174          </li>
    172175
    173           <ul>
    174             <li>
    175               <label class="cluetip" title="{'UAM_infotxtTitle'|translate}|{'UAM_infotxtTitle_d'|translate}">
    176                 {'UAM_MailInfo_Text'|@translate}
    177               </label>
     176        {if $UAM_MAIL_INFO_FALSE}
     177          <div class="uam_hide">
     178        {/if}
     179
     180          <fieldset>
     181            <ul>
     182              <li>
     183                <label class="cluetip" title="{'UAM_infotxtTitle'|translate}|{'UAM_infotxtTitle_d'|translate}">
     184                  {'UAM_MailInfo_Text'|@translate}
     185                </label>
    178186              <br><br>
    179187                <textarea class="uam_textfields" name="UAM_MailInfo_Text" id="UAM_MailInfo_Text" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_MAILINFO_TEXT}</textarea>
    180188              <br><br>
    181             </li>
     189              </li>
    182190<!--
    183191            {* if 'FCK_PATH'|@defined *}
     
    187195            {* /if *}
    188196-->
    189           </ul>
     197            </ul>
     198          </fieldset>
     199
     200        {if $UAM_MAIL_INFO_FALSE}
     201          </div>
     202        {/if}
    190203
    191204                <li>
     
    193206              {'UAM_Confirm_Mail'|@translate}
    194207            </label>
    195          <br><br>
     208          <br><br>
    196209            <input type="radio" value="false" {$UAM_CONFIRM_MAIL_FALSE} name="UAM_Confirm_Mail">
    197               {'UAM_Disable'|@translate}<br>
     210              {'UAM_Disable'|@translate}
     211          <br>
    198212            <input type="radio" value="true" {$UAM_CONFIRM_MAIL_TRUE} name="UAM_Confirm_Mail">
    199               {'UAM_Confirm_Mail_true'|@translate}<br>
     213              {'UAM_Confirm_Mail_true'|@translate}
     214          <br>
    200215            <input type="radio" value="local" {$UAM_CONFIRM_MAIL_LOCAL} name="UAM_Confirm_Mail">
    201216              {'UAM_Confirm_Mail_local'|@translate}
    202             <br><br>
    203 {if $UAM_CONFIRM_MAIL_FALSE}
    204 <div class="uam_hide">
    205 {/if}
    206             <ul>
    207               <li>
    208                 <label class="cluetip" title="{'UAM_AdminValidationMail'|translate}|{'UAM_AdminValidationMail_d'|translate}">
    209                   {'UAM_AdminValidationMail_Text'|@translate}
    210                 </label>
    211                 <br><br>
    212                   <textarea class="uam_textfields" name="UAM_AdminValidationMail_Text" id="UAM_AdminValidationMail_Text" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_ADMINVALIDATIONMAIL_TEXT}</textarea>
    213                 <br><br>
    214               </li>
    215             </ul>
    216 {if $UAM_CONFIRM_MAIL_FALSE}
    217 </div>
    218 {/if}
    219                 </li>
    220 {if $UAM_CONFIRM_MAIL_FALSE}
    221 <div class="uam_hide">
    222 {/if}
     217          <br><br>
     218          </li>
     219         
     220        {if $UAM_CONFIRM_MAIL_FALSE}
     221          <div class="uam_hide">
     222        {/if}
     223
     224          <fieldset>
     225          <ul>
     226                  <li>
     227              <label class="cluetip" title="{'UAM_StuffsTitle'|translate}|{'UAM_StuffsTitle_d'|translate}">
     228                {'UAM_Stuffs'|@translate}
     229              </label>
     230            <br><br>
     231              <input type="radio" value="false" {$UAM_STUFFS_FALSE} name="UAM_Stuffs">
     232                {'UAM_Disable'|@translate}
     233            <br>
     234              <input type="radio" value="true" {$UAM_STUFFS_TRUE} name="UAM_Stuffs">
     235                {'UAM_Enable'|@translate}
     236            <br><br>
     237            </li>
     238
     239            <li>
     240              <label class="cluetip" title="{'UAM_AdminValidationMail'|translate}|{'UAM_AdminValidationMail_d'|translate}">
     241                {'UAM_AdminValidationMail_Text'|@translate}
     242              </label>
     243            <br><br>
     244              <textarea class="uam_textfields" name="UAM_AdminValidationMail_Text" id="UAM_AdminValidationMail_Text" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_ADMINVALIDATIONMAIL_TEXT}</textarea>
     245            <br><br>
     246            </li>
     247          </ul>
     248
    223249          <ul>
    224250                  <li>
     
    226252                {'UAM_AdminConfMail'|@translate}
    227253              </label>
    228               <br><br>
     254            <br><br>
    229255              <input type="radio" value="false" {$UAM_ADMINCONFMAIL_FALSE} name="UAM_Admin_ConfMail">
    230                 {'UAM_Disable'|@translate}<br>
     256                {'UAM_Disable'|@translate}
     257            <br>
    231258              <input type="radio" value="true" {$UAM_ADMINCONFMAIL_TRUE} name="UAM_Admin_ConfMail">
    232259                {'UAM_Enable'|@translate}
    233               <br><br>
     260            <br><br>
    234261            </li>
    235262           
     
    238265                {'UAM_ConfirmMail_Text'|@translate}
    239266              </label>
    240               <br><br>
     267            <br><br>
    241268                <textarea class="uam_textfields" name="UAM_ConfirmMail_Text" id="UAM_ConfirmMail_Text" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_CONFIRMMAIL_TEXT}</textarea>
    242               <br><br>
     269            <br><br>
    243270            </li>
    244271<!--
     
    254281                {'UAM_confirmmail_custom_Txt1'|@translate}
    255282              </label>
    256               <br><br>
     283            <br><br>
    257284                <textarea class="uam_textfields" name="UAM_ConfirmMail_Custom_Txt1" id="UAM_ConfirmMail_Custom_Txt1" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_CONFIRMMAIL_CUSTOM_TXT1}</textarea>
    258               <br><br>
     285            <br><br>
    259286            </li>
    260287            {if 'FCK_PATH'|@defined}
     
    268295                {'UAM_confirmmail_custom_Txt2'|@translate}
    269296              </label>
    270               <br><br>
     297            <br><br>
    271298                <textarea class="uam_textfields" name="UAM_ConfirmMail_Custom_Txt2" id="UAM_ConfirmMail_Custom_Txt2" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_CONFIRMMAIL_CUSTOM_TXT2}</textarea>
    272               <br><br>
     299            <br><br>
    273300            </li>
    274301            {if 'FCK_PATH'|@defined}
     
    278305            {/if}
    279306          </ul>
    280 
    281           <br><hr><br>
    282 
     307          </fieldset>
     308
     309          <fieldset>
    283310          <ul>
    284311            <div id="uam_notice">{'UAM_Confirm_grpstat_notice'|@translate}</div>
     
    295322                  <label>
    296323                    {'UAM_No_Confirm_Group'|@translate}
    297                   </label><br>
     324                  </label>
     325                <br>
    298326                  <div id="uam_leftmargin">
    299327                    {html_options name="UAM_No_Confirm_Group" options=$No_Confirm_Group.group_options selected=$No_Confirm_Group.group_selected}
    300328                  </div>
    301                   <br><br>
     329                <br><br>
    302330                </li>
    303331
     
    305333                  <label>
    306334                    {'UAM_Validated_Group'|@translate}
    307                   </label><br>
     335                  </label>
     336                <br>
    308337                  <div id="uam_leftmargin">
    309338                    {html_options name="UAM_Validated_Group" options=$Validated_Group.group_options selected=$Validated_Group.group_selected}
    310339                  </div>
    311                   <br><br>
     340                <br><br>
    312341                </li>
    313342              </ul>
     
    324353                  <label>
    325354                    {'UAM_No_Confirm_Status'|@translate}
    326                   </label><br>
     355                  </label>
     356                <br>
    327357                  <div id="uam_leftmargin">
    328358                    {html_options name="UAM_No_Confirm_Status" options=$No_Confirm_Status.Status_options selected=$No_Confirm_Status.Status_selected}
    329359                  </div>
    330                   <br><br>
     360                <br><br>
    331361                </li>
    332362
     
    334364                  <label>
    335365                    {'UAM_Validated_Status'|@translate}
    336                   </label><br>
     366                  </label>
     367                <br>
    337368                  <div id="uam_leftmargin">
    338369                    {html_options name="UAM_Validated_Status" options=$Confirm_Status.Status_options selected=$Confirm_Status.Status_selected}
    339370                  </div>
    340                   <br><br>
     371                <br><br>
    341372                </li>
    342373              </ul>
    343 
    344               <br><hr><br>
    345 
     374            </ul>
     375            </fieldset>
     376
     377            <fieldset>
     378            <ul>
    346379              <li>
    347380                <label class="cluetip" title="{'UAM_validationlimitTitle'|translate}|{'UAM_validationlimitTitle_d'|translate}">
     
    350383              <br><br>
    351384                <input type="radio" value="false" {$UAM_CONFIRMMAIL_TIMEOUT_FALSE} name="UAM_ConfirmMail_TimeOut">
    352                   {'UAM_Disable'|@translate}<br>
     385                  {'UAM_Disable'|@translate}
     386              <br>
    353387                <input type="radio" value="true" {$UAM_CONFIRMMAIL_TIMEOUT_TRUE} name="UAM_ConfirmMail_TimeOut">
    354388                  {'UAM_ConfirmMail_TimeOut_true'|@translate}
    355                 <input type="text" name="UAM_ConfirmMail_Delay" value="{$UAM_CONFIRMMAIL_DELAY}" size="5" style="text-align: center;"><br><br>
     389                <input type="text" name="UAM_ConfirmMail_Delay" value="{$UAM_CONFIRMMAIL_DELAY}" size="5" style="text-align: center;">
     390              <br><br>
    356391              </li>
    357392
     
    362397              <br><br>
    363398                <input type="radio" value="false" {$UAM_CONFIRMMAIL_REMAIL_FALSE} name="UAM_ConfirmMail_Remail">
    364                   {'UAM_Disable'|@translate}<br>
     399                  {'UAM_Disable'|@translate}
     400              <br>
    365401                <input type="radio" value="true" {$UAM_CONFIRMMAIL_REMAIL_TRUE} name="UAM_ConfirmMail_Remail">
    366                   {'UAM_Enable'|@translate}<br><br>
     402                  {'UAM_Enable'|@translate}
     403              <br><br>
    367404              </li>
    368405
     
    372409                    {'UAM_ConfirmMail_ReMail_Txt1'|@translate}
    373410                  </label>
    374                   <br><br>
     411                <br><br>
    375412                    <textarea class="uam_textfields" name="UAM_ConfirmMail_ReMail_Txt1" id="UAM_ConfirmMail_ReMail_Txt1" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_CONFIRMMAIL_REMAIL_TXT1}</textarea>
    376                   <br><br>
     413                <br><br>
    377414                </li>
    378415<!--
     
    388425                    {'UAM_ConfirmMail_ReMail_Txt2'|@translate}
    389426                  </label>
    390                   <br><br>
    391                     <textarea class="uam_textfields" name="UAM_ConfirmMail_ReMail_Txt2" id="UAM_ConfirmMail_ReMail_Txt2" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_CONFIRMMAIL_REMAIL_TXT2}</textarea><br>
     427                <br><br>
     428                    <textarea class="uam_textfields" name="UAM_ConfirmMail_ReMail_Txt2" id="UAM_ConfirmMail_ReMail_Txt2" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_CONFIRMMAIL_REMAIL_TXT2}</textarea>
     429                <br>
    392430                </li>
    393431<!--
     
    399437-->
    400438              </ul>
     439            </ul>
     440            </fieldset>
     441
    401442          {if $UAM_CONFIRMMAIL_TIMEOUT_FALSE and $UAM_CONFIRMMAIL_REMAIL_FALSE}
    402443            <div class="uam_hide">
    403444          {/if}
    404 <br><hr><br>
    405 
    406               <li><label class="cluetip" title="{'UAM_USRAutoTitle'|translate}|{'UAM_USRAutoTitle_d'|translate}">{'UAM_USRAuto'|@translate}</label>
    407               <br><br>
    408                 <input type="radio" value="false" {$UAM_USRAUTO_FALSE} name="UAM_USRAuto">{'UAM_Disable'|@translate}<br>
    409                 <input type="radio" value="true" {$UAM_USRAUTO_TRUE} name="UAM_USRAuto">{'UAM_Enable'|@translate}<br><br>
    410               </li>
    411 
    412               <ul>
    413                 <li><label class="cluetip" title="{'UAM_USRAutoDelTitle'|translate}|{'UAM_USRAutoDelTitle_d'|translate}">{'UAM_USRAutoDel'|@translate}</label>
     445
     446          <fieldset>
     447          <ul>
     448            <li>
     449              <label class="cluetip" title="{'UAM_USRAutoTitle'|translate}|{'UAM_USRAutoTitle_d'|translate}">
     450                {'UAM_USRAuto'|@translate}
     451              </label>
     452            <br><br>
     453              <input type="radio" value="false" {$UAM_USRAUTO_FALSE} name="UAM_USRAuto">
     454                {'UAM_Disable'|@translate}
     455            <br>
     456              <input type="radio" value="true" {$UAM_USRAUTO_TRUE} name="UAM_USRAuto">
     457                {'UAM_Enable'|@translate}
     458            <br><br>
     459            </li>
     460
     461            <ul>
     462              <li>
     463                <label class="cluetip" title="{'UAM_USRAutoDelTitle'|translate}|{'UAM_USRAutoDelTitle_d'|translate}">
     464                  {'UAM_USRAutoDel'|@translate}
     465                </label>
    414466              <br><br>
    415467                <textarea class="uam_textfields" name="UAM_USRAutoDelText" id="UAM_USRAutoDelText" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_USRAUTODEL_TEXT}</textarea>
    416468              <br><br>
    417 
    418469              {if 'FCK_PATH'|@defined}
    419470                <div style="text-align:right;">
     
    421472                </div>
    422473              {/if}
    423                 </li>
    424 
    425                 <li><label class="cluetip" title="{'UAM_USRAutoMailTitle'|translate}|{'UAM_USRAutoMailTitle_d'|translate}">{'UAM_USRAutoMail'|@translate}</label><br><br>
    426                   <input type="radio" value="false" {$UAM_USRAUTOMAIL_FALSE} name="UAM_USRAutoMail">{'UAM_Disable'|@translate}<br>
    427                   <input type="radio" value="true" {$UAM_USRAUTOMAIL_TRUE} name="UAM_USRAutoMail">{'UAM_Enable'|@translate}<br><br><br>
    428                 </li>
    429               </ul>
     474              </li>
     475
     476              <li>
     477                <label class="cluetip" title="{'UAM_USRAutoMailTitle'|translate}|{'UAM_USRAutoMailTitle_d'|translate}">
     478                  {'UAM_USRAutoMail'|@translate}
     479                </label>
     480              <br><br>
     481                <input type="radio" value="false" {$UAM_USRAUTOMAIL_FALSE} name="UAM_USRAutoMail">
     482                  {'UAM_Disable'|@translate}
     483              <br>
     484                <input type="radio" value="true" {$UAM_USRAUTOMAIL_TRUE} name="UAM_USRAutoMail">
     485                  {'UAM_Enable'|@translate}
     486              <br><br><br>
     487              </li>
     488            </ul>
     489          </ul>
     490          </fieldset>
     491
    430492          {if $UAM_CONFIRMMAIL_TIMEOUT_FALSE and $UAM_CONFIRMMAIL_REMAIL_FALSE}
    431493            </div>
    432494          {/if}
    433           </ul>
    434 {if $UAM_CONFIRM_MAIL_FALSE}
    435 </div>
    436 {/if}
     495
     496        {if $UAM_CONFIRM_MAIL_FALSE}
     497          </div>
     498        {/if}
     499
    437500        </ul>
    438501      </fieldset>
     
    450513      <fieldset>
    451514        <ul>
    452           <li><label class="cluetip" title="{'UAM_ghosttrackerTitle'|translate}|{'UAM_ghosttrackerTitle_d'|translate}">{'UAM_GhostTracker'|@translate}</label><br><br>
    453             <input type="radio" value="false" {$UAM_GHOSTRACKER_FALSE} name="UAM_GhostUser_Tracker">{'UAM_Disable'|@translate}<br>
    454             <input type="radio" value="true" {$UAM_GHOSTRACKER_TRUE} name="UAM_GhostUser_Tracker">{'UAM_GhostTracker_true'|@translate}<input type="text" name="UAM_GhostTracker_DayLimit" value="{$UAM_GHOSTRACKER_DAYLIMIT}" size="5" style="text-align: center;"><br><br>
     515          <li>
     516            <label class="cluetip" title="{'UAM_ghosttrackerTitle'|translate}|{'UAM_ghosttrackerTitle_d'|translate}">
     517              {'UAM_GhostTracker'|@translate}
     518            </label>
     519          <br><br>
     520            <input type="radio" value="false" {$UAM_GHOSTRACKER_FALSE} name="UAM_GhostUser_Tracker">
     521              {'UAM_Disable'|@translate}
     522          <br>
     523            <input type="radio" value="true" {$UAM_GHOSTRACKER_TRUE} name="UAM_GhostUser_Tracker">
     524              {'UAM_GhostTracker_true'|@translate}
     525            <input type="text" name="UAM_GhostTracker_DayLimit" value="{$UAM_GHOSTRACKER_DAYLIMIT}" size="5" style="text-align: center;">
     526          <br><br>
    455527          </li>
    456        
     528
     529          <fieldset>         
    457530          <ul>
    458531            <li>
    459               <label class="cluetip" title="{'UAM_gttextTitle'|translate}|{'UAM_gttextTitle_d'|translate}">{'UAM_GhostTracker_ReminderText'|@translate}</label>
    460             <br><br>
    461               <textarea class="uam_textfields" name="UAM_GhostTracker_ReminderText" id="UAM_GhostTracker_ReminderText" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_GHOSTRACKER_REMINDERTEXT}</textarea><br><br>
     532              <label class="cluetip" title="{'UAM_gttextTitle'|translate}|{'UAM_gttextTitle_d'|translate}">
     533                {'UAM_GhostTracker_ReminderText'|@translate}
     534              </label>
     535            <br><br>
     536              <textarea class="uam_textfields" name="UAM_GhostTracker_ReminderText" id="UAM_GhostTracker_ReminderText" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_GHOSTRACKER_REMINDERTEXT}</textarea>
     537            <br><br>
    462538            </li>
    463539<!--
     
    469545-->
    470546
    471             <li><label class="cluetip" title="{'UAM_GTAutoTitle'|translate}|{'UAM_GTAutoTitle_d'|translate}">{'UAM_GTAuto'|@translate}</label>
    472             <br><br>
    473               <input type="radio" value="false" {$UAM_GTAUTO_FALSE} name="UAM_GTAuto">{'UAM_Disable'|@translate}<br>
    474               <input type="radio" value="true" {$UAM_GTAUTO_TRUE} name="UAM_GTAuto">{'UAM_Enable'|@translate}<br><br>
     547            <li>
     548              <label class="cluetip" title="{'UAM_GTAutoTitle'|translate}|{'UAM_GTAutoTitle_d'|translate}">
     549                {'UAM_GTAuto'|@translate}
     550              </label>
     551            <br><br>
     552              <input type="radio" value="false" {$UAM_GTAUTO_FALSE} name="UAM_GTAuto">
     553                {'UAM_Disable'|@translate}
     554            <br>
     555              <input type="radio" value="true" {$UAM_GTAUTO_TRUE} name="UAM_GTAuto">
     556                {'UAM_Enable'|@translate}
     557            <br><br>
    475558            </li>
    476559           
     
    479562            {/if}
    480563                <ul>
    481                   <li><label class="cluetip" title="{'UAM_GTAutoDelTitle'|translate}|{'UAM_GTAutoDelTitle_d'|translate}">{'UAM_GTAutoDel'|@translate}</label>
     564                  <li>
     565                    <label class="cluetip" title="{'UAM_GTAutoDelTitle'|translate}|{'UAM_GTAutoDelTitle_d'|translate}">
     566                      {'UAM_GTAutoDel'|@translate}
     567                    </label>
    482568                  <br><br>
    483569                      <textarea class="uam_textfields" name="UAM_GTAutoDelText" id="UAM_GTAutoDelText" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_GTAUTODEL_TEXT}</textarea>
    484                       <br><br>
     570                  <br><br>
    485571                     
    486                       {if 'FCK_PATH'|@defined}
    487                         <div style="text-align:right;">
    488                           <a href="#" onClick="toogleEditor('UAM_GTAutoDelText'); return false;">FCK Editor On/Off</a>
    489                         </div>
    490                       {/if}
     572                  {if 'FCK_PATH'|@defined}
     573                    <div style="text-align:right;">
     574                      <a href="#" onClick="toogleEditor('UAM_GTAutoDelText'); return false;">FCK Editor On/Off</a>
     575                    </div>
     576                  {/if}
    491577                  </li>
    492578
    493                   <li><label class="cluetip" title="{'UAM_GTAutoGpTitle'|translate}|{'UAM_GTAutoGpTitle_d'|translate}">{'UAM_GTAutoGp'|@translate}</label><br><br>
     579                  <li>
     580                    <label class="cluetip" title="{'UAM_GTAutoGpTitle'|translate}|{'UAM_GTAutoGpTitle_d'|translate}">
     581                      {'UAM_GTAutoGp'|@translate}
     582                    </label>
     583                  <br><br>
    494584                    <ul>
    495585                      <li>
     
    501591                            {html_options name="UAM_Downgrade_Group" options=$Downgrade_Group.group_options selected=$Downgrade_Group.group_selected}
    502592                          </div>
    503                         <br><br>
     593                      <br><br>
    504594                      </li>
    505595
     
    508598                          {'UAM_Expired_Status'|@translate}
    509599                        </label>
    510                         <br>
     600                      <br>
    511601                        <div id="uam_leftmargin">
    512602                          {html_options name="UAM_Downgrade_Status" options=$Downgrade_Status.Status_options selected=$Downgrade_Status.Status_selected}
    513603                        </div>
    514                         <br><br>
     604                      <br><br>
    515605                      </li>
    516606                    </ul>
    517607
    518608                    <ul>
    519                       <li><label class="cluetip" title="{'UAM_GTAutoMailTitle'|translate}|{'UAM_GTAutoMailTitle_d'|translate}">{'UAM_GTAutoMail'|@translate}</label><br><br>
    520                         <input type="radio" value="false" {$UAM_GTAUTOMAIL_FALSE} name="UAM_GTAutoMail">{'UAM_Disable'|@translate}<br>
    521                         <input type="radio" value="true" {$UAM_GTAUTOMAIL_TRUE} name="UAM_GTAutoMail">{'UAM_Enable'|@translate}<br><br><br>
    522                         <textarea class="uam_textfields" name="UAM_GTAutoMailText" id="UAM_GTAutoMailText" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_GTAUTOMAILTEXT}</textarea><br><br>
     609                      <li>
     610                        <label class="cluetip" title="{'UAM_GTAutoMailTitle'|translate}|{'UAM_GTAutoMailTitle_d'|translate}">
     611                          {'UAM_GTAutoMail'|@translate}
     612                        </label>
     613                      <br><br>
     614                        <input type="radio" value="false" {$UAM_GTAUTOMAIL_FALSE} name="UAM_GTAutoMail">
     615                          {'UAM_Disable'|@translate}
     616                      <br>
     617                        <input type="radio" value="true" {$UAM_GTAUTOMAIL_TRUE} name="UAM_GTAutoMail">
     618                          {'UAM_Enable'|@translate}
     619                      <br><br><br>
     620                        <textarea class="uam_textfields" name="UAM_GTAutoMailText" id="UAM_GTAutoMailText" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_GTAUTOMAILTEXT}</textarea>
     621                      <br><br>
    523622                      </li>
    524623                    </ul>
     
    529628            {/if}
    530629          </ul>
    531 
    532           <br><hr><br>
    533 
    534           <li><label class="cluetip" title="{'UAM_lastvisitTitle'|translate}|{'UAM_lastvisitTitle_d'|translate}">{'UAM_LastVisit'|@translate}</label><br><br>
    535             <input type="radio" value="false" {$UAM_ADDLASTVISIT_FALSE} name="UAM_Add_LastVisit_Column">{'UAM_Disable'|@translate}<br>
    536             <input type="radio" value="true" {$UAM_ADDLASTVISIT_TRUE} name="UAM_Add_LastVisit_Column">{'UAM_Enable'|@translate}<br><br>
    537           </li>
    538 
    539           <li><label class="cluetip" title="{'UAM_commentTitle'|translate}|{'UAM_commentTitle_d'|translate}">{'UAM_No_Comment_Anonymous'|@translate}</label><br><br>
    540             <input type="radio" value="false" {$UAM_NO_COMMENT_ANO_FALSE} name="UAM_No_Comment_Anonymous">{'UAM_Disable'|@translate}<br>
    541             <input type="radio" value="true" {$UAM_NO_COMMENT_ANO_TRUE} name="UAM_No_Comment_Anonymous">{'UAM_Enable'|@translate}<br><br>
    542           </li>
    543 
    544           <li><label class="cluetip" title="{'UAM_RedirTitle'|translate}|{'UAM_RedirTitle_d'|translate}">{'UAM_RedirToProfile'|@translate}</label><br><br>
    545             <input type="radio" value="false" {$UAM_REDIRTOPROFILE_FALSE} name="UAM_RedirToProfile">{'UAM_Disable'|@translate}<br>
    546             <input type="radio" value="true" {$UAM_REDIRTOPROFILE_TRUE} name="UAM_RedirToProfile">{'UAM_Enable'|@translate}<br><br>
    547           </li>
    548 
    549           <br><hr><br>
    550 
    551           <li><label class="cluetip" title="{'UAM_CustomPasswRetrTitle'|translate}|{'UAM_CustomPasswRetrTitle_d'|translate}">{'UAM_CustomPasswRetr'|@translate}</label><br><br>
    552             <input type="radio" value="false" {$UAM_CUSTOMPASSWRETR_FALSE} name="UAM_CustomPasswRetr">{'UAM_Disable'|@translate}<br>
    553             <input type="radio" value="true" {$UAM_CUSTOMPASSWRETR_TRUE} name="UAM_CustomPasswRetr">{'UAM_Enable'|@translate}<br>
    554           <br><br>
    555             <textarea class="uam_textfields" name="UAM_CustomPasswRetr_Text" id="UAM_CustomPasswRetr_Text" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_CUSTOMPASSWRETR_TEXT}</textarea>
    556           <br><br>
    557           </li>
     630          </fieldset>
    558631        </ul>
     632      </fieldset>
     633
     634      <fieldset>
     635        <fieldset>
     636          <ul>
     637            <li>
     638              <label class="cluetip" title="{'UAM_lastvisitTitle'|translate}|{'UAM_lastvisitTitle_d'|translate}">
     639                {'UAM_LastVisit'|@translate}
     640              </label>
     641            <br><br>
     642              <input type="radio" value="false" {$UAM_ADDLASTVISIT_FALSE} name="UAM_Add_LastVisit_Column">
     643                {'UAM_Disable'|@translate}
     644            <br>
     645              <input type="radio" value="true" {$UAM_ADDLASTVISIT_TRUE} name="UAM_Add_LastVisit_Column">
     646                {'UAM_Enable'|@translate}
     647            <br><br>
     648            </li>
     649
     650            <li>
     651              <label class="cluetip" title="{'UAM_commentTitle'|translate}|{'UAM_commentTitle_d'|translate}">
     652                {'UAM_No_Comment_Anonymous'|@translate}
     653              </label>
     654            <br><br>
     655              <input type="radio" value="false" {$UAM_NO_COMMENT_ANO_FALSE} name="UAM_No_Comment_Anonymous">
     656                {'UAM_Disable'|@translate}
     657            <br>
     658              <input type="radio" value="true" {$UAM_NO_COMMENT_ANO_TRUE} name="UAM_No_Comment_Anonymous">
     659                {'UAM_Enable'|@translate}
     660            <br><br>
     661            </li>
     662
     663            <li>
     664              <label class="cluetip" title="{'UAM_RedirTitle'|translate}|{'UAM_RedirTitle_d'|translate}">
     665                {'UAM_RedirToProfile'|@translate}
     666              </label>
     667            <br><br>
     668              <input type="radio" value="false" {$UAM_REDIRTOPROFILE_FALSE} name="UAM_RedirToProfile">
     669                {'UAM_Disable'|@translate}
     670            <br>
     671              <input type="radio" value="true" {$UAM_REDIRTOPROFILE_TRUE} name="UAM_RedirToProfile">
     672                {'UAM_Enable'|@translate}
     673            <br><br>
     674            </li>
     675          </ul>
     676        </fieldset>
     677
     678        <fieldset>
     679          <ul>
     680            <li>
     681              <label class="cluetip" title="{'UAM_CustomPasswRetrTitle'|translate}|{'UAM_CustomPasswRetrTitle_d'|translate}">
     682                {'UAM_CustomPasswRetr'|@translate}
     683              </label>
     684            <br><br>
     685              <input type="radio" value="false" {$UAM_CUSTOMPASSWRETR_FALSE} name="UAM_CustomPasswRetr">
     686                {'UAM_Disable'|@translate}
     687            <br>
     688              <input type="radio" value="true" {$UAM_CUSTOMPASSWRETR_TRUE} name="UAM_CustomPasswRetr">
     689                {'UAM_Enable'|@translate}
     690            <br><br><br>
     691              <textarea class="uam_textfields" name="UAM_CustomPasswRetr_Text" id="UAM_CustomPasswRetr_Text" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_CUSTOMPASSWRETR_TEXT}</textarea>
     692            <br><br>
     693            </li>
     694          </ul>
     695        </fieldset>
    559696      </fieldset>
    560697    </div>
     
    596733
    597734</div>
     735
    598736<fieldset>
    599737  {'UAM_Support_txt'|@translate}
  • extensions/UserAdvManager/branches/2.20/changelog.txt.php

    r9382 r9909  
    223223**************************************************************
    224224-- 2.20.0 : Compliance with Piwigo 2.2
     225            Bug 1479 fixed - New feature : Add of a dedicated UAM block in PWG Stuffs plugin to inform unvalidated users on their status
    225226            Bug 1666 fixed - New feature : Customizing "lost password" email
    226227            Bug 2045 fixed - New feature : Special tags insertion in text fields. The tags actually available are [username] (insert current user username),[mygallery] (insert current gallery title), [myurl] (insert gallery url if set in Piwigo's configuration options).
  • extensions/UserAdvManager/branches/2.20/include/functions.inc.php

    r9854 r9909  
    353353}
    354354
     355
     356/**
     357 * Adds a new module settable in PWG_Stuffs - Triggered on get_stuffs_modules in main.inc.php
     358 * Useful to inform unvalidated user for their status
     359 *
     360 */
     361function register_UAM_stuffs_module($modules)
     362{
     363  array_push($modules, array(
     364    'path' => UAM_PATH.'/stuffs_module',
     365    'name' => l10n('UAM_Stuffs_Title'),
     366    'description' => l10n('UAM_Stuffs_Desc'),
     367    )
     368  );
     369  return $modules;
     370}
     371
     372
    355373/**
    356374 * Triggered on UAM_LoginTasks()
  • extensions/UserAdvManager/branches/2.20/include/upgradedb.inc.php

    r9854 r9909  
    335335  $Newconf_UAM[32] = '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.';
    336336  $Newconf_UAM[33] = 'false';
     337  $Newconf_UAM[34] = 'false';
    337338 
    338339  $update_conf = serialize($Newconf_UAM);
  • extensions/UserAdvManager/branches/2.20/language/de_DE/help/plugin.lang.php

    r9382 r9909  
    262262/*TODO*/$lang['UAM_USRAutoMailTitle'] = 'Automated email reminder';
    263263/*TODO*/$lang['UAM_USRAutoMailTitle_d'] = 'When activated, this function will automatically send personalized content in &quot;Reminder email with new key generated&quot; to visitors who match criteria.';
     264$lang['UAM_StuffsTitle'] = 'PWG Stuffs Modul';
     265/*TODO*/$lang['UAM_StuffsTitle_d'] = 'This enables an additional UAM block in PWG Stuffs plugin (if installed) to inform your visitors who did not validate their registration about their condition.
     266<br><br>
     267Please refer to the <b>Tipps und Beispiele</b> at the bottom of this page for details.';
    264268// --------- End: New or revised $lang ---- from version 2.20.0
    265269?>
  • extensions/UserAdvManager/branches/2.20/language/de_DE/plugin.lang.php

    r9325 r9909  
    242242- Mindestens 2 der folgenden Piwigo Nutzergruppen: "Warten", ohne die Erlaubnis der privaten Gruppen und "Validiert" mit allen Berechtigungen für den privaten Kategorien<br>
    243243- UAM plugin<br>
    244 - PWG Stuffs plugin, für das Hinzufügen eines Moduls Art "Personal Block"<br>
     244- PWG Stuffs plugin, für das Hinzufügen eines speziellen UAM Moduls<br>
    245245- Optional können Sie das Plugin Extended Description Multi-Sprachen<br>
    246246            </li><br><br>
     
    250250              <ol>
    251251                <li>Aktivieren Sie Anmeldebestätigung</li>
     252                <li>Aktivieren PWG Stuffs Modul</li>
    252253                <li>Geben Sie den Text für weitere Erklärung, die angebracht werden, um Anmeldebestätigung mail sendet. Wenn das Plugin Extended Description aktiviert ist, können die Sprach-Tags verwendet werden</li>
    253254                <li>Wählen Sie das "Warten"-Gruppe unter "Für Anwender, die noch nicht validiert ihrer Eintragung"</li>
     
    258259B. In plugin PWG Stuffs :
    259260              <ol>
    260                 <li>Fügen Sie ein neues Modul Typ "Personal-Block: Zeigt einen Block Personal (z. B. eine redaktionelle)"</li>
     261                <li>Gehen Sie zur Registerkarte "Hinzufügen eines neuen Moduls"</li>
     262                <li>Wählen Sie "UAM-Modul"</li>
    261263                <li>Konfigurieren Sie das Modul unter Angabe der Titel (zB "Anmeldung bis Validierung") und seine Beschreibung, und aktivieren Sie nur "Warten" in der Liste der Gruppen erlaubt</li>
    262264                <li>Kompletten Inhalt des Moduls mit der Meldung Informationen, die den Benutzern angezeigt werden nicht validiert. Als UAM kann Markup-Sprachen verwendet werden, wenn das Plugin Extended Description aktiviert ist</li>
     
    312314/*TODO*/$lang['UAM_No_Userlist'] = 'No visitors to list for the moment';
    313315/*TODO*/$lang['UAM_No_Usermanager'] = 'No unvalidated registers to list for the moment';
     316$lang['UAM_Stuffs_Title'] = 'UAM-Modul';
     317/*TODO*/$lang['UAM_Stuffs_Desc'] = 'Adds an information block for unvalidated users';
     318$lang['UAM_Stuffs'] = 'PWG Stuffs Modul';
    314319// --------- End: New or revised $lang ---- from version 2.20.0
    315320?>
  • extensions/UserAdvManager/branches/2.20/language/en_UK/help/plugin.lang.php

    r9382 r9909  
    262262$lang['UAM_USRAutoMailTitle'] = 'Automated email reminder';
    263263$lang['UAM_USRAutoMailTitle_d'] = 'When activated, this function will automatically send personalized content in &quot;Reminder email with new key generated&quot; to visitors who match criteria.';
     264$lang['UAM_StuffsTitle'] = 'PWG Stuffs block';
     265$lang['UAM_StuffsTitle_d'] = 'This enables an additional UAM block in PWG Stuffs plugin (if installed) to inform your visitors who did not validate their registration about their condition.
     266<br><br>
     267Please refer to the <b>Tips and Examples of Use</b> at the bottom of this page for details.';
    264268// --------- End: New or revised $lang ---- from version 2.20.0
    265269?>
  • extensions/UserAdvManager/branches/2.20/language/en_UK/plugin.lang.php

    r9325 r9909  
    244244- At least 2 following Piwigo\'s users groups: "Waiting," without permission on private categories, and "Validated" with all the permissions on the private categories<br>
    245245- UAM plugin<br>
    246 - PWG Stuffs plugin, for adding a module type "Personal Block"<br>
     246- PWG Stuffs plugin, for adding a special UAM module<br>
    247247- Optionally, the plugin Extended Description to support multi-languages<br>
    248248            </li><br><br>
     
    252252              <ol>
    253253                <li>Enable registration confirmation</li>
     254                <li>Enable PWG Stuffs module option</li>
    254255                <li>Enter text for additional explanation which will be attached to mail registration confirmation. If the plugin Extended Description is activated, the language tags can be used</li>
    255256                <li>Select the "Waiting" group under "For users who have not validated their registration"</li>
     
    260261B. In plugin PWG Stuffs :
    261262              <ol>
    262                 <li>Add a new module type "Personal block: Shows a block staff (eg an editorial)"</li>
     263                <li>Go to tab "Add a new module"</li>
     264                <li>Choose "UAM Module"</li>
    263265                <li>Configure the module, indicating the title (eg "Registration pending validation") and its description, and only check "Waiting" in the list of groups allowed</li>
    264266                <li>Complete content of the module with the message information to be displayed to users not validated. As UAM, languages markup may be used if the plugin is enabled Extended Description</li>
     
    314316$lang['UAM_No_Userlist'] = 'No visitors to list for the moment';
    315317$lang['UAM_No_Usermanager'] = 'No unvalidated registers to list for the moment';
     318$lang['UAM_Stuffs_Title'] = 'UAM block';
     319$lang['UAM_Stuffs_Desc'] = 'Adds an information block for unvalidated users';
     320$lang['UAM_Stuffs'] = 'PWG Stuffs block';
    316321// --------- End: New or revised $lang ---- from version 2.20.0
    317322?>
  • extensions/UserAdvManager/branches/2.20/language/es_ES/help/plugin.lang.php

    r9382 r9909  
    258258/*TODO*/$lang['UAM_USRAutoMailTitle'] = 'Automated email reminder';
    259259/*TODO*/$lang['UAM_USRAutoMailTitle_d'] = 'When activated, this function will automatically send personalized content in &quot;Reminder email with new key generated&quot; to visitors who match criteria.';
     260$lang['UAM_StuffsTitle'] = 'PWG Stuffs módulo';
     261/*TODO*/$lang['UAM_StuffsTitle_d'] = 'This enables an additional UAM block in PWG Stuffs plugin (if installed) to inform your visitors who did not validate their registration about their condition.
     262<br><br>
     263Please refer to the <b>Consejos y ejemplos</b> at the bottom of this page for details.';
    260264// --------- End: New or revised $lang ---- from version 2.20.0
    261265?>
  • extensions/UserAdvManager/branches/2.20/language/es_ES/plugin.lang.php

    r9325 r9909  
    282282- Al menos los 2 grupos de usuarios siguientes de Piwigo : "Espera," sin permiso en las categorías de privados, y "Validado" con todos los permisos en las categorías de privados<br>
    283283- UAM plugin<br>
    284 - PWG Stuffs plugin, para agregar un tipo de módulo "Personal Block"<br>
     284- PWG Stuffs plugin, para agregar un módulo especial UAM<br>
    285285- Opcionalmente, la Extended Description plugin para soportar múltiples idiomas<br>
    286286            </li><br><br>
     
    290290              <ol>
    291291                <li>Activar la confirmación de registro</li>
     292                <li>Activar PWG Stuffs módulo</li>
    292293                <li>Introduzca el texto para la explicación adicional, que se adjunta al correo de confirmación de registro. Si se activa el plugin Extended Description, las etiquetas de idioma se pueden utilizar</li>
    293294                <li>Seleccione la opción "Espera" del grupo en "Para los usuarios que no han validado su registro"</li>
     
    298299B. En plugin PWG Stuffs :
    299300              <ol>
    300                 <li>Añadir un tipo de módulo nuevo "bloque Personal: Muestra una plantilla de bloque (por ejemplo, un editorial)"</li>
     301                <li>Vaya a la pestaña "Agregar un nuevo módulo"</li>
     302                <li>Seleccione la opción "Módulo de la UAM"</li>
    301303                <li>Configurar el módulo, lo que indica el título (por ejemplo, "en espera de la validación de Registro") y su descripción, y solamente "Espera" en la lista de grupos permitido</li>
    302304                <li>El contenido completo del módulo con la información del mensaje que se mostrará a los usuarios no validados. Como UAM, las balisas de  lenguajes pueden ser utilizadas si el plugin Extended Description está activado</li>
     
    352354/*TODO*/$lang['UAM_No_Userlist'] = 'No visitors to list for the moment';
    353355/*TODO*/$lang['UAM_No_Usermanager'] = 'No unvalidated registers to list for the moment';
     356$lang['UAM_Stuffs_Title'] = 'Módulo de la UAM';
     357/*TODO*/$lang['UAM_Stuffs_Desc'] = 'Adds an information block for unvalidated users';
     358$lang['UAM_Stuffs'] = 'PWG Stuffs módulo';
    354359// --------- End: New or revised $lang ---- from version 2.20.0
    355360?>
  • extensions/UserAdvManager/branches/2.20/language/fr_FR/help/plugin.lang.php

    r9382 r9909  
    258258$lang['UAM_USRAutoMailTitle'] = 'Message de rappel automatique';
    259259$lang['UAM_USRAutoMailTitle_d'] = 'Lorsque activée, cette fonction enverra automatiquement le contenu personnalisé dans &quot;Message de rappel avec regénération de clé&quot; aux visiteurs répondant au critère.';
     260$lang['UAM_StuffsTitle'] = 'Module PWG Stuffs';
     261$lang['UAM_StuffsTitle_d'] = 'Ceci permet d\'activer un module supplémentaire UAM dans le plugin PWG Stuffs (si installé) afin d\'informer sur leur état vos visiteurs n\'ayant pas validé leur inscription.
     262<br><br>
     263Veuillez vous reporter à la section <b>Astuces et exemples d\'utilisation</b> en bas de cette page pour les détails.';
    260264// --------- End: New or revised $lang ---- from version 2.20.0
    261265?>
  • extensions/UserAdvManager/branches/2.20/language/fr_FR/plugin.lang.php

    r9325 r9909  
    242242- Au moins les 2 groupes d\'utilisateurs Piwigo suivants : "Attente", sans aucune permission sur les catégories privées, et "Validés", avec toutes les permissions sur les catégories privées<br>
    243243- Le plugin UAM<br>
    244 - Le plugin PWG Stuffs, pour l\'ajout d\'un module de type "Bloc personnel"<br>
     244- Le plugin PWG Stuffs, pour l\'ajout d\'un module spécial UAM<br>
    245245- En option, le plugin Extended Description, pour le support multi-langues<br>
    246246            </li><br><br>
     
    250250              <ol>
    251251                <li>Activer la confirmation d\'inscription</li>
     252                <li>Activer l\'option "Module PWG Stuffs"</li>
    252253                <li>Saisir un "texte d\'accueil personnalisé" qui sera joint au mail de confirmation d\'inscription. Si le plugin Extended Description est activé, les balises de langues peuvent être utilisées</li>
    253254                <li>Sélectionner le groupe "Attente" à la rubrique "Pour les utilisateurs n\'ayant pas validé leur inscription"</li>
     
    258259B. Dans le plugin PWG Stuffs:<br>
    259260              <ol>
    260                 <li>Ajouter un nouveau module de type "Bloc personnel : Affiche un bloc personnel (un édito par exemple)"</li>
     261                <li>Aller dans l\'onglet "Ajouter un nouveau bloc"</li>
     262                <li> Sélectionner "Module UAM"</li>
    261263                <li>Configurer le module, en indiquant son titre (ex : "Inscription en attente de validation") et sa description, et cocher uniquement "Attente" dans la liste des groupes autorisés</li>
    262264                <li>Compléter le contenu du module avec le texte du message d\'information qui sera affiché aux utilisateurs non validés. Comme dans UAM, les balises de langues peuvent être utilisées si le plugin Extended Description est activé</li>
     
    312314$lang['UAM_No_Userlist'] = 'Pas de suivi de visiteurs pour l\'instant';
    313315$lang['UAM_No_Usermanager'] = 'Pas de validations d\'inscription pour l\'instant';
     316$lang['UAM_Stuffs_Title'] = 'Module UAM';
     317$lang['UAM_Stuffs_Desc'] = 'Ajoute un module d\'information des utilisateurs non validés';
     318$lang['UAM_Stuffs'] = 'Module PWG Stuffs';
    314319// --------- End: New or revised $lang ---- from version 2.20.0
    315320?>
  • extensions/UserAdvManager/branches/2.20/language/it_IT/help/plugin.lang.php

    r9382 r9909  
    249249/*TODO*/$lang['UAM_USRAutoMailTitle'] = 'Automated email reminder';
    250250/*TODO*/$lang['UAM_USRAutoMailTitle_d'] = 'When activated, this function will automatically send personalized content in &quot;Reminder email with new key generated&quot; to visitors who match criteria.';
     251$lang['UAM_StuffsTitle'] = 'modulo PWG Stuffs';
     252/*TODO*/$lang['UAM_StuffsTitle_d'] = 'This enables an additional UAM block in PWG Stuffs plugin (if installed) to inform your visitors who did not validate their registration about their condition.
     253<br><br>
     254Please refer to the <b>Tips and Examples of Use</b> at the bottom of this page for details.';
    251255// --------- End: New or revised $lang ---- from version 2.20.0
    252256?>
  • extensions/UserAdvManager/branches/2.20/language/it_IT/plugin.lang.php

    r9325 r9909  
    241241- Almeno i 2 gruppi d\'utenti Piwigo seguenti: "Attesa", senza alcuna autorizzazione sulle categorie private, e "Convalidati" con tutte le autorizzazioni per le categorie private<br>
    242242- Il plugin NBC_UAM<br>
    243 - Il plugin PWG Stuffs, per aggiungere un modulo di tipo "Blocco Personal"<br>
     243- Il plugin PWG Stuffs, per l\'aggiunta di un modulo speciale UAM<br>
    244244- In opzione, il plugin Extended Description per il supporto multi-lingue<br>
    245245            </li><br><br>
     
    249249              <ol>
    250250                <li>Attivare la conferma dell\'iscrizione</li>
     251                <li>Attivare modulo PWG Stuffs</li>
    251252                <li>Inserire un testo personalizzato che sarà inviato con l\'Email di conferma dell\'iscrizione. Se il plugin Extended Description è installato ed attivato, i tag di lingua possono essere utilizzati</li>
    252253                <li>Selezionare il gruppo "Attesa" sotto la voce "Per gli utenti che non hanno convalidato la loro iscrizione"</li>
     
    257258B. Nel plugin PWG Stuffs :
    258259              <ol>
    259                 <li>Aggiungere un nuovo modulo "Blocco Personale : Mostrare il blocco personale (Nota o Editoriale per esempio)"</li>
     260                <li>Vai alla scheda "Aggiungere un nuovo modulo"</li>
     261                <li>Scegliere "UAM Module"</li>
    260262                <li>Configurare il modulo, indicandone il titolo (ad esempio, "in attesa di convalida dell\'iscrizione"), la descrizione, ed in fine selezionando solo il gruppo "Attesa" nell\'elenco dei gruppi ammessi</li>
    261263                <li>Completare il contenuto del modulo con il testo da visualizzare per gli utenti non convalidati. Come NBC_UAM, i tag di lingua possono essere utilizzati se il plugin Extended Description è installato ed attivato</li>
     
    311313/*TODO*/$lang['UAM_No_Userlist'] = 'No visitors to list for the moment';
    312314/*TODO*/$lang['UAM_No_Usermanager'] = 'No unvalidated registers to list for the moment';
     315$lang['UAM_Stuffs_Title'] = 'UAM Module';
     316/*TODO*/$lang['UAM_Stuffs_Desc'] = 'Adds an information block for unvalidated users';
     317$lang['UAM_Stuffs'] = 'modulo PWG Stuffs';
    313318// --------- End: New or revised $lang ---- from version 2.20.0
    314319?>
  • extensions/UserAdvManager/branches/2.20/language/lv_LV/help/plugin.lang.php

    r9382 r9909  
    284284/*TODO*/$lang['UAM_USRAutoMailTitle'] = 'Automated email reminder';
    285285/*TODO*/$lang['UAM_USRAutoMailTitle_d'] = 'When activated, this function will automatically send personalized content in &quot;Reminder email with new key generated&quot; to visitors who match criteria.';
     286/*TODO*/$lang['UAM_StuffsTitle'] = 'PWG Stuffs block';
     287/*TODO*/$lang['UAM_StuffsTitle_d'] = 'This enables an additional UAM block in PWG Stuffs plugin (if installed) to inform your visitors who did not validate their registration about their condition.
     288<br><br>
     289Please refer to the <b>Tips and Examples of Use</b> at the bottom of this page for details.';
    286290// --------- End: New or revised $lang ---- from version 2.20.0
    287291?>
  • extensions/UserAdvManager/branches/2.20/language/lv_LV/plugin.lang.php

    r9325 r9909  
    268268/*TODO*/$lang['UAM_Tips1'] = 'Information of non-validated registration with UAM and PWG_Stuffs';
    269269/*TODO*/$lang['UAM_Tips1_txt'] = '
    270 <ul>
    271 <li>
    272              Goals: Inform the visitor that the registration is awaiting approval by displaying a personal block on the home page of the gallery, and this, as registration is not approved.
    273              <br><br>
    274 <b>Atgādinājums: Pie standartoperācijām "Guest" (viesis) redz tikai publiskās kategorijas bez informatīvā materiāla.</b>
    275 </li><br><br>
    276 <li>
    277 Priekšnoteikumi:<br>
    278 - Galerija ar visām vai dažām privātajām ketegorijām redzama tikai reģistrētiem lietotājiem<br>
    279 - Vismaz 2 sekojošas Piwigo lietotāju grupas:gaidīšanas grupa  "Waiting," bez tiesībām darboties ar privātām kategorijām un apstiprināto grupa "Validated" ar visām tiesībām darbam ar privātām kategorijām<br>
    280 - UAM spraudnis<br>
    281 - PWG Stuffs spraudnis, moduļa "Personal Block" pievienošanai<br>
    282 - Pēc izvēles (neobligāts), spraudnis Extended Description (paplašināts apraksts), lai nodrošinātu daudzvalodu atbalstu<br>
    283 </li><br><br>
    284 <li>
    285 Posmi:<br><br>
    286 A. UAM spraudnī:
    287 <ol>
    288 <li>Iespējo reģistrācijas apstiprināšanu</li>
    289 <li>Ievada papildinformāciju-skaidrojumu, kas tiks pievienots e-pasta reģistrācijas apstiprinājumam. Gadījumā, ja ir aktivēts spraudnis Extended Description (papildus apraksts), var tikt lietotas valodu iezīmes (tagi)</li>
    290 <li>Izvēlas gaidīšanas grupu "Waiting" sadaļā "Lietotājiem, kas nav apstiprinājuši savu reģistrāciju"</li>
    291 <li>Izvēlas apstiprināto grupu "Validated" sadaļā "Lietotājiem, kas apstiprinājuši savu reģistrāciju"</li>
    292 <li>Saglabā spraudņa konfigurāciju</li>
    293 </ol>
     270          <ul>
     271            <li>
     272            Goals: Inform the visitor that the registration is awaiting approval by displaying a personal block on the home page of the gallery, and this, as registration is not approved.
     273            <br><br>
     274            <b>Recall: In standard operation, the "Guest" only sees the public categories, without information message.</b>
     275            </li><br><br>
     276            <li>
     277Prerequisite:<br>
     278- A gallery with all or some private categories, visible only by registered users<br>
     279- At least 2 following Piwigo\'s users groups: "Waiting," without permission on private categories, and "Validated" with all the permissions on the private categories<br>
     280- UAM plugin<br>
     281- PWG Stuffs plugin, for adding a special UAM module<br>
     282- Optionally, the plugin Extended Description to support multi-languages<br>
     283            </li><br><br>
     284            <li>
     285Stages:<br><br>
     286A. In plugin UAM:
     287              <ol>
     288                <li>Enable registration confirmation</li>
     289                <li>Enable PWG Stuffs module option</li>
     290                <li>Enter text for additional explanation which will be attached to mail registration confirmation. If the plugin Extended Description is activated, the language tags can be used</li>
     291                <li>Select the "Waiting" group under "For users who have not validated their registration"</li>
     292                <li>Select the "Validated" group under "For users who have validated their registration"</li>
     293                <li>Save the plugin configuration</li>
     294              </ol>
    294295<br>
    295 B. PWG Stuffs spraudnī :
    296 <ol>
    297 <li>Pievieno jauna tipa moduli "Personal block: Rāda bloķētos darbiniekus (piem. redakcionāli)"</li>
    298 <li>Konfigurē moduli, norādot nosaukumu (piem."Registration pending validation") un tā aprakstu, pārbaudot grupu "Waiting"  atļauto grupu sarakstā</li>
    299 <li>Pabeidz moduļa saturu ar informatīvu ziņojumu neapstiprinātajiem lietotājiem.Kā UAM valodas iezīmes var tikt lietotas, ja spraudnī ir iespējota papildus apraksta Extended Description funkcija</li>
    300 <li>Atzīmē "Rādīt moduli vietnes mājas lapā"</li>
    301 <li>Pārbauda moduļa konfigurāciju</li>
    302 </ol>
    303 </li>
    304 </ul>';
     296B. In plugin PWG Stuffs :
     297              <ol>
     298                <li>Go to tab "Add a new module"</li>
     299                <li>Choose "UAM Module"</li>
     300                <li>Configure the module, indicating the title (eg "Registration pending validation") and its description, and only check "Waiting" in the list of groups allowed</li>
     301                <li>Complete content of the module with the message information to be displayed to users not validated. As UAM, languages markup may be used if the plugin is enabled Extended Description</li>
     302                <li>Check "Display the module on the homepage of the site"</li>
     303                <li>Validate the configuration of the module</li>
     304              </ol>
     305            </li>
     306          </ul>';
    305307/*TODO*/$lang['UAM_Tips2'] = 'Information of non-validated registration with UAM and Additional Pages';
    306308/*TODO*/$lang['UAM_Tips2_txt'] = '
     
    349351/*TODO*/$lang['UAM_No_Userlist'] = 'No visitors to list for the moment';
    350352/*TODO*/$lang['UAM_No_Usermanager'] = 'No unvalidated registers to list for the moment';
     353/*TODO*/$lang['UAM_Stuffs_Title'] = 'UAM block';
     354/*TODO*/$lang['UAM_Stuffs_Desc'] = 'Adds an information block for unvalidated users';
     355/*TODO*/$lang['UAM_Stuffs'] = 'PWG Stuffs block';
    351356// --------- End: New or revised $lang ---- from version 2.20.0
    352357?>
  • extensions/UserAdvManager/branches/2.20/main.inc.php

    r9854 r9909  
    1919if (!defined('UAM_PATH')) define('UAM_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/');
    2020
     21global $conf;
     22
    2123include_once (UAM_PATH.'include/constants.php');
    2224include_once (UAM_PATH.'include/functions.inc.php');
    2325
    2426load_language('plugin.lang', UAM_PATH);
     27$conf_UAM = unserialize($conf['UserAdvManager']);
    2528
    2629
     
    5659// Comment without author
    5760add_event_handler('user_comment_check', 'UAM_CheckEmptyCommentAuthor', 50, 2);
     61
     62// PWG_Stuffs module
     63if ((isset($conf_UAM[34]) and $conf_UAM[34] == 'true'))
     64{
     65  add_event_handler('get_stuffs_modules', 'register_UAM_stuffs_module');
     66}
    5867?>
  • extensions/UserAdvManager/branches/2.20/maintain.inc.php

    r9854 r9909  
    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');
     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');
    2525
    2626        $query = '
     
    201201    }
    202202   
    203 
    204 /* Check for upgrade from 2.14 to 2.15 */
    205 /* *********************************** */
    206     //if ($count1 == 1 or $count2 == 1)
    207     //{
    208203    /* upgrade from branch 2.14 to 2.15 */
    209204    /* ******************************** */
    210205      upgrade_214_215();
    211     //}
    212206  }
    213207
Note: See TracChangeset for help on using the changeset viewer.