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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt (-3 / +2 lines)
Lines 37-50 Link Here
37
        [% END %]
37
        [% END %]
38
			[% IF ( loo.checked ) %]
38
			[% IF ( loo.checked ) %]
39
          [% IF disable_superlibrarian_privs && loo.bit == 0 %]
39
          [% IF disable_superlibrarian_privs && loo.bit == 0 %]
40
              <input type="checkbox" disabled="disabled" class="flag parent superlib" id="flag-[% loo.bit %]_disabled" name="flag" value="[% loo.flag %]" checked="checked" />
40
              <input type="checkbox" disabled="disabled" class="flag parent superlib" id="flag-[% loo.bit %]_disabled" name="flag" value="[% loo.flag %]" checked="checked" title="The system preference ProtectSuperlibrarianPrivileges is enabled" />
41
              <input type="hidden" id="flag-[% loo.bit %]" name="flag" value="[% loo.flag %]" >
41
              <input type="hidden" id="flag-[% loo.bit %]" name="flag" value="[% loo.flag %]" >
42
          [% ELSE %]
42
          [% ELSE %]
43
              <input type="checkbox" class="flag parent" id="flag-[% loo.bit %]" name="flag" value="[% loo.flag %]" checked="checked" />
43
              <input type="checkbox" class="flag parent" id="flag-[% loo.bit %]" name="flag" value="[% loo.flag %]" checked="checked" />
44
          [% END %]
44
          [% END %]
45
			[% ELSE %]
45
			[% ELSE %]
46
          [% IF disable_superlibrarian_privs && loo.bit == 0 %]
46
          [% IF disable_superlibrarian_privs && loo.bit == 0 %]
47
              <input type="checkbox" disabled="disabled" class="flag parent" id="flag-[% loo.bit %]_disabled" name="flag" value="[% loo.flag %]" />
47
              <input type="checkbox" disabled="disabled" class="flag parent" id="flag-[% loo.bit %]_disabled" name="flag" value="[% loo.flag %]" title="The system preference ProtectSuperlibrarianPrivileges is enabled" />
48
          [% ELSE %]
48
          [% ELSE %]
49
              <input type="checkbox" class="flag parent" id="flag-[% loo.bit %]" name="flag" value="[% loo.flag %]" />
49
              <input type="checkbox" class="flag parent" id="flag-[% loo.bit %]" name="flag" value="[% loo.flag %]" />
50
          [% END %]
50
          [% END %]
51
- 

Return to bug 20100