Index: extensions/UserAdvManager/trunk/admin/template/global.tpl
===================================================================
--- extensions/UserAdvManager/trunk/admin/template/global.tpl	(revision 18450)
+++ extensions/UserAdvManager/trunk/admin/template/global.tpl	(revision 18461)
@@ -36,4 +36,11 @@
   jQuery("#UAM_RejectConnexion_false").click(function() {
     jQuery("#UAM_REJECTLOGIN").hide("slow");
+  });
+  
+  jQuery("#UAM_GhostUser_Tracker_true").click(function() {
+    jQuery("#UAM_GHOSTRACKER_OPT").show("slow");
+  });
+  jQuery("#UAM_GhostUser_Tracker_false").click(function() {
+    jQuery("#UAM_GHOSTRACKER_OPT").hide("slow");
   });
   jQuery("#UAM_GTAuto_true").click(function() {
@@ -178,10 +185,11 @@
             </label>
           
-            <input type="radio" value="false" {$UAM_PASSWORDENF_FALSE} name="UAM_Password_Enforced">
-              {'UAM_Disable'|@translate}<br>
-            <input type="radio" value="true" {$UAM_PASSWORDENF_TRUE} name="UAM_Password_Enforced">
+            <label for="UAM_Password_Enforced_false"><input id="UAM_Password_Enforced_false" type="radio" value="false" {$UAM_PASSWORDENF_FALSE} name="UAM_Password_Enforced">
+              {'UAM_Disable'|@translate}
+            </label>
+            <label for="UAM_Password_Enforced_true"><input id="UAM_Password_Enforced_true" type="radio" value="true" {$UAM_PASSWORDENF_TRUE} name="UAM_Password_Enforced">
               {'UAM_Password_Enforced_true'|@translate}&nbsp;
             <input type="text" name="UAM_Password_Score" value="{$UAM_PASSWORD_SCORE}" size="5" style="text-align: center;">
-            <br>
+            </label>
             {'UAM_PasswordTest'|@translate}
               <input class="cluetip" title="{'UAM_passwtestTitle'|translate}|{'UAM_passwtestTitle_d'|translate}" type="text" name="UAM_Password_Test" value="{$UAM_PASSWORD_TEST}" size="50" style="text-align: left;">
@@ -197,9 +205,10 @@
               </label>
             
-              <input type="radio" value="false" {$UAM_ADMINPASSWENF_FALSE} name="UAM_AdminPassword_Enforced">
+              <label for="UAM_AdminPassword_Enforced_false"><input id="UAM_AdminPassword_Enforced_false" value="false" {$UAM_ADMINPASSWENF_FALSE} name="UAM_AdminPassword_Enforced" type="radio">
                 {'UAM_Disable'|@translate}
-            <br>        
-              <input type="radio" value="true" {$UAM_ADMINPASSWENF_TRUE} name="UAM_AdminPassword_Enforced">
+              </label>
+              <label for="UAM_AdminPassword_Enforced_true"><input id="UAM_AdminPassword_Enforced_true" value="true" {$UAM_ADMINPASSWENF_TRUE} name="UAM_AdminPassword_Enforced" type="radio">
                 {'UAM_Enable'|@translate}
+              </label>
             
             </li>
@@ -214,9 +223,10 @@
             <div class="uam_hide">
             
-              <input type="radio" value="false" {$UAM_MAILEXCLUSION_FALSE} name="UAM_MailExclusion">
+              <label for="UAM_MailExclusion_false"><input id="UAM_MailExclusion_false" value="false" {$UAM_MAILEXCLUSION_FALSE} name="UAM_MailExclusion" type="radio">
                 {'UAM_Disable'|@translate}
-            <br>
-              <input type="radio" value="true" {$UAM_MAILEXCLUSION_TRUE} name="UAM_MailExclusion">
+              </label>
+              <label for="UAM_MailExclusion_true"><input id="UAM_MailExclusion_true" value="true" {$UAM_MAILEXCLUSION_TRUE} name="UAM_MailExclusion" type="radio">
                 {'UAM_MailExclusion_true'|@translate}
+              </label>
             
             </div>
@@ -227,9 +237,10 @@
 
             
-              <input type="radio" value="false" {$UAM_MAILEXCLUSION_FALSE} name="UAM_MailExclusion">
+              <label for="UAM_MailExclusion_false"><input id="UAM_MailExclusion_false" value="false" {$UAM_MAILEXCLUSION_FALSE} name="UAM_MailExclusion" type="radio">
                 {'UAM_Disable'|@translate}
-            <br>
-              <input type="radio" value="true" {$UAM_MAILEXCLUSION_TRUE} name="UAM_MailExclusion">
+              </label>
+              <label for="UAM_MailExclusion_true"><input id="UAM_MailExclusion_true" value="true" {$UAM_MAILEXCLUSION_TRUE} name="UAM_MailExclusion" type="radio">
                 {'UAM_MailExclusion_true'|@translate}
+              </label>
             
 
@@ -268,14 +279,10 @@
               {'UAM_Confirm_Mail'|@translate}
             </label>
-          
             <label for="UAM_Confirm_Mail_false"><input type="radio" id="UAM_Confirm_Mail_false" value="false" {$UAM_CONFIRM_MAIL_FALSE} name="UAM_Confirm_Mail">
               {'UAM_Disable'|@translate}</label>
-          <br>
             <label for="UAM_Confirm_Mail_true"><input type="radio" id="UAM_Confirm_Mail_true" value="true" {$UAM_CONFIRM_MAIL_TRUE} name="UAM_Confirm_Mail">
               {'UAM_Confirm_Mail_true'|@translate}</label>
-          <br>
             <label for="UAM_Confirm_Mail_local"><input type="radio" id="UAM_Confirm_Mail_local" value="local" {$UAM_CONFIRM_MAIL_LOCAL} name="UAM_Confirm_Mail">
               {'UAM_Confirm_Mail_local'|@translate}</label>
-          
           </li>
         </ul>
@@ -287,9 +294,10 @@
                 </label>
               
-                <input type="radio" value="false" {$UAM_STUFFS_FALSE} name="UAM_Stuffs">
+                <label for="UAM_Stuffs_false"><input id="UAM_Stuffs_false" value="false" {$UAM_STUFFS_FALSE} name="UAM_Stuffs" type="radio">
                   {'UAM_Disable'|@translate}
-              <br>
-                <input type="radio" value="true" {$UAM_STUFFS_TRUE} name="UAM_Stuffs">
+                </label>
+                <label for="UAM_Stuffs_true"><input id="UAM_Stuffs_true" value="true" {$UAM_STUFFS_TRUE} name="UAM_Stuffs" type="radio">
                   {'UAM_Enable'|@translate}
+                </label>
               
               </li>
@@ -299,10 +307,10 @@
                   {'UAM_AdminConfMail'|@translate}
                 </label>
-              
-                <input type="radio" value="false" {$UAM_ADMINCONFMAIL_FALSE} name="UAM_Admin_ConfMail">
+                <label for="UAM_Admin_ConfMail_false"><input id="UAM_Admin_ConfMail_false" value="false" {$UAM_ADMINCONFMAIL_FALSE} name="UAM_Admin_ConfMail" type="radio">
                   {'UAM_Disable'|@translate}
-              <br>
-                <input type="radio" value="true" {$UAM_ADMINCONFMAIL_TRUE} name="UAM_Admin_ConfMail">
+                </label>
+                <label for="UAM_Admin_ConfMail_true"><input id="UAM_Admin_ConfMail_true" value="true" {$UAM_ADMINCONFMAIL_TRUE} name="UAM_Admin_ConfMail" type="radio">
                   {'UAM_Enable'|@translate}
+                </label>
               
               </li>
@@ -316,9 +324,6 @@
                 {'UAM_AdminValidationMail_Subject'|@translate}
               </label>
-            
               &nbsp;&nbsp;<textarea class="uam_textfields" name="UAM_AdminValidationMail_Subject" id="UAM_AdminValidationMail_Subject" rows="5" {$TAG_INPUT_ENABLED}>{$UAM_ADMINVALIDATIONMAIL_SUBJECT}</textarea>
-            
-            </li>
-
+            </li>
             <ul>
               <li>
@@ -326,11 +331,8 @@
                   {'UAM_AdminValidationMail_Text'|@translate}
                 </label>
-              
                 <textarea class="uam_textfields" name="UAM_AdminValidationMail_Text" id="UAM_AdminValidationMail_Text" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_ADMINVALIDATIONMAIL_TEXT}</textarea>
-              
               </li>
             </ul>
           </ul>
-
           <ul>
             <li>
@@ -338,9 +340,6 @@
                 {'UAM_ConfirmMail_Subject'|@translate}
               </label>
-            
               &nbsp;&nbsp;<textarea class="uam_textfields" name="UAM_ConfirmMail_Subject" id="UAM_ConfirmMail_Subject" rows="5" {$TAG_INPUT_ENABLED}>{$UAM_CONFIRMMAIL_SUBJECT}</textarea>
-            
-            </li>
-
+            </li>
             <ul>
               <li>
@@ -348,5 +347,4 @@
                   {'UAM_ConfirmMail_Text'|@translate}
                 </label>
-              
               {if $UAM_ERROR_REPORTS2}
                   <textarea class="uam_textfields" name="UAM_ConfirmMail_Text" id="UAM_ConfirmMail_Text" rows="10" style="color: red" {$TAG_INPUT_ENABLED}>{$UAM_CONFIRMMAIL_TEXT}</textarea>
@@ -354,5 +352,4 @@
                   <textarea class="uam_textfields" name="UAM_ConfirmMail_Text" id="UAM_ConfirmMail_Text" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_CONFIRMMAIL_TEXT}</textarea>
               {/if}
-              
               </li>
             </ul>
@@ -369,7 +366,5 @@
                 {'UAM_confirmmail_custom_Txt1'|@translate}
               </label>
-            
                 <textarea class="uam_textfields" name="UAM_ConfirmMail_Custom_Txt1" id="UAM_ConfirmMail_Custom_Txt1" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_CONFIRMMAIL_CUSTOM_TXT1}</textarea>
-            
             </li>
             {if 'FCK_PATH'|@defined}
@@ -378,12 +373,9 @@
               </div>
             {/if}
-
             <li>
               <label class="cluetip" title="{'UAM_confirmmail_custom_Txt2'|translate}|{'UAM_confirmmail_custom2_d'|translate}">
                 {'UAM_confirmmail_custom_Txt2'|@translate}
               </label>
-            
                 <textarea class="uam_textfields" name="UAM_ConfirmMail_Custom_Txt2" id="UAM_ConfirmMail_Custom_Txt2" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_CONFIRMMAIL_CUSTOM_TXT2}</textarea>
-            
             </li>
             {if 'FCK_PATH'|@defined}
@@ -395,5 +387,4 @@
           </fieldset>
           <br><hr><br>
-
             <ul>
          	    <li>
@@ -405,9 +396,7 @@
                   {'UAM_Disable'|@translate}
                 </label>
-            <br>
                 <label for="UAM_RejectConnexion_true"><input id="UAM_RejectConnexion_true" type="radio" value="true" {$UAM_REJECTCONNECT_TRUE} name="UAM_RejectConnexion">
                   {'UAM_Enable'|@translate}</label>
                 </label>
-            
               </li>
               <li id="UAM_REJECTLOGIN" {if $UAM_REJECTCONNECT_FALSE}style="display: none"{/if}>
@@ -415,7 +404,5 @@
                   {'UAM_RejectConnexion_Custom_Txt'|@translate}
                 </label>
-            
                 <textarea class="uam_textfields" name="UAM_CustomRejectConnexion_Text" id="UAM_CustomRejectConnexion_Text" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_REJECTCONNECT_TEXT}</textarea>
-            
             {if 'FCK_PATH'|@defined}
               <div style="text-align:right;">
@@ -425,5 +412,4 @@
               </li>
             </ul>
-
           <br><hr><br>
           <a id="show_UAM_Change" >{'UAM_Change'|translate}</a>
@@ -436,7 +422,5 @@
                   {'UAM_Confirm_Group'|@translate}
                 </label>
-              
-              </li>
-
+              </li>
               <ul>
                 <li>
@@ -444,30 +428,22 @@
                     {'UAM_No_Confirm_Group'|@translate}
                   </label>
-                <br>
                   <div class="uam_leftmargin">
                     {html_options name="UAM_No_Confirm_Group" options=$No_Confirm_Group.group_options selected=$No_Confirm_Group.group_selected}
                   </div>
-                
                 </li>
-
                 <li>
                   <label>
                     {'UAM_Validated_Group'|@translate}
                   </label>
-                <br>
                   <div class="uam_leftmargin">
                     {html_options name="UAM_Validated_Group" options=$Validated_Group.group_options selected=$Validated_Group.group_selected}
                   </div>
-                
                 </li>
               </ul>
-
               <li>
                 <label class="cluetip" title="{'UAM_confirmstatTitle'|translate}|{'UAM_confirmstatTitle_d'|translate}">
                   {'UAM_Confirm_Status'|@translate}
                 </label>
-              
-              </li>
-
+              </li>
               <ul>
                 <li>
@@ -475,30 +451,22 @@
                     {'UAM_No_Confirm_Status'|@translate}
                   </label>
-                <br>
                   <div class="uam_leftmargin">
                     {html_options name="UAM_No_Confirm_Status" options=$No_Confirm_Status.Status_options selected=$No_Confirm_Status.Status_selected}
                   </div>
-                
                 </li>
-
                 <li>
                   <label>
                     {'UAM_Validated_Status'|@translate}
                   </label>
-                <br>
                   <div class="uam_leftmargin">
                     {html_options name="UAM_Validated_Status" options=$Confirm_Status.Status_options selected=$Confirm_Status.Status_selected}
                   </div>
-                
                 </li>
               </ul>
-
               <li>
                 <label class="cluetip" title="{'UAM_confirmlevelTitle'|translate}|{'UAM_confirmlevelTitle_d'|translate}">
                   {'UAM_Confirm_Level'|@translate}
                 </label>
-              
-              </li>
-              
+              </li>
               <ul>
                 <li>
@@ -506,20 +474,15 @@
                     {'UAM_No_Valid_Level'|@translate}
                   </label>
-                <br>
                   <div class="uam_leftmargin">
                     {html_options name="UAM_No_Valid_Level" options=$No_Valid_Level.Level_options selected=$No_Valid_Level.Level_selected}
                   </div>
-                
                 </li>
-
                 <li>
                   <label>
                     {'UAM_Valid_Level'|@translate}
                   </label>
-                <br>
                   <div class="uam_leftmargin">
                     {html_options name="UAM_Valid_Level" options=$Valid_Level.Level_options selected=$Valid_Level.Level_selected}
                   </div>
-                
                 </li>
               </ul>
@@ -531,25 +494,19 @@
                   {'UAM_ValidationLimit_Info'|@translate}
                 </label>
-              
                 <label for="UAM_ConfirmMail_TimeOut_false" ><input id="UAM_ConfirmMail_TimeOut_false" type="radio" value="false" {$UAM_CONFIRMMAIL_TIMEOUT_FALSE} name="UAM_ConfirmMail_TimeOut">
                   {'UAM_Disable'|@translate}</label>
-              <br>
                 <label for="UAM_ConfirmMail_TimeOut_true" ><input id="UAM_ConfirmMail_TimeOut_true" type="radio" value="true" {$UAM_CONFIRMMAIL_TIMEOUT_TRUE} name="UAM_ConfirmMail_TimeOut">
-                  {'UAM_ConfirmMail_TimeOut_true'|@translate}</label>
+                  {'UAM_ConfirmMail_TimeOut_true'|@translate}
                 <input type="text" name="UAM_ConfirmMail_Delay" value="{$UAM_CONFIRMMAIL_DELAY}" size="5" style="text-align: center;">
-              
-              </li>
-
+                </label>
+              </li>
               <li>
                 <label class="cluetip" title="{'UAM_ConfirmMail_Remail'|translate}|{'UAM_remailTitle_d'|translate}">
                   {'UAM_ConfirmMail_Remail'|@translate}
                 </label>
-              
                 <label for="UAM_ConfirmMail_Remail_false" ><input id="UAM_ConfirmMail_Remail_false" type="radio" value="false" {$UAM_CONFIRMMAIL_REMAIL_FALSE} name="UAM_ConfirmMail_Remail">
                   {'UAM_Disable'|@translate}</label>
-              <br>
                 <label for="UAM_ConfirmMail_Remail_true" ><input id="UAM_ConfirmMail_Remail_true" type="radio" value="true" {$UAM_CONFIRMMAIL_REMAIL_TRUE} name="UAM_ConfirmMail_Remail">
                   {'UAM_Enable'|@translate}</label>
-              
               </li>
             <a id="show_UAM_ConfirmMail" >{'UAM_Customize_messagesandmails'|translate}</a>
@@ -560,9 +517,6 @@
                     {'UAM_ConfirmMail_ReMail_Subject'|@translate}
                   </label>
-                
                   &nbsp;&nbsp;<textarea class="uam_textfields" name="UAM_ConfirmMail_Remail_Subject" id="UAM_ConfirmMail_Remail_Subject" rows="5" {$TAG_INPUT_ENABLED}>{$UAM_CONFIRMMAIL_REMAIL_SUBJECT}</textarea>
-                
                 </li>
-
                 <ul>
                   <li>
@@ -570,5 +524,4 @@
                       {'UAM_ConfirmMail_ReMail_Txt1'|@translate}
                     </label>
-                  
                   {if $UAM_ERROR_REPORTS3}
                     <textarea class="uam_textfields" name="UAM_ConfirmMail_ReMail_Txt1" id="UAM_ConfirmMail_ReMail_Txt1" rows="10" style="color: red" {$TAG_INPUT_ENABLED}>{$UAM_CONFIRMMAIL_REMAIL_TXT1}</textarea>
@@ -576,5 +529,4 @@
                     <textarea class="uam_textfields" name="UAM_ConfirmMail_ReMail_Txt1" id="UAM_ConfirmMail_ReMail_Txt1" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_CONFIRMMAIL_REMAIL_TXT1}</textarea>
                   {/if}
-                  
                   </li>
 <!--
@@ -585,10 +537,8 @@
                 {* /if *}
 -->
-
                   <li>
                     <label class="cluetip" title="{'UAM_remailtxt2Title'|translate}|{'UAM_remailtxt2Title_d'|translate}">
                       {'UAM_ConfirmMail_ReMail_Txt2'|@translate}
                     </label>
-                  
                   {if $UAM_ERROR_REPORTS4}
                     <textarea class="uam_textfields" name="UAM_ConfirmMail_ReMail_Txt2" id="UAM_ConfirmMail_ReMail_Txt2" rows="10" style="color: red" {$TAG_INPUT_ENABLED}>{$UAM_CONFIRMMAIL_REMAIL_TXT2}</textarea>
@@ -609,5 +559,4 @@
               </ul>
             </ul>
-
           <fieldset id="UAM_ConfirmMail_field" {if $UAM_CONFIRMMAIL_TIMEOUT_FALSE and $UAM_CONFIRMMAIL_REMAIL_FALSE}style="display:none"{/if}>
           <ul>
@@ -617,12 +566,11 @@
               </label>
             
-              <input type="radio" value="false" {$UAM_USRAUTO_FALSE} name="UAM_USRAuto">
+              <label for="UAM_USRAuto_false"><input id="UAM_USRAuto_false" value="false" {$UAM_USRAUTO_FALSE} name="UAM_USRAuto" type="radio">
                 {'UAM_Disable'|@translate}
-            <br>
-              <input type="radio" value="true" {$UAM_USRAUTO_TRUE} name="UAM_USRAuto">
+              </label>
+              <label for="UAM_USRAuto_true"><input id="UAM_USRAuto_true" value="true" {$UAM_USRAUTO_TRUE} name="UAM_USRAuto" type="radio">
                 {'UAM_Enable'|@translate}
-            
-            </li>
-
+              </label>
+            </li>
             <ul>
               <li>
@@ -630,7 +578,5 @@
                   {'UAM_USRAutoDel'|@translate}
                 </label>
-              
                 <textarea class="uam_textfields" name="UAM_USRAutoDelText" id="UAM_USRAutoDelText" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_USRAUTODEL_TEXT}</textarea>
-              
               {if 'FCK_PATH'|@defined}
                 <div style="text-align:right;">
@@ -639,16 +585,14 @@
               {/if}
               </li>
-
               <li>
                 <label class="cluetip" title="{'UAM_USRAutoMail'|translate}|{'UAM_USRAutoMailTitle_d'|translate}">
                   {'UAM_USRAutoMail'|@translate}
                 </label>
-              
-                <input type="radio" value="false" {$UAM_USRAUTOMAIL_FALSE} name="UAM_USRAutoMail">
+                <label for="UAM_USRAutoMail_false"><input id="UAM_USRAutoMail_false" value="false" {$UAM_USRAUTOMAIL_FALSE} name="UAM_USRAutoMail" type="radio">
                   {'UAM_Disable'|@translate}
-              <br>
-                <input type="radio" value="true" {$UAM_USRAUTOMAIL_TRUE} name="UAM_USRAutoMail">
+                </label>
+                <label for="UAM_USRAutoMail_true"><input id="UAM_USRAutoMail_true" value="true" {$UAM_USRAUTOMAIL_TRUE} name="UAM_USRAutoMail" type="radio">
                   {'UAM_Enable'|@translate}
-              <br>
+                </label>
               </li>
             </ul>
@@ -659,5 +603,4 @@
   </div>
 
-
   <div id="instructionConfig3" class="instructionBlock" >
 
@@ -672,151 +615,152 @@
               {'UAM_GhostTracker'|@translate}
             </label>
-          
-            <input type="radio" value="false" {$UAM_GHOSTRACKER_FALSE} name="UAM_GhostUser_Tracker">
+            <label for"UAM_GhostUser_Tracker_false">
+              <input id="UAM_GhostUser_Tracker_false" type="radio" value="false" {$UAM_GHOSTRACKER_FALSE} name="UAM_GhostUser_Tracker">
               {'UAM_Disable'|@translate}
-          <br>
-            <input type="radio" value="true" {$UAM_GHOSTRACKER_TRUE} name="UAM_GhostUser_Tracker">
+            </label>
+            <label for"UAM_GhostUser_Tracker_true">
+              <input id="UAM_GhostUser_Tracker_true" 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;">
+            </label>
           
           </li>
         </ul>
-        <a id="show_UAM_GTReminder" >{'UAM_Customize_messagesandmails'|translate}</a>
-        <a id="hide_UAM_GTReminder" style="display: none">{'hide details'|translate}</a>
-        <ul id="UAM_GTReminder" style="display: none">
-          <li>
-            <label class="cluetip" title="{'UAM_GTReminder_Subject'|translate}|{'UAM_GTReminder_Subject_d'|translate}">
-              {'UAM_GTReminder_Subject'|@translate}
-            </label>
-          
-            &nbsp;&nbsp;<textarea class="uam_textfields" name="UAM_GTReminder_Subject" id="UAM_GTReminder_Subject" rows="5" {$TAG_INPUT_ENABLED}>{$UAM_GTREMINDER_SUBJECT}</textarea>
-          
-          </li>
-          <li>
-            <label class="cluetip" title="{'UAM_GhostTracker_ReminderText'|translate}|{'UAM_gttextTitle_d'|translate}">
-              {'UAM_GhostTracker_ReminderText'|@translate}
-            </label>
-          
-            <textarea class="uam_textfields" name="UAM_GhostTracker_ReminderText" id="UAM_GhostTracker_ReminderText" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_GHOSTRACKER_REMINDERTEXT}</textarea>
-          
-          </li>
-<!--
-          {* if 'FCK_PATH'|@defined *}
-            <div style="text-align:right;">
-              <a href="#" onClick="toogleEditor('UAM_GhostTracker_ReminderText'); return false;">FCK Editor On/Off</a>
-            </div>
-          {* /if *}
--->
-
-        </ul>
-        <br><hr><br>
-        <ul>
-          <li>
-            <label class="cluetip" title="{'UAM_GTAuto'|translate}|{'UAM_GTAutoTitle_d'|translate}">
-              {'UAM_GTAuto'|@translate}
-            </label>
-          
-            <label for="UAM_GTAuto_false"><input id="UAM_GTAuto_false" type="radio" value="false" {$UAM_GTAUTO_FALSE} name="UAM_GTAuto">
-              {'UAM_Disable'|@translate}
-            </label>
-          <br>
-            <label for="UAM_GTAuto_true"><input id="UAM_GTAuto_true" type="radio" value="true" {$UAM_GTAUTO_TRUE} name="UAM_GTAuto">
-              {'UAM_Enable'|@translate}
-            </label>
-          
-          </li>
-            <ul id="UAM_GTAUTO" {if $UAM_GTAUTO_FALSE}style="display: none"{/if}>
-              <li>
-                <label class="cluetip" title="{'UAM_GTAutoDelTitle'|translate}|{'UAM_GTAutoDelTitle_d'|translate}">
-                  {'UAM_GTAutoDel'|@translate}
-                </label>
+        <div id="UAM_GHOSTRACKER_OPT" {if $UAM_GHOSTRACKER_FALSE}style="display: none"{/if}>
+          <a id="show_UAM_GTReminder" >{'UAM_Customize_messagesandmails'|translate}</a>
+          <a id="hide_UAM_GTReminder" style="display: none">{'hide details'|translate}</a>
+          <ul id="UAM_GTReminder" style="display: none">
+            <li>
+              <label class="cluetip" title="{'UAM_GTReminder_Subject'|translate}|{'UAM_GTReminder_Subject_d'|translate}">
+                {'UAM_GTReminder_Subject'|@translate}
+              </label>
+            
+              &nbsp;&nbsp;<textarea class="uam_textfields" name="UAM_GTReminder_Subject" id="UAM_GTReminder_Subject" rows="5" {$TAG_INPUT_ENABLED}>{$UAM_GTREMINDER_SUBJECT}</textarea>
+            
+            </li>
+            <li>
+              <label class="cluetip" title="{'UAM_GhostTracker_ReminderText'|translate}|{'UAM_gttextTitle_d'|translate}">
+                {'UAM_GhostTracker_ReminderText'|@translate}
+              </label>
+            
+              <textarea class="uam_textfields" name="UAM_GhostTracker_ReminderText" id="UAM_GhostTracker_ReminderText" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_GHOSTRACKER_REMINDERTEXT}</textarea>
+            
+            </li>
+  <!--
+            {* if 'FCK_PATH'|@defined *}
+              <div style="text-align:right;">
+                <a href="#" onClick="toogleEditor('UAM_GhostTracker_ReminderText'); return false;">FCK Editor On/Off</a>
+              </div>
+            {* /if *}
+  -->
+  
+          </ul>
+          <br><hr><br>
+          <ul>
+            <li>
+              <label class="cluetip" title="{'UAM_GTAuto'|translate}|{'UAM_GTAutoTitle_d'|translate}">
+                {'UAM_GTAuto'|@translate}
+              </label>
+            
+              <label for="UAM_GTAuto_false"><input id="UAM_GTAuto_false" type="radio" value="false" {$UAM_GTAUTO_FALSE} name="UAM_GTAuto">
+                {'UAM_Disable'|@translate}
               
-                  <textarea class="uam_textfields" name="UAM_GTAutoDelText" id="UAM_GTAutoDelText" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_GTAUTODEL_TEXT}</textarea>
-              
-                  
-              {if 'FCK_PATH'|@defined}
-                <div style="text-align:right;">
-                  <a href="#" onClick="toogleEditor('UAM_GTAutoDelText'); return false;">FCK Editor On/Off</a>
-                </div>
-              {/if}
-              </li>
-
-              <li>
-                <label class="cluetip" title="{'UAM_GTAutoGp'|translate}|{'UAM_GTAutoGpTitle_d'|translate}">
-                  {'UAM_GTAutoGp'|@translate}
-                </label>
-              
-                <ul>
-                  <li>
-                    <label>
-                      {'UAM_Expired_Group'|@translate}
-                    </label>
-                    <br>
+              <label for="UAM_GTAuto_true"><input id="UAM_GTAuto_true" type="radio" value="true" {$UAM_GTAUTO_TRUE} name="UAM_GTAuto">
+                {'UAM_Enable'|@translate}
+              </label>
+            
+            </li>
+              <ul id="UAM_GTAUTO" {if $UAM_GTAUTO_FALSE}style="display: none"{/if}>
+                <li>
+                  <label class="cluetip" title="{'UAM_GTAutoDelTitle'|translate}|{'UAM_GTAutoDelTitle_d'|translate}">
+                    {'UAM_GTAutoDel'|@translate}
+                  </label>
+                
+                    <textarea class="uam_textfields" name="UAM_GTAutoDelText" id="UAM_GTAutoDelText" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_GTAUTODEL_TEXT}</textarea>
+                
+                    
+                {if 'FCK_PATH'|@defined}
+                  <div style="text-align:right;">
+                    <a href="#" onClick="toogleEditor('UAM_GTAutoDelText'); return false;">FCK Editor On/Off</a>
+                  </div>
+                {/if}
+                </li>
+  
+                <li>
+                  <label class="cluetip" title="{'UAM_GTAutoGp'|translate}|{'UAM_GTAutoGpTitle_d'|translate}">
+                    {'UAM_GTAutoGp'|@translate}
+                  </label>
+                
+                  <ul>
+                    <li>
+                      <label>
+                        {'UAM_Expired_Group'|@translate}
+                      </label>
+                        <div class="uam_leftmargin">
+                          {html_options name="UAM_Downgrade_Group" options=$Downgrade_Group.group_options selected=$Downgrade_Group.group_selected}
+                        </div>
+                    
+                    </li>
+  
+                    <li>
+                      <label>
+                        {'UAM_Expired_Status'|@translate}
+                      </label>
                       <div class="uam_leftmargin">
-                        {html_options name="UAM_Downgrade_Group" options=$Downgrade_Group.group_options selected=$Downgrade_Group.group_selected}
+                        {html_options name="UAM_Downgrade_Status" options=$Downgrade_Status.Status_options selected=$Downgrade_Status.Status_selected}
                       </div>
-                  
-                  </li>
-
-                  <li>
-                    <label>
-                      {'UAM_Expired_Status'|@translate}
-                    </label>
-                  <br>
-                    <div class="uam_leftmargin">
-                      {html_options name="UAM_Downgrade_Status" options=$Downgrade_Status.Status_options selected=$Downgrade_Status.Status_selected}
-                    </div>
-                  
-                  </li>
-
-                  <li>
-                    <label>
-                      {'UAM_Expired_Level'|@translate}
-                    </label>
-                  <br>
-                    <div class="uam_leftmargin">
-                      {html_options name="UAM_Downgrade_Level" options=$Downgrade_Level.Level_options selected=$Downgrade_Level.Level_selected}
-                    </div>
-                  
-                  </li>
-                </ul>
-
-                <ul>
-                  <li>
-                    <label class="cluetip" title="{'UAM_GTAutoMail'|translate}|{'UAM_GTAutoMailTitle_d'|translate}">
-                      {'UAM_GTAutoMail'|@translate}
-                    </label>
-                  
-                    <input type="radio" value="false" {$UAM_GTAUTOMAIL_FALSE} name="UAM_GTAutoMail">
-                      {'UAM_Disable'|@translate}
-                  <br>
-                    <input type="radio" value="true" {$UAM_GTAUTOMAIL_TRUE} name="UAM_GTAutoMail">
-                      {'UAM_Enable'|@translate}
-                  
+                    
+                    </li>
+  
                     <li>
-                      <label class="cluetip" title="{'UAM_GTAutomail_Subject'|translate}|{'UAM_GTAutomail_Subject_d'|translate}">
-                        {'UAM_GTAutomail_Subject'|@translate}
+                      <label>
+                        {'UAM_Expired_Level'|@translate}
+                      </label>
+                      <div class="uam_leftmargin">
+                        {html_options name="UAM_Downgrade_Level" options=$Downgrade_Level.Level_options selected=$Downgrade_Level.Level_selected}
+                      </div>
+                    
+                    </li>
+                  </ul>
+  
+                  <ul>
+                    <li>
+                      <label class="cluetip" title="{'UAM_GTAutoMail'|translate}|{'UAM_GTAutoMailTitle_d'|translate}">
+                        {'UAM_GTAutoMail'|@translate}
                       </label>
                     
-                      &nbsp;&nbsp;<textarea class="uam_textfields" name="UAM_GTAutoMail_Subject" id="UAM_GTAutoMail_Subject" rows="5" {$TAG_INPUT_ENABLED}>{$UAM_GTAUTOMAIL_SUBJECT}</textarea>
+                      <label for="UAM_GTAutoMail_false"><input id="UAM_GTAutoMail_false" value="false" {$UAM_GTAUTOMAIL_FALSE} name="UAM_GTAutoMail" type="radio">
+                        {'UAM_Disable'|@translate}
+                      </label>
+                      <label for="UAM_GTAutoMail_true"><input id="UAM_GTAutoMail_true" value="true" {$UAM_GTAUTOMAIL_TRUE} name="UAM_GTAutoMail" type="radio">
+                        {'UAM_Enable'|@translate}
+                      </label>
                     
-                    </li>
-
-                    <ul>
                       <li>
-                        <label class="cluetip" title="{'UAM_GTAutomail_Text'|translate}|{'UAM_GTAutomail_Text_d'|translate}">
-                          {'UAM_GTAutomail_Text'|@translate}
+                        <label class="cluetip" title="{'UAM_GTAutomail_Subject'|translate}|{'UAM_GTAutomail_Subject_d'|translate}">
+                          {'UAM_GTAutomail_Subject'|@translate}
                         </label>
                       
-                        <textarea class="uam_textfields" name="UAM_GTAutoMailText" id="UAM_GTAutoMailText" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_GTAUTOMAILTEXT}</textarea>
+                        &nbsp;&nbsp;<textarea class="uam_textfields" name="UAM_GTAutoMail_Subject" id="UAM_GTAutoMail_Subject" rows="5" {$TAG_INPUT_ENABLED}>{$UAM_GTAUTOMAIL_SUBJECT}</textarea>
                       
                       </li>
-                    </ul>
-                  </li>
-                </ul>
-              </li>
+  
+                      <ul>
+                        <li>
+                          <label class="cluetip" title="{'UAM_GTAutomail_Text'|translate}|{'UAM_GTAutomail_Text_d'|translate}">
+                            {'UAM_GTAutomail_Text'|@translate}
+                          </label>
+                        
+                          <textarea class="uam_textfields" name="UAM_GTAutoMailText" id="UAM_GTAutoMailText" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_GTAUTOMAILTEXT}</textarea>
+                        
+                        </li>
+                      </ul>
+                    </li>
+                  </ul>
+                </li>
+              </ul>
             </ul>
           </ul>
-        </ul>
+        </div>
     </div>
   </div>
@@ -838,5 +782,4 @@
               {'UAM_Disable'|@translate}
             </label>
-          <br>
             <label for="UAM_Mail_Info_true"><input id="UAM_Mail_Info_true" type="radio" value="true" {$UAM_MAIL_INFO_TRUE} name="UAM_Mail_Info">
               {'UAM_Enable'|@translate}
@@ -851,13 +794,11 @@
                 {'UAM_HidePassw'|@translate}
               </label>
-            
-              <input type="radio" value="false" {$UAM_HIDEPASSW_FALSE} name="UAM_HidePassw">
+              <label for="UAM_HidePassw_false"><input id="UAM_HidePassw_false" value="false" {$UAM_HIDEPASSW_FALSE} name="UAM_HidePassw" type="radio">
                 {'UAM_Disable'|@translate}
-            <br>
-              <input type="radio" value="true" {$UAM_HIDEPASSW_TRUE} name="UAM_HidePassw">
+              </label>
+              <label for="UAM_HidePassw_true"><input id="UAM_HidePassw_true" value="true" {$UAM_HIDEPASSW_TRUE} name="UAM_HidePassw" type="radio">
                 {'UAM_Enable'|@translate}
-            
-            </li>
-            
+              </label>
+            </li>
             <li>
               <label class="cluetip" title="{'UAM_MailInfo_Subject'|translate}|{'UAM_MailInfo_Subject_d'|translate}">
@@ -894,12 +835,11 @@
             </label>
           
-            <input type="radio" value="false" {$UAM_ADDLASTVISIT_FALSE} name="UAM_Add_LastVisit_Column">
+            <label for="UAM_Add_LastVisit_Column_false"><input id="UAM_Add_LastVisit_Column_false" value="false" {$UAM_ADDLASTVISIT_FALSE} name="UAM_Add_LastVisit_Column" type="radio">
               {'UAM_Disable'|@translate}
-          <br>
-            <input type="radio" value="true" {$UAM_ADDLASTVISIT_TRUE} name="UAM_Add_LastVisit_Column">
+            </label>
+            <label for="UAM_Add_LastVisit_Column_true"><input id="UAM_Add_LastVisit_Column_true" value="true" {$UAM_ADDLASTVISIT_TRUE} name="UAM_Add_LastVisit_Column" type="radio">
               {'UAM_Enable'|@translate}
-          
+          </label>
           </li>
-
           <li>
             <label class="cluetip" title="{'UAM_RedirToProfile'|translate}|{'UAM_RedirTitle_d'|translate}">
@@ -907,9 +847,10 @@
             </label>
           
-            <input type="radio" value="false" {$UAM_REDIRTOPROFILE_FALSE} name="UAM_RedirToProfile">
+            <label for="UAM_RedirToProfile_false"><input id="UAM_RedirToProfile_false" value="false" {$UAM_REDIRTOPROFILE_FALSE} name="UAM_RedirToProfile" type="radio">
               {'UAM_Disable'|@translate}
-          <br>
-            <input type="radio" value="true" {$UAM_REDIRTOPROFILE_TRUE} name="UAM_RedirToProfile">
+            </label>
+            <label for="UAM_RedirToProfile_true"><input id="UAM_RedirToProfile_true" value="true" {$UAM_REDIRTOPROFILE_TRUE} name="UAM_RedirToProfile" type="radio">
               {'UAM_Enable'|@translate}
+            </label>
           
           </li>
@@ -920,9 +861,10 @@
             </label>
           
-            <input type="radio" value="false" {$UAM_PWDRESET_FALSE} name="UAM_PwdReset">
+            <label for="UAM_PwdReset_false"><input id="UAM_PwdReset_false" value="false" {$UAM_PWDRESET_FALSE} name="UAM_PwdReset" type="radio">
               {'UAM_Disable'|@translate}
-          <br>
-            <input type="radio" value="true" {$UAM_PWDRESET_TRUE} name="UAM_PwdReset">
+            </label>
+            <label for="UAM_PwdReset_true"><input id="UAM_PwdReset_true" value="true" {$UAM_PWDRESET_TRUE} name="UAM_PwdReset" type="radio">
               {'UAM_Enable'|@translate}
+            </label>
           
           </li>
@@ -934,10 +876,10 @@
             </label>
           
-            <input type="radio" value="false" {$UAM_CUSTOMPASSWRETR_FALSE} name="UAM_CustomPasswRetr">
+            <label for="UAM_CustomPasswRetr_false"><input id="UAM_CustomPasswRetr_false" value="false" {$UAM_CUSTOMPASSWRETR_FALSE} name="UAM_CustomPasswRetr" type="radio">
               {'UAM_Disable'|@translate}
-          <br>
-            <input type="radio" value="true" {$UAM_CUSTOMPASSWRETR_TRUE} name="UAM_CustomPasswRetr">
+</label>
+            <label for="UAM_CustomPasswRetr_true"><input id="UAM_CustomPasswRetr_true" value="true" {$UAM_CUSTOMPASSWRETR_TRUE} name="UAM_CustomPasswRetr" type="radio">
               {'UAM_Enable'|@translate}
-          <br>
+</label>
             <textarea class="uam_textfields" name="UAM_CustomPasswRetr_Text" id="UAM_CustomPasswRetr_Text" rows="10" {$TAG_INPUT_ENABLED}>{$UAM_CUSTOMPASSWRETR_TEXT}</textarea>
           
