Changeset 9158 for extensions/LCAS/trunk/admin/template/global.tpl
- Timestamp:
- Feb 10, 2011, 9:31:02 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/LCAS/trunk/admin/template/global.tpl
r8840 r9158 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 {* 1 6 {combine_script id="jquery" path=$ROOT_URL|@cat:"themes/default/js/jquery.js"} 2 7 {combine_script id="jquery.cluetip" path=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.cluetip.packed.js"} 3 8 {combine_script id="jquery.tablesorter" path=$LCAS_PATH|@cat:"admin/template/js/jquery.tablesorter.js"} 4 9 {combine_script id="jquery.tablesorter.pager" path=$LCAS_PATH|@cat:"admin/template/js/jquery.tablesorter.pager.js"} 10 *} 5 11 6 12 {html_head}<link rel="stylesheet" type="text/css" href="{$LCAS_PATH}admin/template/lcas.css">{/html_head} 7 13 8 14 <script type="text/javascript"> 9 var LCAS_final_case = '{$LCAS_final_case}';10 var PWG_insensitive_case_logon = {if $PWG_insensitive_case_logon}true{else}false{/if};11 15 var Personalized_not_allowed = {if $Personalized_not_allowed}true{else}false{/if}; 12 16 {literal} … … 17 21 splitTitle: '|' 18 22 }); 19 });20 21 jQuery().ready(function(){22 if (PWG_insensitive_case_logon) {23 jQuery('#LCAS_id_Option0, #LCAS_id_Option2').attr('disabled', 'disabled');24 jQuery('#LCAS_id_Opt0, #LCAS_id_Opt2').attr("title", "{/literal}{'conf[insensitive_case_logon] is true'|@translate}{literal}");25 }26 else {27 jQuery('#LCAS_id_Option1, #LCAS_id_Option3').attr('disabled', 'disabled');28 jQuery('#LCAS_id_Opt1, #LCAS_id_Opt3').attr("title", "{/literal}{'conf[insensitive_case_logon] is false'|@translate}{literal}");29 }30 if (Personalized_not_allowed) {31 jQuery('#LCAS_id_Option0').attr('disabled', 'disabled');32 jQuery('#LCAS_id_Opt0').attr("title", "{/literal}{'Personalized not allowed tooltip'|@translate}{literal}");33 }34 23 }); 35 24 … … 49 38 .tablesorter({sortList:[[3,0]], headers: { 1: { sorter: false }, 4: { sorter: false }, 5: { sorter: false } } }) 50 39 .tablesorterPager({container: jQuery("#pager"), positionFixed: false, size: 20, totalPages: 0}); 40 if (Personalized_not_allowed) { 41 jQuery('#LCAS_id_Option0').attr('disabled', 'disabled'); 42 jQuery('#LCAS_id_Opt0').attr("title", "{/literal}{'Personalized not allowed tooltip'|@translate}{literal}"); 43 } 51 44 } 52 45 ); … … 94 87 {'LCAS_Option3'|@translate}<br> 95 88 </label> 89 {* <!-- Shall be implemented later 96 90 <label for = "LCAS_id_Option0" id ="LCAS_id_Opt0"> 97 91 <input type="radio" value="0" {if $LCAS_Option == '0'}checked="checked"{/if} id="LCAS_id_Option0" name="LCAS_Option"> 98 {'LCAS_Option0'|@translate}{if $Personalized_not_allowed}{'Personalized not allowed explanation'|@translate}{/if}<br> 99 </label> 92 {'LCAS_Option0'|@translate}<br>{if $Personalized_not_allowed}{'Personalized not allowed explanation'|@translate}{/if}<br> 93 </label> 94 --> *} 100 95 <br><br> 101 96 </li>
Note: See TracChangeset
for help on using the changeset viewer.