0byt3m1n1
Path:
/
data
/
applications
/
aps
/
tikiwiki
/
7.0-0
/
standard
/
htdocs
/
templates
/
prefs
/
[
Home
]
File: flag.tpl
<div class="adminoptionbox clearfix{if isset($smarty.request.highlight) and $smarty.request.highlight eq $p.preference} highlight{/if}"> <div class="adminoption"> <input id="{$p.id|escape}" type="checkbox" name="{$p.preference|escape}" {if $p.value eq 'y'}checked="checked" {/if} {if ! $p.available}disabled="disabled"{/if} {$p.params}/> </div> <div class="adminoptionlabel" > <label for="{$p.id|escape}">{$p.name|escape}</label> {include file="prefs/shared-flags.tpl"} {if $p.hint} <br/><em>{$p.hint|simplewiki}</em> {/if} </div> {include file="prefs/shared-dependencies.tpl"} {jq} if( ! $('#{{$p.id|escape}}').attr('checked') || $('#{{$p.id|escape}}').attr('disabled') ) { $('#{{$p.preference|escape}}_childcontainer').hide(); } if ($('#{{$p.preference|escape}}_childcontainer').length) { $('#{{$p.id|escape}}').change( function() { var id = '{{$p.preference|escape}}_childcontainer'; if( $('#{{$p.id|escape}}').attr('checked') || $('#{{$p.id|escape}}').attr('disabled') ) { {{if $mode eq 'invert'}}hide(id);{{else}}show(id);{{/if}} } else { {{if $mode eq 'invert'}}show(id);{{else}}hide(id);{{/if}} } } ).change(); } {/jq} </div>