source: extensions/NBC_UserAdvManager/trunk/admin/global.tpl @ 4927

Last change on this file since 4927 was 4927, checked in by Eric, 11 years ago

[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 !
  • Property svn:eol-style set to LF
File size: 17.5 KB
Line 
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
13<div class="titrePage">
14  <h2>{'Title_Tab'|@translate} {$UAM_VERSION}<br>{'SubTitle1'|@translate}</h2>
15</div>
16
17<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">
28  <fieldset>
29    <ul>
30        <li><label class="cluetip" title="{'UAM_casenTitle'|translate}|{'UAM_casenTitle_d'|translate}">{'UserAdvManager_No_Casse'|@translate}</label><br><br>
31        <input type="radio" value="false" {$UserAdvManager_NO_CASSE_FALSE} name="UserAdvManager_No_Casse">{'UserAdvManager_No_Casse_false'|@translate}<br>
32        <input type="radio" value="true" {$UserAdvManager_NO_CASSE_TRUE} name="UserAdvManager_No_Casse">{'UserAdvManager_No_Casse_true'|@translate}<br><br>
33                </li>
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>
37        <input type="radio" value="true" {$UserAdvManager_USERNAME_CHAR_TRUE} name="UserAdvManager_Username_Char">{'UserAdvManager_Username_Char_true'|@translate}
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>
39        </li>
40     
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;
47        {'UserAdvManager_ScoreTest'|@translate}{$UserAdvManager_PASSWORD_TEST_SCORE}<br><br>
48        </li>
49
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>
60        </li>
61
62{if $UserAdvManager_MAILEXCLUSION_TRUE}
63  {if $UserAdvManager_ERROR_REPORTS4}     
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>
229{if $UserAdvManager_GHOSTRACKER_TRUE}
230        <div style="text-align: left; color: green;"><b>{'UserAdvManager_GhostTracker_Notice'|@translate}</b></div>
231        <br>
232{/if}
233        <br>
234        <ul>
235{if $UserAdvManager_GHOSTRACKER_TRUE}
236  {if $UserAdvManager_ERROR_REPORTS3}
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>
267</form>
Note: See TracBrowser for help on using the repository browser.