[8141] | 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"} |
---|
[8181] | 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"} |
---|
[8141] | 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} |
---|
[8181] | 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} |
---|
[8141] | 38 | </script> |
---|
| 39 | |
---|
| 40 | <div class="titrePage"> |
---|
[8147] | 41 | <h2>{'LCAS_Title_Tab'|@translate} {$LCAS_VERSION}<br>{'LCAS_SubTitle_Global'|@translate}</h2> |
---|
[8141] | 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"> |
---|
[8147] | 52 | <span class="cluetip" title="{'LCAS_sensitiveTitle'|translate}|{'LCAS_sensitiveTitle_d'|translate}"> |
---|
| 53 | {'LCAS_Title_Global'|@translate} |
---|
[8141] | 54 | </span> |
---|
| 55 | </div> |
---|
| 56 | |
---|
| 57 | <div id="Config2" class="instructionBlockContent" style="display:block"> |
---|
| 58 | <fieldset> |
---|
| 59 | <ul> |
---|
| 60 | <li> |
---|
[8147] | 61 | <label class="cluetip" title="{'LCAS_caseSensitiveTitle'|translate}|{'LCAS_caseSensitiveTitle_d'|translate}"> |
---|
| 62 | {'LCAS_Case_Sensitive'|@translate} |
---|
[8141] | 63 | </label> |
---|
| 64 | <br><br> |
---|
[8147] | 65 | <input type="radio" value="false" {$LCAS_Case_Sensitive_FALSE} name="LCAS_Case_Sensitive"> |
---|
| 66 | {'LCAS_Case_Sensitive_false'|@translate}<br> |
---|
| 67 | <input type="radio" value="true" {$LCAS_Case_Sensitive_TRUE} name="LCAS_Case_Sensitive"> |
---|
| 68 | {'LCAS_Case_Sensitive_true'|@translate} |
---|
[8141] | 69 | <br><br> |
---|
| 70 | </li> |
---|
| 71 | |
---|
| 72 | <li> |
---|
[8147] | 73 | <label class="cluetip" title="{'LCAS_accentSensitiveTitle'|translate}|{'LCAS_accentSensitiveTitle_d'|translate}"> |
---|
| 74 | {'LCAS_Accent_Sensitive'|@translate} |
---|
[8141] | 75 | </label> |
---|
| 76 | <br><br> |
---|
[8147] | 77 | <input type="radio" value="false" {$LCAS_Accent_Sensitive_FALSE} name="LCAS_Accent_Sensitive"> |
---|
| 78 | {'LCAS_Accent_Sensitive_false'|@translate}<br> |
---|
| 79 | <input type="radio" value="true" {$LCAS_Accent_Sensitive_TRUE} name="LCAS_Accent_Sensitive"> |
---|
| 80 | {'LCAS_Accent_Sensitive_true'|@translate}<br> |
---|
[8141] | 81 | <br><br> |
---|
| 82 | </li> |
---|
| 83 | |
---|
[8257] | 84 | <li> |
---|
| 85 | <label class="cluetip" title="{'LCAS_Email_Customization'|translate}|{'LCAS_Email_Customization_d'|translate}"> |
---|
| 86 | {'LCAS_MailText'|@translate} |
---|
| 87 | </label> |
---|
| 88 | <br><br> |
---|
| 89 | <textarea class="LCAS_Mailtextfields" name="LCAS_MailText" id="LCAS_MailText" rows="10" {$TAG_INPUT_ENABLED}>{$LCAS_MAILTEXT}</textarea> |
---|
| 90 | <br><br> |
---|
| 91 | </li> |
---|
[8141] | 92 | </ul> |
---|
| 93 | </fieldset> |
---|
[8181] | 94 | <div style="text-align: center;"><input class="submit" type="submit" value="{'submit'|@translate}" name="submit" {$TAG_INPUT_ENABLED}></div> |
---|
[8141] | 95 | </div> |
---|
| 96 | </div> |
---|
| 97 | |
---|
| 98 | </form> |
---|
| 99 | |
---|
[8256] | 100 | <br><br> |
---|
[8257] | 101 | <div id="currentPWGConfig" class="instructionBlock" > |
---|
[8141] | 102 | |
---|
[8257] | 103 | <div id="currentPWGConfig_header" class="instructionBlockHeader"> |
---|
| 104 | <span class="cluetip" title="{'LCAS_currentPWGConfigTitle'|translate}|{'LCAS_currentPWGConfigTitle_d'|translate}"> |
---|
| 105 | {'LCAS_currentPWGConfigHeader'|@translate} |
---|
| 106 | </span> |
---|
| 107 | </div> |
---|
| 108 | |
---|
| 109 | <div id="Config2" class="instructionBlockContent" style="display:block"> |
---|
| 110 | <fieldset> |
---|
| 111 | <ul> |
---|
| 112 | <li> |
---|
| 113 | <label class="cluetip" title="{'LCAS_currentPWGConfig'|translate}|{'LCAS_currentPWGConfig_d'|translate}"> |
---|
| 114 | $conf['insensitive_case_logon'] = |
---|
| 115 | {if $PWG_insensitive_case_logon == 'true'} |
---|
| 116 | <span style="color: green;">{$PWG_insensitive_case_logon}</span>; |
---|
| 117 | {else} |
---|
| 118 | <span style="color: red;">{$PWG_insensitive_case_logon}</span>; |
---|
| 119 | {/if} |
---|
| 120 | </label> |
---|
| 121 | <br><br> |
---|
| 122 | </li> |
---|
| 123 | </ul> |
---|
| 124 | </fieldset> |
---|
| 125 | </div> |
---|
| 126 | </div> |
---|
| 127 | |
---|
| 128 | <br><br> |
---|
| 129 | |
---|
[8181] | 130 | <div id="usersToBeUpdated" class="instructionBlock" > |
---|
| 131 | |
---|
| 132 | <div id="usersToBeUpdated_header" class="instructionBlockHeader"> |
---|
| 133 | <span class="cluetip" title="{'LCAS_userlistTitle'|translate}|{'LCAS_userlistTitle_d'|translate}"> |
---|
| 134 | {'LCAS_UserList_Title'|@translate} |
---|
| 135 | </span> |
---|
| 136 | </div> |
---|
| 137 | <div id="Config2" class="instructionBlockContent" style="display:block"> |
---|
| 138 | <fieldset> |
---|
| 139 | <form method="post" name="UserList" id="UserList" action="" class="general"> |
---|
[8256] | 140 | <input type="hidden" id="UserToUpdate" name="UserToUpdate" value="-1"> |
---|
[8181] | 141 | {if count($users) > 0} |
---|
| 142 | <table id="sorting" class="table2" width="97%" summary=""> |
---|
| 143 | <thead> |
---|
| 144 | <tr class="throw"> |
---|
| 145 | <th>{'Username'|@translate}</th> |
---|
| 146 | <th>{'Profile'|@translate}</th> |
---|
| 147 | <th>{'Email address'|@translate}</th> |
---|
| 148 | <th>{'LCAS_Compare_value_h'|@translate}</th> |
---|
| 149 | <th>{'LCAS_Update_h'|@translate}</th> |
---|
| 150 | <th>{'LCAS_Notify_h'|@translate}</th> |
---|
| 151 | </tr> |
---|
| 152 | </thead> |
---|
| 153 | <tbody> |
---|
| 154 | {foreach from=$users item=user name=users_loop} |
---|
| 155 | <tr class="{if $smarty.foreach.users_loop.index is odd}row1{else}row2{/if}"> |
---|
[8256] | 156 | <td><input class="LCAS_textfields" type="text" name="user-{$user.ID}" id="user-{$user.ID}" value="{$user.USERNAME}"></td> |
---|
[8181] | 157 | <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> |
---|
| 158 | <td>{$user.EMAIL}</td> |
---|
| 159 | {if $user.DISPLAY == 'orange'} |
---|
| 160 | <td style="color:orange;text-align:center;">{$user.COMPARE}</td> |
---|
| 161 | {else} |
---|
| 162 | <td style="text-align:center;">{$user.COMPARE}</td> |
---|
| 163 | {/if} |
---|
| 164 | <td style="text-align:center;"><a href="javascript:UpdateAUser({$user.ID});">{'LCAS_Update_User'|@translate}</a></td> |
---|
| 165 | <td style="text-align:center;"><a href="javascript:alert('to do - {$user.ID}');">{'LCAS_Send_Email'|@translate}</a></td> |
---|
| 166 | {foreach from=$user.plugin_columns item=data} |
---|
| 167 | <td>{$data}</td> |
---|
| 168 | {/foreach} |
---|
| 169 | </tr> |
---|
| 170 | {/foreach} |
---|
| 171 | </tbody> |
---|
| 172 | </table> |
---|
| 173 | <div id="pager" class="pager"> |
---|
| 174 | <form> |
---|
| 175 | <img src="{$LCAS_PATH}admin/template/icon/first.png" class="first"> |
---|
| 176 | <img src="{$LCAS_PATH}admin/template/icon/prev.png" class="prev"> |
---|
| 177 | <input type="text" class="pagedisplay"> |
---|
| 178 | <img src="{$LCAS_PATH}admin/template/icon/next.png" class="next"> |
---|
| 179 | <img src="{$LCAS_PATH}admin/template/icon/last.png" class="last"> |
---|
| 180 | <select class="pagesize"> |
---|
| 181 | <option value="10">10</option> |
---|
| 182 | <option selected="selected" value="20">20</option> |
---|
| 183 | <option value="30">30</option> |
---|
| 184 | <option value="40">40</option> |
---|
| 185 | </select> |
---|
| 186 | </form> |
---|
| 187 | </div> |
---|
| 188 | <br> |
---|
| 189 | {else} |
---|
| 190 | <div> |
---|
| 191 | {'LCAS_No_User'|@translate} |
---|
| 192 | </div> |
---|
| 193 | {/if} |
---|
| 194 | </form> |
---|
| 195 | </fieldset> |
---|
| 196 | |
---|
| 197 | </div> |
---|
| 198 | </div> |
---|
[8257] | 199 | |
---|
[8256] | 200 | <br><br> |
---|
[8181] | 201 | |
---|
[8257] | 202 | <div id="PluginSupport" class="instructionBlock" > |
---|
| 203 | <div id="PluginSupport_header" class="instructionBlockHeader"> |
---|
| 204 | <span> |
---|
| 205 | {'LCAS_PluginSupport'|@translate} |
---|
[8181] | 206 | </span> |
---|
| 207 | </div> |
---|
| 208 | <div id="Config2" class="instructionBlockContent" style="display:block"> |
---|
| 209 | <fieldset> |
---|
[8257] | 210 | {'LCAS_Support_txt'|@translate} |
---|
[8181] | 211 | </fieldset> |
---|
[8148] | 212 | </div> |
---|
[8181] | 213 | </div> |
---|
[8148] | 214 | |
---|
[8141] | 215 | <script type="text/javascript"> |
---|
| 216 | var n1=document.getElementById("nb_para").value; |
---|
| 217 | var n2=document.getElementById("nb_para2").value; |
---|
| 218 | LCAS_blockToggleDisplay(n1,n2); |
---|
| 219 | </script> |
---|