View | Details | Raw Unified | Return to bug 6794
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt (-7 / +4 lines)
Lines 95-103 Link Here
95
        <li>
95
        <li>
96
        [% END %]
96
        [% END %]
97
			[% IF ( loo.checked ) %]
97
			[% IF ( loo.checked ) %]
98
			   <input type="checkbox" id="flag-[% loo.bit %]" name="flag" value="[% loo.flag %]" checked="checked" onchange="toggleChildren(this)" />
98
			   <input type="checkbox" id="flag-[% loo.bit %]" name="flag" value="[% loo.flag %]" checked="checked" onclick="toggleChildren(this)" />
99
			[% ELSE %]
99
			[% ELSE %]
100
				<input type="checkbox" id="flag-[% loo.bit %]" name="flag" value="[% loo.flag %]"  onchange="toggleChildren(this)" />
100
				<input type="checkbox" id="flag-[% loo.bit %]" name="flag" value="[% loo.flag %]"  onclick="toggleChildren(this)" />
101
			[% END %]
101
			[% END %]
102
                <label class="permissioncode" for="flag-[% loo.bit %]">[% loo.flag %]</label>
102
                <label class="permissioncode" for="flag-[% loo.bit %]">[% loo.flag %]</label>
103
                <span class="permissiondesc">[% loo.flagdesc %]</span>
103
                <span class="permissiondesc">[% loo.flagdesc %]</span>
Lines 106-116 Link Here
106
                    [% FOREACH sub_perm_loo IN loo.sub_perm_loop %]
106
                    [% FOREACH sub_perm_loo IN loo.sub_perm_loop %]
107
                        <li>
107
                        <li>
108
			            [% IF ( sub_perm_loo.checked ) %]
108
			            [% IF ( sub_perm_loo.checked ) %]
109
			                <input type="checkbox" id="[% sub_perm_loo.id %]" 
109
			                <input type="checkbox" id="[% sub_perm_loo.id %]" name="flag" value="[% sub_perm_loo.perm %]" checked="checked" onclick="toggleParent(this)" />
110
                                name="flag" value="[% sub_perm_loo.perm %]" checked="checked" onchange="toggleParent(this)" />
111
			            [% ELSE %]
110
			            [% ELSE %]
112
			                <input type="checkbox" id="[% sub_perm_loo.id %]" 
111
			                <input type="checkbox" id="[% sub_perm_loo.id %]" name="flag" value="[% sub_perm_loo.perm %]" onclick="toggleParent(this)" />
113
                                name="flag" value="[% sub_perm_loo.perm %]" onchange="toggleParent(this)" />
114
			            [% END %]
112
			            [% END %]
115
                    <label class="permissioncode" for="[% sub_perm_loo.id %]">[% sub_perm_loo.code %]</label>
113
                    <label class="permissioncode" for="[% sub_perm_loo.id %]">[% sub_perm_loo.code %]</label>
116
                             <span class="permissiondesc">[% sub_perm_loo.description %]</span>
114
                             <span class="permissiondesc">[% sub_perm_loo.description %]</span>
117
- 

Return to bug 6794