Ignore:
Timestamp:
Feb 10, 2011, 9:31:02 PM (13 years ago)
Author:
LucMorizur
Message:

LCAS takes completely care for case sensitivity: $confinsensitive_case_logon set to false by LCAS

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{*
    16{combine_script id="jquery" path=$ROOT_URL|@cat:"themes/default/js/jquery.js"}
    27{combine_script id="jquery.cluetip" path=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.cluetip.packed.js"}
    38{combine_script id="jquery.tablesorter" path=$LCAS_PATH|@cat:"admin/template/js/jquery.tablesorter.js"}
    49{combine_script id="jquery.tablesorter.pager" path=$LCAS_PATH|@cat:"admin/template/js/jquery.tablesorter.pager.js"}
     10*}
    511
    612{html_head}<link rel="stylesheet" type="text/css" href="{$LCAS_PATH}admin/template/lcas.css">{/html_head}
    713
    814<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};
    1115var Personalized_not_allowed = {if $Personalized_not_allowed}true{else}false{/if};
    1216{literal}
     
    1721    splitTitle: '|'
    1822  });
    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   }
    3423});
    3524
     
    4938      .tablesorter({sortList:[[3,0]], headers: { 1: { sorter: false }, 4: { sorter: false }, 5: { sorter: false } } })
    5039      .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      }
    5144    }
    5245);
     
    9487              {'LCAS_Option3'|@translate}<br>
    9588            </label>
     89            {* <!-- Shall be implemented later
    9690            <label for = "LCAS_id_Option0" id ="LCAS_id_Opt0">
    9791              <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            --> *}
    10095            <br><br>
    10196          </li>
Note: See TracChangeset for help on using the changeset viewer.