[27127] | 1 | {html_head} |
---|
| 2 | {include file= $LCAS_PATH_ABS|@cat:'template/header22.tpl'} |
---|
| 3 | {/html_head} |
---|
| 4 | |
---|
| 5 | <script type="text/javascript"> |
---|
| 6 | var Personalized_not_allowed = {if $Personalized_not_allowed}true{else}false{/if}; |
---|
| 7 | {literal} |
---|
| 8 | jQuery().ready(function(){ |
---|
| 9 | jQuery('.cluetip').cluetip( |
---|
| 10 | { |
---|
| 11 | width: 550, |
---|
| 12 | splitTitle: '|' |
---|
| 13 | }); |
---|
| 14 | }); |
---|
| 15 | |
---|
| 16 | function LCAS_blockToggleDisplay( headerId, contentId ) |
---|
| 17 | { |
---|
| 18 | if (typeof(headerId)=='string') |
---|
| 19 | { |
---|
| 20 | if ( headerId.length> 1) |
---|
| 21 | blockToggleDisplay(headerId, contentId) ; |
---|
| 22 | document.getElementById("nb_para").value =headerId ; |
---|
| 23 | document.getElementById("nb_para2").value =contentId; |
---|
| 24 | } |
---|
| 25 | } |
---|
| 26 | jQuery(document).ready(function() |
---|
| 27 | { |
---|
| 28 | jQuery("#sorting") |
---|
| 29 | .tablesorter({sortList:[[3,0]], headers: { 1: { sorter: false }, 4: { sorter: false }, 5: { sorter: false } } }) |
---|
| 30 | .tablesorterPager({container: jQuery("#pager"), positionFixed: false, size: 20, totalPages: 0}); |
---|
| 31 | if (Personalized_not_allowed) { |
---|
| 32 | jQuery('#LCAS_id_Option0').attr('disabled', 'disabled'); |
---|
| 33 | jQuery('#LCAS_id_Opt0').attr("title", "{/literal}{'Personalized not allowed tooltip'|@translate}{literal}"); |
---|
| 34 | } |
---|
| 35 | } |
---|
| 36 | ); |
---|
| 37 | function UpdateAUser(UserId) { |
---|
| 38 | document.UserList.UserToUpdate.value=UserId;document.UserList.submit(); |
---|
| 39 | } |
---|
| 40 | {/literal} |
---|
| 41 | </script> |
---|
| 42 | |
---|
| 43 | <div class="titrePage"> |
---|
| 44 | <h2>{'LCAS_Title_Tab'|@translate} {$LCAS_VERSION}<br>{'LCAS_SubTitle_Global'|@translate}</h2> |
---|
| 45 | </div> |
---|
| 46 | |
---|
| 47 | <form method="post" action="" class="general"> |
---|
| 48 | |
---|
| 49 | <input name="nb_para" id="nb_para" type="text" value="{$nb_para}" style="display:none"> |
---|
| 50 | <input name="nb_para2" id="nb_para2" type="text" value="{$nb_para2}" style="display:none"> |
---|
| 51 | |
---|
| 52 | <div id="instructionConfig2" class="instructionBlock" > |
---|
| 53 | |
---|
| 54 | <div id="config2_header" class="instructionBlockHeader"> |
---|
| 55 | <span class="cluetip" title="{'LCAS_sensitiveTitle'|translate}|{'LCAS_sensitiveTitle_d'|translate}"> |
---|
| 56 | {'LCAS_Title_Global'|@translate} |
---|
| 57 | </span> |
---|
| 58 | </div> |
---|
| 59 | |
---|
| 60 | <div id="Config2" class="instructionBlockContent" style="display:block"> |
---|
| 61 | <fieldset> |
---|
| 62 | <ul> |
---|
| 63 | <li> |
---|
| 64 | <label class="cluetip" title="{'LCAS_caseSensitiveTitle'|translate}|{'LCAS_caseSensitiveTitle_d'|translate}"> |
---|
| 65 | {'LCAS option'|@translate} |
---|
| 66 | </label> |
---|
| 67 | <br><br> |
---|
| 68 | <label for = "LCAS_id_Option0" id ="LCAS_id_Opt0"> |
---|
| 69 | <input type="radio" value="0" {if $LCAS_Option == '0'}checked="checked"{/if} id="LCAS_id_Option0" name="LCAS_Option"> |
---|
| 70 | {'LCAS_Option0'|@translate}<br> |
---|
| 71 | </label> |
---|
| 72 | <label for = "LCAS_id_Option1" id ="LCAS_id_Opt1"> |
---|
| 73 | <input type="radio" value="1" {if $LCAS_Option == '1'}checked="checked"{/if} id="LCAS_id_Option1" name="LCAS_Option"> |
---|
| 74 | {'LCAS_Option1'|@translate}<br> |
---|
| 75 | </label> |
---|
| 76 | <label for = "LCAS_id_Option2" id ="LCAS_id_Opt2"> |
---|
| 77 | <input type="radio" value="2" {if $LCAS_Option == '2'}checked="checked"{/if} id="LCAS_id_Option2" name="LCAS_Option"> |
---|
| 78 | {'LCAS_Option2'|@translate}<br> |
---|
| 79 | </label> |
---|
| 80 | <label for = "LCAS_id_Option3" id ="LCAS_id_Opt3"> |
---|
| 81 | <input type="radio" value="3" {if $LCAS_Option == '3'}checked="checked"{/if} id="LCAS_id_Option3" name="LCAS_Option"> |
---|
| 82 | {'LCAS_Option3'|@translate}<br> |
---|
| 83 | </label> |
---|
| 84 | {* <!-- Shall be implemented later |
---|
| 85 | <label for = "LCAS_id_Option4" id ="LCAS_id_Opt4"> |
---|
| 86 | <input type="radio" value="4" {if $LCAS_Option == '4'}checked="checked"{/if} id="LCAS_id_Option4" name="LCAS_Option"> |
---|
| 87 | {'LCAS_Option4'|@translate}<br>{if $Personalized_not_allowed}{'Personalized not allowed explanation'|@translate}{/if}<br> |
---|
| 88 | </label> |
---|
| 89 | --> *} |
---|
| 90 | <br><br> |
---|
| 91 | </li> |
---|
| 92 | |
---|
| 93 | <li> |
---|
| 94 | <label class="cluetip" title="{'LCAS_MailTitle'|translate}|{'LCAS_MailTitle_d'|translate}"> |
---|
| 95 | {'LCAS_Mail'|@translate} |
---|
| 96 | </label> |
---|
| 97 | <br><br> |
---|
| 98 | <input type="radio" value="false" {$LCAS_MAIL_FALSE} name="LCAS_Mail"> |
---|
| 99 | {'LCAS_DisableOption'|@translate}<br> |
---|
| 100 | <input type="radio" value="true" {$LCAS_MAIL_TRUE} name="LCAS_Mail"> |
---|
| 101 | {'LCAS_EnableOption'|@translate}<br> |
---|
| 102 | <br><br> |
---|
| 103 | |
---|
| 104 | <ul> |
---|
| 105 | <li> |
---|
| 106 | <label class="cluetip" title="{'LCAS_Email_Customization'|translate}|{'LCAS_Email_Customization_d'|translate}"> |
---|
| 107 | {'LCAS_MailText'|@translate} |
---|
| 108 | </label> |
---|
| 109 | <br><br> |
---|
| 110 | <textarea class="LCAS_Mailtextfields" name="LCAS_MailText" id="LCAS_MailText" rows="10" {$TAG_INPUT_ENABLED}>{$LCAS_MAILTEXT}</textarea> |
---|
| 111 | <br><br> |
---|
| 112 | </li> |
---|
| 113 | </ul> |
---|
| 114 | </li> |
---|
| 115 | </ul> |
---|
| 116 | </fieldset> |
---|
| 117 | <div style="text-align: center;"><input class="submit" type="submit" value="{'submit'|@translate}" name="submit" {$TAG_INPUT_ENABLED}></div> |
---|
| 118 | </div> |
---|
| 119 | </div> |
---|
| 120 | |
---|
| 121 | </form> |
---|
| 122 | |
---|
| 123 | <br><br> |
---|
| 124 | |
---|
| 125 | <div id="usersToBeUpdated" class="instructionBlock" > |
---|
| 126 | |
---|
| 127 | <div id="usersToBeUpdated_header" class="instructionBlockHeader"> |
---|
| 128 | <span class="cluetip" title="{'LCAS_userlistTitle'|translate}|{'LCAS_userlistTitle_d'|translate}"> |
---|
| 129 | {'LCAS_UserList_Title'|@translate} |
---|
| 130 | </span> |
---|
| 131 | </div> |
---|
| 132 | <div id="Config2" class="instructionBlockContent" style="display:block"> |
---|
| 133 | <fieldset> |
---|
| 134 | <form method="post" name="UserList" id="UserList" action="" class="general"> |
---|
| 135 | <input type="hidden" id="UserToUpdate" name="UserToUpdate" value="-1"> |
---|
| 136 | {if count($users) > 0} |
---|
| 137 | <table id="sorting" class="table2" width="97%" summary=""> |
---|
| 138 | <thead> |
---|
| 139 | <tr class="throw"> |
---|
| 140 | <th>{'Username'|@translate}</th> |
---|
| 141 | <th>{'Profile'|@translate}</th> |
---|
| 142 | <th>{'Email address'|@translate}</th> |
---|
| 143 | <th>{'LCAS_Compare_value_h'|@translate}</th> |
---|
| 144 | <th>{'LCAS_Update_h'|@translate}</th> |
---|
| 145 | </tr> |
---|
| 146 | </thead> |
---|
| 147 | <tbody> |
---|
| 148 | {foreach from=$users item=user name=users_loop} |
---|
| 149 | <tr class="{if $smarty.foreach.users_loop.index is odd}row1{else}row2{/if}"> |
---|
| 150 | <td><input class="LCAS_textfields" type="text" name="user-{$user.ID}" id="user-{$user.ID}" value="{$user.USERNAME}"></td> |
---|
| 151 | <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> |
---|
| 152 | <td>{$user.EMAIL}</td> |
---|
| 153 | {if $user.DISPLAY == 'orange'} |
---|
| 154 | <td style="color:orange;text-align:center;">{$user.COMPARE}</td> |
---|
| 155 | {else} |
---|
| 156 | <td style="text-align:center;">{$user.COMPARE}</td> |
---|
| 157 | {/if} |
---|
| 158 | <td style="text-align:center;"><a href="javascript:UpdateAUser({$user.ID});">{'LCAS_Update_User'|@translate}</a></td> |
---|
| 159 | {foreach from=$user.plugin_columns item=data} |
---|
| 160 | <td>{$data}</td> |
---|
| 161 | {/foreach} |
---|
| 162 | </tr> |
---|
| 163 | {/foreach} |
---|
| 164 | </tbody> |
---|
| 165 | </table> |
---|
| 166 | <div id="pager" class="pager"> |
---|
| 167 | <form> |
---|
| 168 | <img src="{$LCAS_PATH}admin/template/icon/first.png" class="first"> |
---|
| 169 | <img src="{$LCAS_PATH}admin/template/icon/prev.png" class="prev"> |
---|
| 170 | <input type="text" class="pagedisplay"> |
---|
| 171 | <img src="{$LCAS_PATH}admin/template/icon/next.png" class="next"> |
---|
| 172 | <img src="{$LCAS_PATH}admin/template/icon/last.png" class="last"> |
---|
| 173 | <select class="pagesize"> |
---|
| 174 | <option value="10">10</option> |
---|
| 175 | <option selected="selected" value="20">20</option> |
---|
| 176 | <option value="30">30</option> |
---|
| 177 | <option value="40">40</option> |
---|
| 178 | </select> |
---|
| 179 | </form> |
---|
| 180 | </div> |
---|
| 181 | <br> |
---|
| 182 | {else} |
---|
| 183 | <div> |
---|
| 184 | {'LCAS_No_User'|@translate} |
---|
| 185 | </div> |
---|
| 186 | {/if} |
---|
| 187 | </form> |
---|
| 188 | </fieldset> |
---|
| 189 | |
---|
| 190 | </div> |
---|
| 191 | </div> |
---|
| 192 | |
---|
| 193 | <br><br> |
---|
| 194 | |
---|
| 195 | <div id="PluginSupport" class="instructionBlock" > |
---|
| 196 | <div id="PluginSupport_header" class="instructionBlockHeader"> |
---|
| 197 | <span> |
---|
| 198 | {'LCAS_PluginSupport'|@translate} |
---|
| 199 | </span> |
---|
| 200 | </div> |
---|
| 201 | <div id="Config2" class="instructionBlockContent" style="display:block"> |
---|
| 202 | <fieldset> |
---|
| 203 | {'LCAS_Support_txt'|@translate} |
---|
| 204 | </fieldset> |
---|
| 205 | </div> |
---|
| 206 | </div> |
---|
| 207 | |
---|
| 208 | <script type="text/javascript"> |
---|
| 209 | var n1=document.getElementById("nb_para").value; |
---|
| 210 | var n2=document.getElementById("nb_para2").value; |
---|
| 211 | LCAS_blockToggleDisplay(n1,n2); |
---|
| 212 | </script> |
---|