Ignore:
Timestamp:
Feb 21, 2010, 4:44:14 PM (10 years ago)
Author:
Eric
Message:

[NBC_UserAdvManager] Pre-2.13.4 for testing only:

  • Bug 1303 and 1387 fixed : There is a bug in Piwigo 2.0.8 about switch_lang() function. This may be fixed in the next Piwigo release. These UAM fix are available only for Piwigo 2.0.8 and have to be recoded for the next Piwigo release. (Thx to Rub and cljosse for their usefull help).
  • Bug 1444 fixed
  • Bug 1445 pre-fixed : Begining of plugin's admin panel improvement. Add of new help language files (FR for the moment), deletion of ConfirmMail tab, mix all config in one tab, add of cuetips. This is for testing !
Location:
extensions/NBC_UserAdvManager/trunk/admin
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • extensions/NBC_UserAdvManager/trunk/admin/UserAdvManager_admin.php

    r4544 r4927  
    88// +-----------------------------------------------------------------------+
    99check_status(ACCESS_ADMINISTRATOR);
     10
     11if (!defined('NBC_UAM_PATH')) define('NBC_UAM_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/');
    1012
    1113//ini_set('error_reporting', E_ALL);
     
    1618$my_base_url = get_admin_plugin_menu_link(__FILE__);
    1719
    18 load_language('plugin.lang', NBC_UserAdvManager_PATH);
     20load_language('plugin.lang', NBC_UAM_PATH);
     21load_language('help/plugin.lang', NBC_UAM_PATH);
    1922
    2023$page['global'] = array();
     
    3942  $page['tab'] = $_GET['tab'];
    4043
    41 //$conf_nbc_UserAdvManager = isset($conf['nbc_UserAdvManager']) ? explode(";" , $conf['nbc_UserAdvManager']) : array();
    42 
    4344$tabsheet = new tabsheet();
    4445$tabsheet->add('global',
    4546               l10n('Tab_Global'),
    4647               $my_base_url.'&tab=global');
    47 $tabsheet->add('confirmmail',
    48                l10n('Tab_ConfirmMail'),
    49                $my_base_url.'&tab=confirmmail');
    5048//if (isset($conf_nbc_UserAdvManager[20]) and $conf_nbc_UserAdvManager[20]=='true')
    5149//{
     
    6462
    6563// +-----------------------------------------------------------------------+
     64// |                      Getting plugin version                           |
     65// +-----------------------------------------------------------------------+
     66$plugin =  PluginVer(NBC_UAM_PATH);
     67$version = $plugin['version'] ;
     68
     69// +-----------------------------------------------------------------------+
    6670// |                            Tabssheet select                           |
    6771// +-----------------------------------------------------------------------+
     
    7579// *************************************************************************
    7680  case 'global':
    77        
     81
    7882        if (isset($_POST['submit']) and !is_adviser() and isset($_POST['UserAdvManager_Mail_Info']) and isset($_POST['UserAdvManager_No_Casse']) and isset($_POST['UserAdvManager_Username_Char']) and isset($_POST['UserAdvManager_Confirm_Mail']) and isset($_POST['UserAdvManager_No_Comment_Anonymous']) and isset($_POST['UserAdvManager_Password_Enforced']) and isset($_POST['UserAdvManager_AdminPassword_Enforced']) and isset($_POST['UserAdvManager_GhostUser_Tracker']))
    79   {
     83  {
     84
     85/* General configuration settings */
    8086                $_POST['UserAdvManager_MailInfo_Text'] = str_replace("\'", "'", str_replace("\\\\", "\\", $_POST['UserAdvManager_MailInfo_Text']));
    8187   
     
    116122    }
    117123               
    118                 $newconf_nbc_UserAdvManager = $_POST['UserAdvManager_Mail_Info'].';'.$_POST['UserAdvManager_No_Casse'].';'.$_POST['UserAdvManager_Confirm_Mail'].';'.(isset($_POST['UserAdvManager_No_Confirm_Group'])?$_POST['UserAdvManager_No_Confirm_Group']:'').';'.(isset($_POST['UserAdvManager_Validated_Group'])?$_POST['UserAdvManager_Validated_Group']:'').';'.(isset($_POST['UserAdvManager_Validated_Status'])?$_POST['UserAdvManager_Validated_Status']:'').';'.$_POST['UserAdvManager_No_Comment_Anonymous'].';'.$_POST['UserAdvManager_Username_Char'].';'.$_POST['UserAdvManager_Username_List'].';'.(isset($_POST['UserAdvManager_No_Confirm_Status'])?$_POST['UserAdvManager_No_Confirm_Status']:'').';'.$_POST['UserAdvManager_MailInfo_Text'].';'.$_POST['UserAdvManager_ConfirmMail_Text'].';'.$_POST['UserAdvManager_MailExclusion'].';'.$_POST['UserAdvManager_MailExclusion_List'].';'.$_POST['UserAdvManager_Password_Enforced'].';'.$_POST['UserAdvManager_Password_Score'].';'.$_POST['UserAdvManager_AdminPassword_Enforced'].';'.$_POST['UserAdvManager_GhostUser_Tracker'].';'.$_POST['UserAdvManager_GhostTracker_DayLimit'].';'.$_POST['UserAdvManager_GhostTracker_ReminderText'].';'.$_POST['UserAdvManager_Add_LastVisit_Column'];
     124                $newconf_nbc_UserAdvManager =
     125      $_POST['UserAdvManager_Mail_Info'].';'
     126      .$_POST['UserAdvManager_No_Casse'].';'
     127      .$_POST['UserAdvManager_Confirm_Mail'].';'
     128      .(isset($_POST['UserAdvManager_No_Confirm_Group'])?$_POST['UserAdvManager_No_Confirm_Group']:'').';'
     129      .(isset($_POST['UserAdvManager_Validated_Group'])?$_POST['UserAdvManager_Validated_Group']:'').';'
     130      .(isset($_POST['UserAdvManager_Validated_Status'])?$_POST['UserAdvManager_Validated_Status']:'').';'
     131      .$_POST['UserAdvManager_No_Comment_Anonymous'].';'
     132      .$_POST['UserAdvManager_Username_Char'].';'
     133      .$_POST['UserAdvManager_Username_List'].';'
     134      .(isset($_POST['UserAdvManager_No_Confirm_Status'])?$_POST['UserAdvManager_No_Confirm_Status']:'').';'
     135      .$_POST['UserAdvManager_MailInfo_Text'].';'
     136      .$_POST['UserAdvManager_ConfirmMail_Text'].';'
     137      .$_POST['UserAdvManager_MailExclusion'].';'
     138      .$_POST['UserAdvManager_MailExclusion_List'].';'
     139      .$_POST['UserAdvManager_Password_Enforced'].';'
     140      .$_POST['UserAdvManager_Password_Score'].';'
     141      .$_POST['UserAdvManager_AdminPassword_Enforced'].';'
     142      .$_POST['UserAdvManager_GhostUser_Tracker'].';'
     143      .$_POST['UserAdvManager_GhostTracker_DayLimit'].';'
     144      .$_POST['UserAdvManager_GhostTracker_ReminderText'].';'
     145      .$_POST['UserAdvManager_Add_LastVisit_Column'];
    119146               
    120147                $conf['nbc_UserAdvManager'] = $newconf_nbc_UserAdvManager;
     
    128155               
    129156                pwg_query($query);
     157
     158
     159
     160/* Email confirmation settings */
     161    $_POST['UserAdvManager_ConfirmMail_ReMail_Txt1'] = str_replace("\'", "'", str_replace("\\\\", "\\", $_POST['UserAdvManager_ConfirmMail_ReMail_Txt1']));
     162
     163    $_POST['UserAdvManager_ConfirmMail_ReMail_Txt2'] = str_replace("\'", "'", str_replace("\\\\", "\\", $_POST['UserAdvManager_ConfirmMail_ReMail_Txt2']));
     164
     165/* Control of semicolons - Replaced by dots - Warning message displayed */
     166    if ((preg_match($pattern, $_POST['UserAdvManager_ConfirmMail_ReMail_Txt1'])) or (preg_match($pattern, $_POST['UserAdvManager_ConfirmMail_ReMail_Txt2'])))
     167    {
     168      if ((preg_match($pattern, $_POST['UserAdvManager_ConfirmMail_ReMail_Txt1'])))
     169      {
     170        $_POST['UserAdvManager_ConfirmMail_ReMail_Txt1'] = preg_replace($pattern, $replacement, $_POST['UserAdvManager_ConfirmMail_ReMail_Txt1']);
     171        $UserAdvManager_ConfirmMail_Error_Txt1 = true;
     172      }
     173     
     174      if ((preg_match($pattern, $_POST['UserAdvManager_ConfirmMail_ReMail_Txt2'])))
     175      {
     176        $_POST['UserAdvManager_ConfirmMail_ReMail_Txt2'] = preg_replace($pattern, $replacement, $_POST['UserAdvManager_ConfirmMail_ReMail_Txt2']);
     177       
     178        $UserAdvManager_ConfirmMail_Error_Txt2 = true;
     179      }
     180     
     181      array_push($page['errors'], l10n('mail_text_error'));
     182    }
     183
     184          $newconf_nbc_UserAdvManager_ConfirmMail =
     185      $_POST['UserAdvManager_ConfirmMail_TimeOut'].';'
     186      .$_POST['UserAdvManager_ConfirmMail_Delay'].';'
     187      .$_POST['UserAdvManager_ConfirmMail_ReMail_Txt1'].';'
     188      .$_POST['UserAdvManager_ConfirmMail_Remail'].';'
     189      .$_POST['UserAdvManager_ConfirmMail_ReMail_Txt2'];
     190
     191    $conf['nbc_UserAdvManager_ConfirmMail'] = $newconf_nbc_UserAdvManager_ConfirmMail;
    130192               
     193          $query = '
     194      UPDATE '.CONFIG_TABLE.'
     195                        SET value="'.$newconf_nbc_UserAdvManager_ConfirmMail.'"
     196                        WHERE param="nbc_UserAdvManager_ConfirmMail"
     197                        LIMIT 1
     198                ;';
     199
     200                pwg_query($query);
     201
    131202                array_push($page['infos'], l10n('UserAdvManager_save_config'));
    132203  }
     204
    133205
    134206/* Testing password enforcement */
     
    142214  }
    143215       
     216
    144217  $conf_nbc_UserAdvManager = isset($conf['nbc_UserAdvManager']) ? explode(";" , $conf['nbc_UserAdvManager']) : array();
    145        
     218
    146219/* Group setting for unvalidated and validated users */
    147220  $groups[-1] = '---------';
     
    232305            );
    233306        }
    234        
     307 
    235308  $template->assign(
    236309    array(
     310    /* Plugin version inserted */
     311    'UAM_VERSION'                             => $version,
    237312                'UserAdvManager_MAIL_INFO_TRUE'           => $conf_nbc_UserAdvManager[0]=='true' ?  'checked="checked"' : '' ,
    238313                'UserAdvManager_MAIL_INFO_FALSE'          => $conf_nbc_UserAdvManager[0]=='false' ?  'checked="checked"' : '' ,
     
    273348    )
    274349  );
     350
     351                $conf_nbc_UserAdvManager_ConfirmMail = isset($conf['nbc_UserAdvManager_ConfirmMail']) ? explode(";" , $conf['nbc_UserAdvManager_ConfirmMail']) : array();               
     352
     353          $template->assign(
     354          array(
     355                'UserAdvManager_CONFIRMMAIL_TIMEOUT_TRUE'               => $conf_nbc_UserAdvManager_ConfirmMail[0]=='true' ?  'checked="checked"' : '' ,
     356                'UserAdvManager_CONFIRMMAIL_TIMEOUT_FALSE'      => $conf_nbc_UserAdvManager_ConfirmMail[0]=='false' ?  'checked="checked"' : '' ,
     357                'UserAdvManager_CONFIRMMAIL_DELAY'                                      => $conf_nbc_UserAdvManager_ConfirmMail[1],
     358    'UserAdvManager_CONFIRMMAIL_REMAIL_TRUE'            => $conf_nbc_UserAdvManager_ConfirmMail[3]=='true' ? 'checked="checked"' : '',
     359    'UserAdvManager_CONFIRMMAIL_REMAIL_FALSE'           => $conf_nbc_UserAdvManager_ConfirmMail[3]=='false' ? 'checked="checked"' : '',
     360    'UserAdvManager_CONFIRMMAIL_REMAIL_TXT1'            => $conf_nbc_UserAdvManager_ConfirmMail[2],
     361    'UserAdvManager_CONFIRMMAIL_REMAIL_TXT2'            => $conf_nbc_UserAdvManager_ConfirmMail[4],
     362    'UserAdvManager_ERROR_REPORTS1'             => $UserAdvManager_ConfirmMail_Error_Txt1,
     363    'UserAdvManager_ERROR_REPORTS2'             => $UserAdvManager_ConfirmMail_Error_Txt2,
     364        )
     365          );
    275366       
    276367
     
    382473  break;
    383474
    384 // *************************************************************************
    385 // +-----------------------------------------------------------------------+
    386 // |                           ConfirmMail Config                          |
    387 // +-----------------------------------------------------------------------+
    388 // *************************************************************************
    389   case 'confirmmail':
    390        
    391   $conf_nbc_UserAdvManager = isset($conf['nbc_UserAdvManager']) ? explode(";" , $conf['nbc_UserAdvManager']) : array();
    392        
    393   if (isset($conf_nbc_UserAdvManager[2]) and $conf_nbc_UserAdvManager[2]=='true')
    394   {
    395     if ( isset($_POST['submit']) and !is_adviser() and isset($_POST['UserAdvManager_ConfirmMail_TimeOut']) )
    396                 {
    397                 $_POST['UserAdvManager_ConfirmMail_ReMail_Txt1'] = str_replace("\'", "'", str_replace("\\\\", "\\", $_POST['UserAdvManager_ConfirmMail_ReMail_Txt1']));
    398 
    399                 $_POST['UserAdvManager_ConfirmMail_ReMail_Txt2'] = str_replace("\'", "'", str_replace("\\\\", "\\", $_POST['UserAdvManager_ConfirmMail_ReMail_Txt2']));
    400 
    401 /* Control of semicolons - Replaced by dots - Warning message displayed */
    402     if ((preg_match($pattern, $_POST['UserAdvManager_ConfirmMail_ReMail_Txt1'])) or (preg_match($pattern, $_POST['UserAdvManager_ConfirmMail_ReMail_Txt2'])))
    403     {
    404       if ((preg_match($pattern, $_POST['UserAdvManager_ConfirmMail_ReMail_Txt1'])))
    405       {
    406         $_POST['UserAdvManager_ConfirmMail_ReMail_Txt1'] = preg_replace($pattern, $replacement, $_POST['UserAdvManager_ConfirmMail_ReMail_Txt1']);
    407         $UserAdvManager_ConfirmMail_Error_Txt1 = true;
    408       }
    409      
    410       if ((preg_match($pattern, $_POST['UserAdvManager_ConfirmMail_ReMail_Txt2'])))
    411       {
    412         $_POST['UserAdvManager_ConfirmMail_ReMail_Txt2'] = preg_replace($pattern, $replacement, $_POST['UserAdvManager_ConfirmMail_ReMail_Txt2']);
    413        
    414         $UserAdvManager_ConfirmMail_Error_Txt2 = true;
    415       }
    416      
    417       array_push($page['errors'], l10n('mail_text_error'));
    418     }
    419                  
    420                 $newconf_nbc_UserAdvManager_ConfirmMail = $_POST['UserAdvManager_ConfirmMail_TimeOut'].';'.$_POST['UserAdvManager_ConfirmMail_Delay'].';'.$_POST['UserAdvManager_ConfirmMail_ReMail_Txt1'].';'.$_POST['UserAdvManager_ConfirmMail_Remail'].';'.$_POST['UserAdvManager_ConfirmMail_ReMail_Txt2'];
    421                  
    422 //NODO:Adding new option [Auto deletion : True | False] - No access to cron functionnalities
    423 
    424                 $conf['nbc_UserAdvManager_ConfirmMail'] = $newconf_nbc_UserAdvManager_ConfirmMail;
    425                
    426                 $query = '
    427                 UPDATE '.CONFIG_TABLE.'
    428                                 SET value="'.$newconf_nbc_UserAdvManager_ConfirmMail.'"
    429                                 WHERE param="nbc_UserAdvManager_ConfirmMail"
    430                                 LIMIT 1
    431                         ;';
    432                
    433                         pwg_query($query);
    434                
    435                         array_push($page['infos'], l10n('UserAdvManager_save_config'));
    436                 }
    437        
    438                 $conf_nbc_UserAdvManager_ConfirmMail = isset($conf['nbc_UserAdvManager_ConfirmMail']) ? explode(";" , $conf['nbc_UserAdvManager_ConfirmMail']) : array();               
    439 
    440           $template->assign(
    441           array(
    442                 'UserAdvManager_CONFIRMMAIL_TIMEOUT_TRUE'               => $conf_nbc_UserAdvManager_ConfirmMail[0]=='true' ?  'checked="checked"' : '' ,
    443                 'UserAdvManager_CONFIRMMAIL_TIMEOUT_FALSE'      => $conf_nbc_UserAdvManager_ConfirmMail[0]=='false' ?  'checked="checked"' : '' ,
    444                 'UserAdvManager_CONFIRMMAIL_DELAY'                                      => $conf_nbc_UserAdvManager_ConfirmMail[1],
    445     'UserAdvManager_CONFIRMMAIL_REMAIL_TRUE'            => $conf_nbc_UserAdvManager_ConfirmMail[3]=='true' ? 'checked="checked"' : '',
    446     'UserAdvManager_CONFIRMMAIL_REMAIL_FALSE'           => $conf_nbc_UserAdvManager_ConfirmMail[3]=='false' ? 'checked="checked"' : '',
    447     'UserAdvManager_CONFIRMMAIL_REMAIL_TXT1'            => $conf_nbc_UserAdvManager_ConfirmMail[2],
    448     'UserAdvManager_CONFIRMMAIL_REMAIL_TXT2'            => $conf_nbc_UserAdvManager_ConfirmMail[4],
    449     'UserAdvManager_ERROR_REPORTS1'             => $UserAdvManager_ConfirmMail_Error_Txt1,
    450     'UserAdvManager_ERROR_REPORTS2'             => $UserAdvManager_ConfirmMail_Error_Txt2,
    451         )
    452           );           
    453 
    454 // +-----------------------------------------------------------------------+
    455 // |                             errors display                            |
    456 // +-----------------------------------------------------------------------+
    457                 if ( isset ($errors) and count($errors) != 0)
    458                 {
    459                 $template->assign('errors',array());
    460                         foreach ($errors as $error)
    461                 {
    462                                 array_push($page['errors'], $error);
    463                 }
    464                 } 
    465 
    466 // +-----------------------------------------------------------------------+
    467 // |                           templates display                           |
    468 // +-----------------------------------------------------------------------+
    469                 $template->set_filename('plugin_admin_content', dirname(__FILE__) . '/confirmmail.tpl');
    470     $template->assign_var_from_handle('ADMIN_CONTENT', 'plugin_admin_content');         
    471   }
    472   else
    473   {
    474                 array_push($page['infos'], l10n('Err_ConfirmMail_Settings'));
    475   }
    476   break;
    477 
    478475
    479476// *************************************************************************
     
    592589       
    593590      }
     591      /* Plugin version inserted */
     592      $template->assign(
     593        array(
     594          'UAM_VERSION' => $version,
     595          )
     596        );
    594597
    595598                $template->append(
    596599                'users',
    597600        array(
    598                 'ID'         => $local_user['id'],
    599                 'USERNAME'   => stripslashes($local_user['username']),
    600                                         'EMAIL'      => get_email_address_as_display_text($local_user['email']),
    601           'LASTVISIT'  => $local_user['lastvisit'],
    602           'DAYS'       => $deltadays,
    603           'DISPLAY'    => $display,
     601                'ID'          => $local_user['id'],
     602                'USERNAME'    => stripslashes($local_user['username']),
     603                                        'EMAIL'       => get_email_address_as_display_text($local_user['email']),
     604          'LASTVISIT'   => $local_user['lastvisit'],
     605          'DAYS'        => $deltadays,
     606          'DISPLAY'     => $display,
    604607                                )
    605608                        );
     
    11261129
    11271130                        $expiration = expiration($local_user['id']);
    1128              
     1131
    11291132                $template->append(
    11301133                'users',
     
    11501153                        );
    11511154                }
     1155    /* Plugin version inserted */
     1156    $template->assign(
     1157      array(
     1158        'UAM_VERSION'      => $version,
     1159      )
     1160    );
    11521161
    11531162// +-----------------------------------------------------------------------+
     
    14591468/* Hide radio-button if not allow to assign adviser */
    14601469                if ($conf['allow_adviser'])
    1461         {
    1462         $template->assign('adviser', true);
    1463         }
     1470    {
     1471      $template->assign('adviser', true);
     1472        }
    14641473
    14651474// +-----------------------------------------------------------------------+
     
    14971506      $visible_user_list[] = $local_user;
    14981507                }
    1499 
    1500     $reminder = '';
     1508       
     1509                foreach ($visible_user_list as $local_user)
     1510    {
     1511      $reminder = '';
    15011512   
    1502     if (isset($local_user['reminder']) and $local_user['reminder'] == 'true')
    1503     {
    1504       $reminder = l10n('Reminder_Sent_OK');
    1505     }
    1506     else if (isset($local_user['reminder']) and $local_user['reminder'] == 'false')
    1507     {
    1508       $reminder = l10n('Reminder_Sent_NOK');
    1509     }
    1510 
    1511                 foreach ($visible_user_list as $local_user)
    1512     {
    1513                 if (isset($_POST['pref_submit'])
    1514                 and isset($_POST['selection'])
    1515         and in_array($local_user['id'], $_POST['selection']))
     1513      if (isset($local_user['reminder']) and $local_user['reminder'] == 'true')
     1514      {
     1515        $reminder = l10n('Reminder_Sent_OK');
     1516      }
     1517      else if (isset($local_user['reminder']) and $local_user['reminder'] == 'false')
     1518      {
     1519        $reminder = l10n('Reminder_Sent_NOK');
     1520      }
     1521   
     1522      if (isset($_POST['pref_submit']) and isset($_POST['selection']) and in_array($local_user['id'], $_POST['selection']))
    15161523                {
    15171524                                $checked = 'checked="checked"';
     
    15211528                $checked = '';
    15221529        }
    1523 
    1524                 $template->append(
    1525                 'users',
     1530      /* Plugin version inserted */
     1531      $template->assign(
     1532        array(
     1533          'UAM_VERSION'      => $version,
     1534        )
     1535      );
     1536
     1537      $template->append(
     1538          'users',
    15261539        array(
    1527                 'ID'         => $local_user['id'],
    1528                 'CHECKED'    => $checked,
    1529                 'USERNAME'   => stripslashes($local_user['username']),
    1530                                         'EMAIL'      => get_email_address_as_display_text($local_user['email']),
    1531           'LASTVISIT'  => $local_user['lastvisit'],
    1532           'REMINDER'   => $reminder,
     1540                'ID'          => $local_user['id'],
     1541                'CHECKED'     => $checked,
     1542                'USERNAME'    => stripslashes($local_user['username']),
     1543                                        'EMAIL'       => get_email_address_as_display_text($local_user['email']),
     1544          'LASTVISIT'   => $local_user['lastvisit'],
     1545          'REMINDER'    => $reminder,
    15331546                                )
    15341547                        );
  • extensions/NBC_UserAdvManager/trunk/admin/confirmmail.tpl

    r4316 r4927  
    11<div class="titrePage">
    2   <h2>{'Title_Tab2'|@translate}</h2>
     2  <h2>{'Title_Tab'|@translate} {$UAM_VERSION}<br>{'SubTitle2'|@translate}</h2>
    33</div>
    44
  • extensions/NBC_UserAdvManager/trunk/admin/ghosttracker.tpl

    r4380 r4927  
    11<div class="titrePage">
    2   <h2>{'Title_Tab4'|@translate}</h2>
     2  <h2>{'Title_Tab'|@translate} {$UAM_VERSION}<br>{'SubTitle4'|@translate}</h2>
    33</div>
    44
  • extensions/NBC_UserAdvManager/trunk/admin/global.tpl

    r4380 r4927  
     1{known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js"}
     2{known_script id="jquery.cluetip" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.cluetip.packed.js"}
     3
     4<script type="text/javascript">
     5jQuery().ready(function(){ldelim}
     6  jQuery('.cluetip').cluetip({ldelim}
     7    width: 500,
     8    splitTitle: '|'
     9  });
     10});
     11</script>
     12
    113<div class="titrePage">
    2   <h2>{'Title_Tab1'|@translate}</h2>
     14  <h2>{'Title_Tab'|@translate} {$UAM_VERSION}<br>{'SubTitle1'|@translate}</h2>
    315</div>
    416
    517<form method="post" action="{$UserAdvManager_F_ACTION}" class="general">
     18
     19<p><input class="submit" type="submit" value="{'submit'|@translate}" name="submit" {$TAG_INPUT_ENABLED} >&nbsp;<input class="submit" type="submit" value="{'audit'|@translate}" name="audit"></p>
     20
     21<div id="instructionConfig1" class="instructionBlock" >
     22
     23  <div id="config1_header" class="instructionBlockHeaderCollapsed" onclick="blockToggleDisplay('config1_header', 'Config1')">
     24    <span class="cluetip" title="{'UAM_restricTitle'|translate}|{'UAM_restricTitle_d'|translate}">{'UserAdvManager_Title1'|@translate}</span>
     25  </div>
     26
     27  <div id="Config1" class="instructionBlockContent" style="display:none">
    628  <fieldset>
    7         <legend>{'UserAdvManager_Title1'|@translate}</legend>
    829    <ul>
    9         <li><label>{'UserAdvManager_No_Casse'|@translate}</label><br>
    10         <input type="radio" value="true" {$UserAdvManager_NO_CASSE_TRUE} name="UserAdvManager_No_Casse">{'UserAdvManager_No_Casse_true'|@translate}<br>
     30        <li><label class="cluetip" title="{'UAM_casenTitle'|translate}|{'UAM_casenTitle_d'|translate}">{'UserAdvManager_No_Casse'|@translate}</label><br><br>
    1131        <input type="radio" value="false" {$UserAdvManager_NO_CASSE_FALSE} name="UserAdvManager_No_Casse">{'UserAdvManager_No_Casse_false'|@translate}<br>
    12         <br>
     32        <input type="radio" value="true" {$UserAdvManager_NO_CASSE_TRUE} name="UserAdvManager_No_Casse">{'UserAdvManager_No_Casse_true'|@translate}<br><br>
    1333                </li>
    14         <li><label>{'UserAdvManager_Username_Char'|@translate}</label><br>
     34     
     35        <li><label class="cluetip" title="{'UAM_carexcTitle'|translate}|{'UAM_carexcTitle_d'|translate}">{'UserAdvManager_Username_Char'|@translate}</label><br><br>
     36        <input type="radio" value="false" {$UserAdvManager_USERNAME_CHAR_FALSE} name="UserAdvManager_Username_Char">{'UserAdvManager_Username_Char_false'|@translate}<br>
    1537        <input type="radio" value="true" {$UserAdvManager_USERNAME_CHAR_TRUE} name="UserAdvManager_Username_Char">{'UserAdvManager_Username_Char_true'|@translate}
    16         <input type="text" name="UserAdvManager_Username_List" value="{$UserAdvManager_USERNAME_CHAR_LIST}" size="20" style="text-align: center;"><br>
    17         <input type="radio" value="false" {$UserAdvManager_USERNAME_CHAR_FALSE} name="UserAdvManager_Username_Char">{'UserAdvManager_Username_Char_false'|@translate}<br><br>
     38        <div style="margin-left: 2em"><input type="text" name="UserAdvManager_Username_List" value="{$UserAdvManager_USERNAME_CHAR_LIST}" size="20" style="text-align: center;"></div><br><br>
    1839        </li>
    1940     
    20         <li><label>{'UserAdvManager_Password_Enforced'|@translate}</label><br>
    21         <input type="radio" value="true" {$UserAdvManager_PASSWORDENF_TRUE} name="UserAdvManager_Password_Enforced">{'UserAdvManager_Password_Enforced_true'|@translate}
    22         <input type="text" name="UserAdvManager_Password_Score" value="{$UserAdvManager_PASSWORD_SCORE}" size="5" style="text-align: center;"><br><br>
    23 
    24 {if $UserAdvManager_PASSWORDENF_TRUE}       
    25         <label>{'UserAdvManager_Password_Enforced_Info'|@translate}</label><br><br>
    26         {'UserAdvManager_PasswordTest'|@translate}<input type="text" name="UserAdvManager_Password_Test" value="{$UserAdvManager_PASSWORD_TEST}" size="50" style="text-align: left;">&nbsp;&nbsp;&nbsp;
    27         <input class="submit" type="submit" value="{'PasswordTest'|@translate}" name="PasswordTest" >&nbsp;&nbsp;&nbsp;
     41        <li><label class="cluetip" title="{'UAM_passwTitle'|translate}|{'UAM_passwTitle_d'|translate}">{'UserAdvManager_Password_Enforced'|@translate}</label><br><br>
     42        <input type="radio" value="false" {$UserAdvManager_PASSWORDENF_FALSE} name="UserAdvManager_Password_Enforced">{'UserAdvManager_Password_Enforced_false'|@translate}<br>
     43        <input type="radio" value="true" {$UserAdvManager_PASSWORDENF_TRUE} name="UserAdvManager_Password_Enforced">{'UserAdvManager_Password_Enforced_true'|@translate}&nbsp;<input type="text" name="UserAdvManager_Password_Score" value="{$UserAdvManager_PASSWORD_SCORE}" size="5" style="text-align: center;"><br><br>
     44
     45        {'UserAdvManager_PasswordTest'|@translate}<input class="cluetip" title="{'UAM_passwtestTitle'|translate}|{'UAM_passwtestTitle_d'|translate}" type="text" name="UserAdvManager_Password_Test" value="{$UserAdvManager_PASSWORD_TEST}" size="50" style="text-align: left;">&nbsp;&nbsp;&nbsp;
     46        <input class="submit" type="submit" value="{'PasswordTest'|@translate}" name="PasswordTest" onclick="blockToggleDisplay('config1_header', 'Config1')">&nbsp;&nbsp;&nbsp;
    2847        {'UserAdvManager_ScoreTest'|@translate}{$UserAdvManager_PASSWORD_TEST_SCORE}<br><br>
    29 {/if}       
    30         <input type="radio" value="false" {$UserAdvManager_PASSWORDENF_FALSE} name="UserAdvManager_Password_Enforced">{'UserAdvManager_Password_Enforced_false'|@translate}<br><br>
    3148        </li>
    3249
    33         <li><label>{'UserAdvManager_AdminPassword_Enforced'|@translate}</label><br>
    34         <input type="radio" value="true" {$UserAdvManager_ADMINPASSWENF_TRUE} name="UserAdvManager_AdminPassword_Enforced">{'UserAdvManager_AdminPassword_Enforced_true'|@translate}<br>
    35         <input type="radio" value="false" {$UserAdvManager_ADMINPASSWENF_FALSE} name="UserAdvManager_AdminPassword_Enforced">{'UserAdvManager_AdminPassword_Enforced_false'|@translate}<br><br>
    36 
    37         <li><label>{'UserAdvManager_No_Comment_Anonymous'|@translate}</label><br>
    38         <input type="radio" value="true" {$UserAdvManager_NO_COMMENT_ANO_TRUE} name="UserAdvManager_No_Comment_Anonymous">{'UserAdvManager_No_Comment_Anonymous_true'|@translate}<br>
    39         <input type="radio" value="false" {$UserAdvManager_NO_COMMENT_ANO_FALSE} name="UserAdvManager_No_Comment_Anonymous">{'UserAdvManager_No_Comment_Anonymous_false'|@translate}<br><br>
    40         </li>
    41      
    42         <li><label>{'UserAdvManager_MailExclusion'|@translate}</label><br>
    43         <input type="radio" value="true" {$UserAdvManager_MAILEXCLUSION_TRUE} name="UserAdvManager_MailExclusion">{'UserAdvManager_MailExclusion_true'|@translate}<br>
    44         <input type="radio" value="false" {$UserAdvManager_MAILEXCLUSION_FALSE} name="UserAdvManager_MailExclusion">{'UserAdvManager_MailExclusion_false'|@translate}<br><br>
     50      <ul>
     51      <li><label class="cluetip" title="{'UAM_passwadmTitle'|translate}|{'UAM_passwadmTitle_d'|translate}">{'UserAdvManager_AdminPassword_Enforced'|@translate}</label><br><br>
     52        <input type="radio" value="false" {$UserAdvManager_ADMINPASSWENF_FALSE} name="UserAdvManager_AdminPassword_Enforced">{'UserAdvManager_AdminPassword_Enforced_false'|@translate}<br>       
     53        <input type="radio" value="true" {$UserAdvManager_ADMINPASSWENF_TRUE} name="UserAdvManager_AdminPassword_Enforced">{'UserAdvManager_AdminPassword_Enforced_true'|@translate}<br><br>
     54      </li>
     55      </ul>
     56     
     57        <li><label class="cluetip" title="{'UAM_mailexcTitle'|translate}|{'UAM_mailexcTitle_d'|translate}">{'UserAdvManager_MailExclusion'|@translate}</label><br><br>
     58        <input type="radio" value="false" {$UserAdvManager_MAILEXCLUSION_FALSE} name="UserAdvManager_MailExclusion">{'UserAdvManager_MailExclusion_false'|@translate}<br>
     59        <input type="radio" value="true" {$UserAdvManager_MAILEXCLUSION_TRUE} name="UserAdvManager_MailExclusion">{'UserAdvManager_MailExclusion_true'|@translate}<br><br>
    4560        </li>
    4661
    4762{if $UserAdvManager_MAILEXCLUSION_TRUE}
    4863  {if $UserAdvManager_ERROR_REPORTS4}     
    49         <li><label>{'UserAdvManager_MailExclusion_List'|@translate}</label><br>
    50         <textarea name="UserAdvManager_MailExclusion_List" id="UserAdvManager_MailExclusion_List" rows="3" cols="80" style="color: red" {$TAG_INPUT_ENABLED}>{$UserAdvManager_MAILEXCLUSION_LIST}</textarea><br><br>
    51         </li>
    52   {else}
    53         <li><label>{'UserAdvManager_MailExclusion_List'|@translate}</label><br>
    54         <textarea name="UserAdvManager_MailExclusion_List" id="UserAdvManager_MailExclusion_List" rows="3" cols="80" {$TAG_INPUT_ENABLED}>{$UserAdvManager_MAILEXCLUSION_LIST}</textarea><br><br>
    55         </li>
    56   {/if}
    57 {else}
    58         <li><label>{'UserAdvManager_MailExclusion_List'|@translate}</label><br>
    59         <textarea name="UserAdvManager_MailExclusion_List" id="UserAdvManager_MailExclusion_List" rows="3" cols="80" readonly {$TAG_INPUT_ENABLED}>{$UserAdvManager_MAILEXCLUSION_LIST}</textarea><br><br>
    60         </li>
    61 {/if}
    62 
    63         <li><label>{'UserAdvManager_GhostTracker'|@translate}</label><br>
    64         <input type="radio" value="true" {$UserAdvManager_GHOSTRACKER_TRUE} name="UserAdvManager_GhostUser_Tracker">{'UserAdvManager_GhostTracker_true'|@translate}<br>
    65         <input type="radio" value="false" {$UserAdvManager_GHOSTRACKER_FALSE} name="UserAdvManager_GhostUser_Tracker">{'UserAdvManager_GhostTracker_false'|@translate}<br><br>
    66         </li>
     64      <div style="margin-left: 2em"><textarea name="UserAdvManager_MailExclusion_List" id="UserAdvManager_MailExclusion_List" rows="3" cols="80" style="color: red" {$TAG_INPUT_ENABLED}>{$UserAdvManager_MAILEXCLUSION_LIST}</textarea></div><br><br>
     65  {else}
     66      <div style="margin-left: 2em"><textarea name="UserAdvManager_MailExclusion_List" id="UserAdvManager_MailExclusion_List" rows="3" cols="80" {$TAG_INPUT_ENABLED}>{$UserAdvManager_MAILEXCLUSION_LIST}</textarea></div><br><br>
     67  {/if}
     68{else}
     69      <div style="margin-left: 2em"><textarea name="UserAdvManager_MailExclusion_List" id="UserAdvManager_MailExclusion_List" rows="3" cols="80" readonly {$TAG_INPUT_ENABLED}>{$UserAdvManager_MAILEXCLUSION_LIST}</textarea></div><br><br>
     70{/if}
     71    </ul>
     72  </fieldset>
     73  </div>
     74</div>
     75
     76
     77
     78
     79<div id="instructionConfig2" class="instructionBlock" >
     80   
     81  <div id="config2_header" class="instructionBlockHeaderCollapsed" onclick="blockToggleDisplay('config2_header', 'Config2')">
     82    <span class="cluetip" title="{'UAM_confirmTitle'|translate}|{'UAM_confirmTitle_d'|translate}">{'UserAdvManager_Title2'|@translate}</span>
     83  </div>
     84 
     85  <div id="Config2" class="instructionBlockContent" style="display:none">
     86    <fieldset>
     87      <ul>
     88        <li><label class="cluetip" title="{'UAM_infomailTitle'|translate}|{'UAM_infomailTitle_d'|translate}">{'UserAdvManager_Mail_Info'|@translate}</label><br><br>
     89          <input type="radio" value="false" {$UserAdvManager_MAIL_INFO_FALSE} name="UserAdvManager_Mail_Info">{'UserAdvManager_Mail_Info_false'|@translate}<br>
     90          <input type="radio" value="true" {$UserAdvManager_MAIL_INFO_TRUE} name="UserAdvManager_Mail_Info">{'UserAdvManager_Mail_Info_true'|@translate}<br><br>
     91        </li>
     92        <ul>
     93{if $UserAdvManager_MAIL_INFO_TRUE}
     94  {if $UserAdvManager_ERROR_REPORTS1}     
     95          <li><label class="cluetip" title="{'UAM_infotxtTitle'|translate}|{'UAM_infotxtTitle_d'|translate}">{'UserAdvManager_MailInfo_Text'|@translate}</label><br><br>
     96            <textarea name="UserAdvManager_MailInfo_Text" id="UserAdvManager_MailInfo_Text" rows="10" cols="80" style="color: red"  {$TAG_INPUT_ENABLED}>{$UserAdvManager_MAILINFO_TEXT}</textarea><br><br>
     97          </li>
     98  {else}
     99          <li><label class="cluetip" title="{'UAM_infotxtTitle'|translate}|{'UAM_infotxtTitle_d'|translate}">{'UserAdvManager_MailInfo_Text'|@translate}</label><br><br>
     100            <textarea name="UserAdvManager_MailInfo_Text" id="UserAdvManager_MailInfo_Text" rows="10" cols="80" {$TAG_INPUT_ENABLED}>{$UserAdvManager_MAILINFO_TEXT}</textarea><br><br>
     101          </li>
     102  {/if}
     103{else}
     104          <li><label class="cluetip" title="{'UAM_infotxtTitle'|translate}|{'UAM_infotxtTitle_d'|translate}">{'UserAdvManager_MailInfo_Text'|@translate}</label><br><br>
     105            <textarea name="UserAdvManager_MailInfo_Text" id="UserAdvManager_MailInfo_Text" rows="10" cols="80" readonly {$TAG_INPUT_ENABLED}>{$UserAdvManager_MAILINFO_TEXT}</textarea><br><br>
     106          </li>
     107{/if}
     108        </ul>
     109
     110        <li><label>{'UserAdvManager_Confirm_Mail'|@translate}</label><br><br>
     111          <input type="radio" value="false" {$UserAdvManager_CONFIRM_MAIL_FALSE} name="UserAdvManager_Confirm_Mail">{'UserAdvManager_Confirm_Mail_false'|@translate}<br>
     112          <input type="radio" value="true" {$UserAdvManager_CONFIRM_MAIL_TRUE} name="UserAdvManager_Confirm_Mail">{'UserAdvManager_Confirm_Mail_true'|@translate}<br><br>
     113        </li>
     114
     115        <ul>
     116{if $UserAdvManager_CONFIRM_MAIL_TRUE}
     117  {if $UserAdvManager_ERROR_REPORTS2}     
     118          <li><label>{'UserAdvManager_ConfirmMail_Text'|@translate}</label><br><br>
     119            <textarea name="UserAdvManager_ConfirmMail_Text" id="UserAdvManager_ConfirmMail_Text" rows="10" cols="80" style="color: red" {$TAG_INPUT_ENABLED}>{$UserAdvManager_CONFIRMMAIL_TEXT}</textarea><br><br>
     120          </li>
     121  {else}
     122          <li><label>{'UserAdvManager_ConfirmMail_Text'|@translate}</label><br><br>
     123            <textarea name="UserAdvManager_ConfirmMail_Text" id="UserAdvManager_ConfirmMail_Text" rows="10" cols="80" {$TAG_INPUT_ENABLED}>{$UserAdvManager_CONFIRMMAIL_TEXT}</textarea><br><br>
     124          </li>
     125  {/if}
     126{else}
     127          <li><label>{'UserAdvManager_ConfirmMail_Text'|@translate}</label><br><br>
     128            <textarea name="UserAdvManager_ConfirmMail_Text" id="UserAdvManager_ConfirmMail_Text" rows="10" cols="80" readonly {$TAG_INPUT_ENABLED}>{$UserAdvManager_CONFIRMMAIL_TEXT}</textarea><br><br>
     129          </li>
     130{/if}
     131        </ul>
     132
     133        <br><hr><br>
     134       
     135        <li><label>{'UserAdvManager_Confirm_Group'|@translate}</label><br><br>
     136       
     137          <div style="text-align: center; font-size: 1.1em; color: red;"><b>{'UserAdvManager_Confirm_Group_Notice'|@translate}</b></div><br>
     138        </li>
     139
     140        <ul>
     141          <li><label>{'UserAdvManager_No_Confirm_Group'|@translate}</label><br>
     142            <div style="margin-left: 2em">{html_options name="UserAdvManager_No_Confirm_Group" options=$No_Confirm_Group.group_options selected=$No_Confirm_Group.group_selected}</div><br><br>
     143            </li>
     144     
     145          <li><label>{'UserAdvManager_Validated_Group'|@translate}</label><br>
     146            <div style="margin-left: 2em">{html_options name="UserAdvManager_Validated_Group" options=$Validated_Group.group_options selected=$Validated_Group.group_selected}</div><br><br>
     147          </li>
     148        </ul>
     149
     150        <li><label>{'UserAdvManager_Confirm_Status'|@translate}</label><br><br>
     151          <div style="text-align: center; font-size: 1.1em; color: red;"><b>{'UserAdvManager_Confirm_Status_Notice'|@translate}</b></div><br>
     152        </li>
     153
     154        <ul>
     155          <li><label>{'UserAdvManager_No_Confirm_Status'|@translate}</label><br>
     156            <div style="margin-left: 2em">{html_options name="UserAdvManager_No_Confirm_Status" options=$No_Confirm_Status.Status_options selected=$No_Confirm_Status.Status_selected}</div><br><br>
     157          </li>
     158
     159          <li><label>{'UserAdvManager_Validated_Status'|@translate}</label><br>
     160            <div style="margin-left: 2em">{html_options name="UserAdvManager_Validated_Status" options=$Confirm_Status.Status_options selected=$Confirm_Status.Status_selected}</div><br><br>
     161          </li>
     162        </ul>
     163
     164        <br><hr><br>
     165
     166        <li><label>{'UserAdvManager_ConfirmMail_Info'|@translate}</label><br><br>
     167          <input type="radio" value="false" {$UserAdvManager_CONFIRMMAIL_TIMEOUT_FALSE} name="UserAdvManager_ConfirmMail_TimeOut"> {'UserAdvManager_ConfirmMail_TimeOut_false'|@translate}<br>
     168          <input type="radio" value="true" {$UserAdvManager_CONFIRMMAIL_TIMEOUT_TRUE} name="UserAdvManager_ConfirmMail_TimeOut"> {'UserAdvManager_ConfirmMail_TimeOut_true'|@translate}<input type="text" name="UserAdvManager_ConfirmMail_Delay" value="{$UserAdvManager_CONFIRMMAIL_DELAY}" size="5" style="text-align: center;"><br><br>
     169        </li>
     170   
     171        <li><label>{'UserAdvManager_ConfirmMail_Remail'|@translate}</label><br>
     172          <input type="radio" value="false" {$UserAdvManager_CONFIRMMAIL_REMAIL_FALSE} name="UserAdvManager_ConfirmMail_Remail"> {'UserAdvManager_ConfirmMail_Remail_false'|@translate}<br>
     173          <input type="radio" value="true" {$UserAdvManager_CONFIRMMAIL_REMAIL_TRUE} name="UserAdvManager_ConfirmMail_Remail"> {'UserAdvManager_ConfirmMail_Remail_true'|@translate}<br><br>
     174        </li>
     175
     176        <ul>
     177{if $UserAdvManager_CONFIRMMAIL_REMAIL_TRUE}
     178  {if $UserAdvManager_ERROR_REPORTS1}
     179        <li><label>{'UserAdvManager_ConfirmMail_ReMail_Txt1'|@translate}</label><br>
     180          <textarea name="UserAdvManager_ConfirmMail_ReMail_Txt1" id="UserAdvManager_ConfirmMail_ReMail_Txt1" rows="10" cols="80" style="color: red" {$TAG_INPUT_ENABLED}>{$UserAdvManager_CONFIRMMAIL_REMAIL_TXT1}</textarea><br><br>
     181        </li>
     182  {else}
     183        <li><label>{'UserAdvManager_ConfirmMail_ReMail_Txt1'|@translate}</label><br>
     184          <textarea name="UserAdvManager_ConfirmMail_ReMail_Txt1" id="UserAdvManager_ConfirmMail_ReMail_Txt1" rows="10" cols="80" {$TAG_INPUT_ENABLED}>{$UserAdvManager_CONFIRMMAIL_REMAIL_TXT1}</textarea><br><br>
     185        </li>
     186  {/if}
     187{else}
     188        <li><label>{'UserAdvManager_ConfirmMail_ReMail_Txt1'|@translate}</label><br>
     189          <textarea  name="UserAdvManager_ConfirmMail_ReMail_Txt1" id="UserAdvManager_ConfirmMail_ReMail_Txt1" rows="10" cols="80" readonly{$TAG_INPUT_ENABLED}>{$UserAdvManager_CONFIRMMAIL_REMAIL_TXT1}</textarea><br><br>
     190        </li>
     191{/if}
     192
     193{if $UserAdvManager_CONFIRMMAIL_REMAIL_TRUE}
     194  {if $UserAdvManager_ERROR_REPORTS2}
     195        <li><label>{'UserAdvManager_ConfirmMail_ReMail_Txt2'|@translate}</label><br>
     196          <textarea name="UserAdvManager_ConfirmMail_ReMail_Txt2" id="UserAdvManager_ConfirmMail_ReMail_Txt2" rows="10" cols="80" style="color: red" {$TAG_INPUT_ENABLED}>{$UserAdvManager_CONFIRMMAIL_REMAIL_TXT2}</textarea><br>
     197        </li>
     198  {else}               
     199        <li><label>{'UserAdvManager_ConfirmMail_ReMail_Txt2'|@translate}</label><br>
     200          <textarea name="UserAdvManager_ConfirmMail_ReMail_Txt2" id="UserAdvManager_ConfirmMail_ReMail_Txt2" rows="10" cols="80" {$TAG_INPUT_ENABLED}>{$UserAdvManager_CONFIRMMAIL_REMAIL_TXT2}</textarea><br>
     201        </li>
     202  {/if}
     203{else}
     204        <li><label>{'UserAdvManager_ConfirmMail_ReMail_Txt2'|@translate}</label><br>
     205          <textarea name="UserAdvManager_ConfirmMail_ReMail_Txt2" id="UserAdvManager_ConfirmMail_ReMail_Txt2" rows="10" cols="80" readonly {$TAG_INPUT_ENABLED}>{$UserAdvManager_CONFIRMMAIL_REMAIL_TXT2}</textarea><br><br>
     206        </li>
     207{/if}
     208        </ul>
     209      </ul>
     210    </fieldset>
     211  </div>
     212</div>
     213
     214
     215<div id="instructionConfig3" class="instructionBlock" >
     216   
     217  <div id="config3_header" class="instructionBlockHeaderCollapsed" onclick="blockToggleDisplay('config3_header', 'Config3')">
     218    <span class="cluetip" title="{'UAM_miscTitle'|translate}|{'UAM_miscTitle_d'|translate}">{'UserAdvManager_Title3'|@translate}</span>
     219  </div>
     220 
     221  <div id="Config3" class="instructionBlockContent" style="display:none">
     222    <fieldset>
     223      <ul>
     224        <li><label>{'UserAdvManager_GhostTracker'|@translate}</label><br><br>
     225          <input type="radio" value="false" {$UserAdvManager_GHOSTRACKER_FALSE} name="UserAdvManager_GhostUser_Tracker">{'UserAdvManager_GhostTracker_false'|@translate}<br>
     226          <input type="radio" value="true" {$UserAdvManager_GHOSTRACKER_TRUE} name="UserAdvManager_GhostUser_Tracker">{'UserAdvManager_GhostTracker_true'|@translate}<input type="text" name="UserAdvManager_GhostTracker_DayLimit" value="{$UserAdvManager_GHOSTRACKER_DAYLIMIT}" size="5" style="text-align: center;">
     227          <br>{'UserAdvManager_GhostTracker_Notice1'|@translate}<br>
     228        </li>
    67229{if $UserAdvManager_GHOSTRACKER_TRUE}
    68         <br>
    69                         <div style="text-align: left; color: green;"><b>{'UserAdvManager_GhostTracker_Notice'|@translate}</b></div>
    70                         <br>
    71 {/if}
    72         <li><label>{'UserAdvManager_GhostTracker_DayLimit'|@translate}</label><br>
    73         <input type="text" name="UserAdvManager_GhostTracker_DayLimit" value="{$UserAdvManager_GHOSTRACKER_DAYLIMIT}" size="5" style="text-align: center;"><br><br>
    74       </li>
    75      
     230        <div style="text-align: left; color: green;"><b>{'UserAdvManager_GhostTracker_Notice'|@translate}</b></div>
     231        <br>
     232{/if}
     233        <br>
     234        <ul>
    76235{if $UserAdvManager_GHOSTRACKER_TRUE}
    77236  {if $UserAdvManager_ERROR_REPORTS3}
    78         <li><label>{'UserAdvManager_GhostTracker_ReminderText'|@translate}</label><br><br>
    79         <textarea name="UserAdvManager_GhostTracker_ReminderText" id="UserAdvManager_GhostTracker_ReminderText" rows="10" cols="80" style="color: red" {$TAG_INPUT_ENABLED}>{$UserAdvManager_GHOSTRACKER_REMINDERTEXT}</textarea><br><br>
    80         </li>
    81   {else}
    82         <li><label>{'UserAdvManager_GhostTracker_ReminderText'|@translate}</label><br><br>
    83         <textarea name="UserAdvManager_GhostTracker_ReminderText" id="UserAdvManager_GhostTracker_ReminderText" rows="10" cols="80" {$TAG_INPUT_ENABLED}>{$UserAdvManager_GHOSTRACKER_REMINDERTEXT}</textarea><br><br>
    84         </li>
    85   {/if}
    86 {else}
    87         <li><label>{'UserAdvManager_GhostTracker_ReminderText'|@translate}</label><br><br>
    88         <textarea name="UserAdvManager_GhostTracker_ReminderText" id="UserAdvManager_GhostTracker_ReminderText" rows="10" cols="80" readonly {$TAG_INPUT_ENABLED}>{$UserAdvManager_GHOSTRACKER_REMINDERTEXT}</textarea><br><br>
    89         </li>
    90 {/if}
    91 
    92         <li><label>{'UserAdvManager_Add_LastVisit_Column'|@translate}</label><br>
    93         <input type="radio" value="true" {$UserAdvManager_ADDLASTVISIT_TRUE} name="UserAdvManager_Add_LastVisit_Column">{'UserAdvManager_Add_LastVisit_Column_true'|@translate}<br>
    94         <input type="radio" value="false" {$UserAdvManager_ADDLASTVISIT_FALSE} name="UserAdvManager_Add_LastVisit_Column">{'UserAdvManager_Add_LastVisit_Column_false'|@translate}<br><br>
    95         </li>
    96     </ul>
    97    
    98         <p><input class="submit" type="submit" value="{'submit'|@translate}" name="submit" {$TAG_INPUT_ENABLED} >&nbsp;<input class="submit" type="submit" value="{'audit'|@translate}" name="audit"></p>
    99   </fieldset>
    100 
    101     <fieldset>
    102     <legend>{'UserAdvManager_Title2'|@translate}</legend>
    103     <ul>
    104         <li><label>{'UserAdvManager_Mail_Info'|@translate}</label><br>
    105         <input type="radio" value="true" {$UserAdvManager_MAIL_INFO_TRUE} name="UserAdvManager_Mail_Info">{'UserAdvManager_Mail_Info_true'|@translate}<br>
    106         <input type="radio" value="false" {$UserAdvManager_MAIL_INFO_FALSE} name="UserAdvManager_Mail_Info">{'UserAdvManager_Mail_Info_false'|@translate}<br><br>
    107         </li>
    108 
    109 {if $UserAdvManager_MAIL_INFO_TRUE}
    110   {if $UserAdvManager_ERROR_REPORTS1}     
    111         <li><label>{'UserAdvManager_MailInfo_Text'|@translate}</label><br><br>
    112         <textarea name="UserAdvManager_MailInfo_Text" id="UserAdvManager_MailInfo_Text" rows="10" cols="80" style="color: red"  {$TAG_INPUT_ENABLED}>{$UserAdvManager_MAILINFO_TEXT}</textarea><br><br>
    113         </li>
    114   {else}
    115         <li><label>{'UserAdvManager_MailInfo_Text'|@translate}</label><br><br>
    116         <textarea name="UserAdvManager_MailInfo_Text" id="UserAdvManager_MailInfo_Text" rows="10" cols="80" {$TAG_INPUT_ENABLED}>{$UserAdvManager_MAILINFO_TEXT}</textarea><br><br>
    117         </li>
    118   {/if}
    119 {else}
    120         <li><label>{'UserAdvManager_MailInfo_Text'|@translate}</label><br><br>
    121         <textarea name="UserAdvManager_MailInfo_Text" id="UserAdvManager_MailInfo_Text" rows="10" cols="80" readonly {$TAG_INPUT_ENABLED}>{$UserAdvManager_MAILINFO_TEXT}</textarea><br><br>
    122         </li>
    123 {/if}
    124 
    125         <li><label>{'UserAdvManager_Confirm_Mail'|@translate}</label><br>
    126         <input type="radio" value="true" {$UserAdvManager_CONFIRM_MAIL_TRUE} name="UserAdvManager_Confirm_Mail">{'UserAdvManager_Confirm_Mail_true'|@translate}<br>
    127         <input type="radio" value="false" {$UserAdvManager_CONFIRM_MAIL_FALSE} name="UserAdvManager_Confirm_Mail">{'UserAdvManager_Confirm_Mail_false'|@translate}<br><br>
    128         </li>
    129 
    130 {if $UserAdvManager_CONFIRM_MAIL_TRUE}
    131   {if $UserAdvManager_ERROR_REPORTS2}     
    132         <li><label>{'UserAdvManager_ConfirmMail_Text'|@translate}</label><br><br>
    133         <textarea name="UserAdvManager_ConfirmMail_Text" id="UserAdvManager_ConfirmMail_Text" rows="10" cols="80" style="color: red" {$TAG_INPUT_ENABLED}>{$UserAdvManager_CONFIRMMAIL_TEXT}</textarea><br><br>
    134         </li>
    135   {else}
    136         <li><label>{'UserAdvManager_ConfirmMail_Text'|@translate}</label><br><br>
    137         <textarea name="UserAdvManager_ConfirmMail_Text" id="UserAdvManager_ConfirmMail_Text" rows="10" cols="80" {$TAG_INPUT_ENABLED}>{$UserAdvManager_CONFIRMMAIL_TEXT}</textarea><br><br>
    138         </li>
    139   {/if}
    140 {else}
    141         <li><label>{'UserAdvManager_ConfirmMail_Text'|@translate}</label><br><br>
    142         <textarea name="UserAdvManager_ConfirmMail_Text" id="UserAdvManager_ConfirmMail_Text" rows="10" cols="80" readonly {$TAG_INPUT_ENABLED}>{$UserAdvManager_CONFIRMMAIL_TEXT}</textarea><br><br>
    143         </li>
    144 {/if}
    145 
    146         <br>
    147                         <div style="text-align: center; font-size: 1.1em; color: red;"><b>{'UserAdvManager_Confirm_Group_Notice'|@translate}</b></div>
    148                         <br>
    149      
    150         <li><label>{'UserAdvManager_No_Confirm_Group'|@translate}</label><br>
    151                 {html_options name="UserAdvManager_No_Confirm_Group" options=$No_Confirm_Group.group_options selected=$No_Confirm_Group.group_selected}<br><br>
    152         </li>
    153      
    154         <li><label>{'UserAdvManager_Validated_Group'|@translate}</label><br>
    155                 {html_options name="UserAdvManager_Validated_Group" options=$Validated_Group.group_options selected=$Validated_Group.group_selected}<br><br>
    156         </li>
    157      
    158         <br>
    159                         <div style="text-align: center; font-size: 1.1em; color: red;"><b>{'UserAdvManager_Confirm_Status_Notice'|@translate}</b></div>
    160                         <br>
    161      
    162         <li><label>{'UserAdvManager_No_Confirm_Status'|@translate}</label><br>
    163                 {html_options name="UserAdvManager_No_Confirm_Status" options=$No_Confirm_Status.Status_options selected=$No_Confirm_Status.Status_selected}<br><br>
    164         </li>
    165      
    166         <li><label>{'UserAdvManager_Validated_Status'|@translate}</label><br>
    167                 {html_options name="UserAdvManager_Validated_Status" options=$Confirm_Status.Status_options selected=$Confirm_Status.Status_selected}<br><br>
    168         </li>
    169     </ul>
    170    
    171         <p><input class="submit" type="submit" value="{'submit'|@translate}" name="submit" {$TAG_INPUT_ENABLED} >&nbsp;<input class="submit" type="submit" value="{'audit'|@translate}" name="audit"></p>
    172   </fieldset>
     237          <li><label>{'UserAdvManager_GhostTracker_ReminderText'|@translate}</label><br><br>
     238            <textarea name="UserAdvManager_GhostTracker_ReminderText" id="UserAdvManager_GhostTracker_ReminderText" rows="10" cols="80" style="color: red" {$TAG_INPUT_ENABLED}>{$UserAdvManager_GHOSTRACKER_REMINDERTEXT}</textarea><br><br>
     239          </li>
     240  {else}
     241          <li><label>{'UserAdvManager_GhostTracker_ReminderText'|@translate}</label><br><br>
     242            <textarea name="UserAdvManager_GhostTracker_ReminderText" id="UserAdvManager_GhostTracker_ReminderText" rows="10" cols="80" {$TAG_INPUT_ENABLED}>{$UserAdvManager_GHOSTRACKER_REMINDERTEXT}</textarea><br><br>
     243          </li>
     244  {/if}
     245{else}
     246          <li><label>{'UserAdvManager_GhostTracker_ReminderText'|@translate}</label><br><br>
     247            <textarea name="UserAdvManager_GhostTracker_ReminderText" id="UserAdvManager_GhostTracker_ReminderText" rows="10" cols="80" readonly {$TAG_INPUT_ENABLED}>{$UserAdvManager_GHOSTRACKER_REMINDERTEXT}</textarea><br><br>
     248          </li>
     249{/if}
     250        </ul>
     251   
     252        <li><label>{'UserAdvManager_Add_LastVisit_Column'|@translate}</label><br><br>
     253          <input type="radio" value="false" {$UserAdvManager_ADDLASTVISIT_FALSE} name="UserAdvManager_Add_LastVisit_Column">{'UserAdvManager_Add_LastVisit_Column_false'|@translate}<br>
     254          <input type="radio" value="true" {$UserAdvManager_ADDLASTVISIT_TRUE} name="UserAdvManager_Add_LastVisit_Column">{'UserAdvManager_Add_LastVisit_Column_true'|@translate}<br><br>
     255        </li>
     256
     257        <li><label>{'UserAdvManager_No_Comment_Anonymous'|@translate}</label><br><br>
     258          <input type="radio" value="false" {$UserAdvManager_NO_COMMENT_ANO_FALSE} name="UserAdvManager_No_Comment_Anonymous">{'UserAdvManager_No_Comment_Anonymous_false'|@translate}<br>
     259          <input type="radio" value="true" {$UserAdvManager_NO_COMMENT_ANO_TRUE} name="UserAdvManager_No_Comment_Anonymous">{'UserAdvManager_No_Comment_Anonymous_true'|@translate}<br><br>
     260        </li>
     261      </ul>
     262    </fieldset>
     263  </div>
     264</div>
     265
     266<p><input class="submit" type="submit" value="{'submit'|@translate}" name="submit" {$TAG_INPUT_ENABLED} >&nbsp;<input class="submit" type="submit" value="{'audit'|@translate}" name="audit"></p>
    173267</form>
  • extensions/NBC_UserAdvManager/trunk/admin/userlist.tpl

    r4381 r4927  
    11<div class="titrePage">
    2   <h2>{'Title_Tab5'|@translate}</h2>
     2  <h2>{'Title_Tab'|@translate} {$UAM_VERSION}<br>{'SubTitle5'|@translate}</h2>
    33</div>
    44
  • extensions/NBC_UserAdvManager/trunk/admin/usermanager.tpl

    r4380 r4927  
    11<div class="titrePage">
    2   <h2>{'Title_Tab3'|@translate}</h2>
     2  <h2>{'Title_Tab'|@translate} {$UAM_VERSION}<br>{'SubTitle3'|@translate}</h2>
    33</div>
    44
Note: See TracChangeset for help on using the changeset viewer.