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

(-)a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc (-3 / +2 lines)
Lines 87-99 Link Here
87
   [% IF ( OpacAddMastheadLibraryPulldown ) %]
87
   [% IF ( OpacAddMastheadLibraryPulldown ) %]
88
      <select name="branch_group_limit" id="select_library" class="left">
88
      <select name="branch_group_limit" id="select_library" class="left">
89
         <option value="">All libraries</option>
89
         <option value="">All libraries</option>
90
         <optgroup label="Libraries">
90
         [% IF BranchCategoriesLoop %]<optgroup label="Libraries">[% END %]
91
             [% FOREACH BranchesLoo IN BranchesLoop %]
91
             [% FOREACH BranchesLoo IN BranchesLoop %]
92
                [% IF ( BranchesLoo.selected ) %]<option selected="selected" value="branch:[% BranchesLoo.value %]">[% BranchesLoo.branchname %]</option>
92
                [% IF ( BranchesLoo.selected ) %]<option selected="selected" value="branch:[% BranchesLoo.value %]">[% BranchesLoo.branchname %]</option>
93
                [% ELSE %]<option value="branch:[% BranchesLoo.value %]">[% BranchesLoo.branchname %]</option>[% END %]
93
                [% ELSE %]<option value="branch:[% BranchesLoo.value %]">[% BranchesLoo.branchname %]</option>[% END %]
94
             [% END %]
94
             [% END %]
95
         </optgroup>
96
         [% IF BranchCategoriesLoop %]
95
         [% IF BranchCategoriesLoop %]
96
             </optgroup>
97
             <optgroup label="Groups">
97
             <optgroup label="Groups">
98
                 [% FOREACH bc IN BranchCategoriesLoop %]
98
                 [% FOREACH bc IN BranchCategoriesLoop %]
99
                     [% IF ( bc.selected ) %]
99
                     [% IF ( bc.selected ) %]
100
- 

Return to bug 10354