1 | {known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"} |
---|
2 | {known_script id="jquery.cluetip" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.cluetip.packed.js"} |
---|
3 | {known_script id="jquery.tablesorter" src=$LCAS_PATH|@cat:"admin/template/js/jquery.tablesorter.js"} |
---|
4 | {known_script id="jquery.tablesorter.pager" src=$LCAS_PATH|@cat:"admin/template/js/jquery.tablesorter.pager.js"} |
---|
5 | |
---|
6 | {html_head}<link rel="stylesheet" type="text/css" href="{$LCAS_PATH}admin/template/lcas.css">{/html_head} |
---|
7 | |
---|
8 | <script type="text/javascript"> |
---|
9 | jQuery().ready(function() |
---|
10 | {ldelim} |
---|
11 | jQuery('.cluetip').cluetip( |
---|
12 | {ldelim} |
---|
13 | width: 550, |
---|
14 | splitTitle: '|' |
---|
15 | {rdelim}); |
---|
16 | {rdelim}); |
---|
17 | |
---|
18 | function LCAS_blockToggleDisplay( headerId, contentId ) |
---|
19 | {ldelim} |
---|
20 | if (typeof(headerId)=='string') |
---|
21 | {ldelim} |
---|
22 | if ( headerId.length> 1) |
---|
23 | blockToggleDisplay(headerId, contentId) ; |
---|
24 | document.getElementById("nb_para").value =headerId ; |
---|
25 | document.getElementById("nb_para2").value =contentId; |
---|
26 | {rdelim} |
---|
27 | {rdelim} |
---|
28 | $(document).ready(function() |
---|
29 | {ldelim} |
---|
30 | $("#sorting") |
---|
31 | .tablesorter({ldelim}sortList:[[3,0]], headers: {ldelim} 1: {ldelim} sorter: false {rdelim}, 4: {ldelim} sorter: false {rdelim}, 5: {ldelim} sorter: false {rdelim} {rdelim} {rdelim}) |
---|
32 | .tablesorterPager({ldelim}container: $("#pager"), positionFixed: false, size: 20, totalPages: 0{rdelim}); |
---|
33 | {rdelim} |
---|
34 | ); |
---|
35 | function UpdateAUser(UserId) {ldelim} |
---|
36 | document.UserList.UserToUpdate.value=UserId;document.UserList.submit(); |
---|
37 | {rdelim} |
---|
38 | </script> |
---|
39 | |
---|
40 | <div class="titrePage"> |
---|
41 | <h2>{'LCAS_Title_Tab'|@translate} {$LCAS_VERSION}<br>{'LCAS_SubTitle_Global'|@translate}</h2> |
---|
42 | </div> |
---|
43 | |
---|
44 | <form method="post" action="" class="general"> |
---|
45 | |
---|
46 | <input name="nb_para" id="nb_para" type="text" value="{$nb_para}" style="display:none"> |
---|
47 | <input name="nb_para2" id="nb_para2" type="text" value="{$nb_para2}" style="display:none"> |
---|
48 | |
---|
49 | <div id="instructionConfig2" class="instructionBlock" > |
---|
50 | |
---|
51 | <div id="config2_header" class="instructionBlockHeader"> |
---|
52 | <span class="cluetip" title="{'LCAS_sensitiveTitle'|translate}|{'LCAS_sensitiveTitle_d'|translate}"> |
---|
53 | {'LCAS_Title_Global'|@translate} |
---|
54 | </span> |
---|
55 | </div> |
---|
56 | |
---|
57 | <div id="Config2" class="instructionBlockContent" style="display:block"> |
---|
58 | <fieldset> |
---|
59 | <ul> |
---|
60 | <li> |
---|
61 | <label class="cluetip" title="{'LCAS_caseSensitiveTitle'|translate}|{'LCAS_caseSensitiveTitle_d'|translate}"> |
---|
62 | {'LCAS_Case_Sensitive'|@translate} |
---|
63 | </label> |
---|
64 | <br><br> |
---|
65 | <input type="radio" value="false" {$LCAS_Case_Sensitive_FALSE} name="LCAS_Case_Sensitive"> |
---|
66 | {'LCAS_DisableOption'|@translate}<br> |
---|
67 | <input type="radio" value="true" {$LCAS_Case_Sensitive_TRUE} name="LCAS_Case_Sensitive"> |
---|
68 | {'LCAS_EnableOption'|@translate} |
---|
69 | <br><br> |
---|
70 | </li> |
---|
71 | |
---|
72 | <li> |
---|
73 | <label class="cluetip" title="{'LCAS_accentSensitiveTitle'|translate}|{'LCAS_accentSensitiveTitle_d'|translate}"> |
---|
74 | {'LCAS_Accent_Sensitive'|@translate} |
---|
75 | </label> |
---|
76 | <br><br> |
---|
77 | <input type="radio" value="false" {$LCAS_Accent_Sensitive_FALSE} name="LCAS_Accent_Sensitive"> |
---|
78 | {'LCAS_DisableOption'|@translate}<br> |
---|
79 | <input type="radio" value="true" {$LCAS_Accent_Sensitive_TRUE} name="LCAS_Accent_Sensitive"> |
---|
80 | {'LCAS_EnableOption'|@translate}<br> |
---|
81 | <br><br> |
---|
82 | </li> |
---|
83 | |
---|
84 | <li> |
---|
85 | <label class="cluetip" title="{'LCAS_MailTitle'|translate}|{'LCAS_MailTitle_d'|translate}"> |
---|
86 | {'LCAS_Mail'|@translate} |
---|
87 | </label> |
---|
88 | <br><br> |
---|
89 | <input type="radio" value="false" {$LCAS_MAIL_FALSE} name="LCAS_Mail"> |
---|
90 | {'LCAS_DisableOption'|@translate}<br> |
---|
91 | <input type="radio" value="true" {$LCAS_MAIL_TRUE} name="LCAS_Mail"> |
---|
92 | {'LCAS_EnableOption'|@translate}<br> |
---|
93 | <br><br> |
---|
94 | |
---|
95 | <ul> |
---|
96 | <li> |
---|
97 | <label class="cluetip" title="{'LCAS_Email_Customization'|translate}|{'LCAS_Email_Customization_d'|translate}"> |
---|
98 | {'LCAS_MailText'|@translate} |
---|
99 | </label> |
---|
100 | <br><br> |
---|
101 | <textarea class="LCAS_Mailtextfields" name="LCAS_MailText" id="LCAS_MailText" rows="10" {$TAG_INPUT_ENABLED}>{$LCAS_MAILTEXT}</textarea> |
---|
102 | <br><br> |
---|
103 | </li> |
---|
104 | </ul> |
---|
105 | </li> |
---|
106 | </ul> |
---|
107 | </fieldset> |
---|
108 | <div style="text-align: center;"><input class="submit" type="submit" value="{'submit'|@translate}" name="submit" {$TAG_INPUT_ENABLED}></div> |
---|
109 | </div> |
---|
110 | </div> |
---|
111 | |
---|
112 | </form> |
---|
113 | |
---|
114 | <br><br> |
---|
115 | <div id="currentPWGConfig" class="instructionBlock" > |
---|
116 | |
---|
117 | <div id="currentPWGConfig_header" class="instructionBlockHeader"> |
---|
118 | <span class="cluetip" title="{'LCAS_currentPWGConfigTitle'|translate}|{'LCAS_currentPWGConfigTitle_d'|translate}"> |
---|
119 | {'LCAS_currentPWGConfigHeader'|@translate} |
---|
120 | </span> |
---|
121 | </div> |
---|
122 | |
---|
123 | <div id="Config2" class="instructionBlockContent" style="display:block"> |
---|
124 | <fieldset> |
---|
125 | <ul> |
---|
126 | <li> |
---|
127 | <label class="cluetip" title="{'LCAS_currentPWGConfig'|translate}|{'LCAS_currentPWGConfig_d'|translate}"> |
---|
128 | $conf['insensitive_case_logon'] = |
---|
129 | {if $PWG_insensitive_case_logon == 'true'} |
---|
130 | <span style="color: green;">{$PWG_insensitive_case_logon}</span>; |
---|
131 | {else} |
---|
132 | <span style="color: red;">{$PWG_insensitive_case_logon}</span>; |
---|
133 | {/if} |
---|
134 | </label> |
---|
135 | <br><br> |
---|
136 | </li> |
---|
137 | </ul> |
---|
138 | </fieldset> |
---|
139 | </div> |
---|
140 | </div> |
---|
141 | |
---|
142 | <br><br> |
---|
143 | |
---|
144 | <div id="usersToBeUpdated" class="instructionBlock" > |
---|
145 | |
---|
146 | <div id="usersToBeUpdated_header" class="instructionBlockHeader"> |
---|
147 | <span class="cluetip" title="{'LCAS_userlistTitle'|translate}|{'LCAS_userlistTitle_d'|translate}"> |
---|
148 | {'LCAS_UserList_Title'|@translate} |
---|
149 | </span> |
---|
150 | </div> |
---|
151 | <div id="Config2" class="instructionBlockContent" style="display:block"> |
---|
152 | <fieldset> |
---|
153 | <form method="post" name="UserList" id="UserList" action="" class="general"> |
---|
154 | <input type="hidden" id="UserToUpdate" name="UserToUpdate" value="-1"> |
---|
155 | {if count($users) > 0} |
---|
156 | <table id="sorting" class="table2" width="97%" summary=""> |
---|
157 | <thead> |
---|
158 | <tr class="throw"> |
---|
159 | <th>{'Username'|@translate}</th> |
---|
160 | <th>{'Profile'|@translate}</th> |
---|
161 | <th>{'Email address'|@translate}</th> |
---|
162 | <th>{'LCAS_Compare_value_h'|@translate}</th> |
---|
163 | <th>{'LCAS_Update_h'|@translate}</th> |
---|
164 | </tr> |
---|
165 | </thead> |
---|
166 | <tbody> |
---|
167 | {foreach from=$users item=user name=users_loop} |
---|
168 | <tr class="{if $smarty.foreach.users_loop.index is odd}row1{else}row2{/if}"> |
---|
169 | <td><input class="LCAS_textfields" type="text" name="user-{$user.ID}" id="user-{$user.ID}" value="{$user.USERNAME}"></td> |
---|
170 | <td style="text-align:center;"><a href="./admin.php?page=profile&user_id={$user.ID}" title="{'Profile'|@translate}" onclick="window.open(this.href); return false;"><img src="{$LCAS_PATH}admin/template/icon/edit_s.png"></a></td> |
---|
171 | <td>{$user.EMAIL}</td> |
---|
172 | {if $user.DISPLAY == 'orange'} |
---|
173 | <td style="color:orange;text-align:center;">{$user.COMPARE}</td> |
---|
174 | {else} |
---|
175 | <td style="text-align:center;">{$user.COMPARE}</td> |
---|
176 | {/if} |
---|
177 | <td style="text-align:center;"><a href="javascript:UpdateAUser({$user.ID});">{'LCAS_Update_User'|@translate}</a></td> |
---|
178 | {foreach from=$user.plugin_columns item=data} |
---|
179 | <td>{$data}</td> |
---|
180 | {/foreach} |
---|
181 | </tr> |
---|
182 | {/foreach} |
---|
183 | </tbody> |
---|
184 | </table> |
---|
185 | <div id="pager" class="pager"> |
---|
186 | <form> |
---|
187 | <img src="{$LCAS_PATH}admin/template/icon/first.png" class="first"> |
---|
188 | <img src="{$LCAS_PATH}admin/template/icon/prev.png" class="prev"> |
---|
189 | <input type="text" class="pagedisplay"> |
---|
190 | <img src="{$LCAS_PATH}admin/template/icon/next.png" class="next"> |
---|
191 | <img src="{$LCAS_PATH}admin/template/icon/last.png" class="last"> |
---|
192 | <select class="pagesize"> |
---|
193 | <option value="10">10</option> |
---|
194 | <option selected="selected" value="20">20</option> |
---|
195 | <option value="30">30</option> |
---|
196 | <option value="40">40</option> |
---|
197 | </select> |
---|
198 | </form> |
---|
199 | </div> |
---|
200 | <br> |
---|
201 | {else} |
---|
202 | <div> |
---|
203 | {'LCAS_No_User'|@translate} |
---|
204 | </div> |
---|
205 | {/if} |
---|
206 | </form> |
---|
207 | </fieldset> |
---|
208 | |
---|
209 | </div> |
---|
210 | </div> |
---|
211 | |
---|
212 | <br><br> |
---|
213 | |
---|
214 | <div id="PluginSupport" class="instructionBlock" > |
---|
215 | <div id="PluginSupport_header" class="instructionBlockHeader"> |
---|
216 | <span> |
---|
217 | {'LCAS_PluginSupport'|@translate} |
---|
218 | </span> |
---|
219 | </div> |
---|
220 | <div id="Config2" class="instructionBlockContent" style="display:block"> |
---|
221 | <fieldset> |
---|
222 | {'LCAS_Support_txt'|@translate} |
---|
223 | </fieldset> |
---|
224 | </div> |
---|
225 | </div> |
---|
226 | |
---|
227 | <script type="text/javascript"> |
---|
228 | var n1=document.getElementById("nb_para").value; |
---|
229 | var n2=document.getElementById("nb_para2").value; |
---|
230 | LCAS_blockToggleDisplay(n1,n2); |
---|
231 | </script> |
---|