Lines 78-102
Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %]</div>
Link Here
|
78 |
<label for="lang">Display location</label> |
78 |
<label for="lang">Display location</label> |
79 |
<select id="lang" name="lang"> |
79 |
<select id="lang" name="lang"> |
80 |
[% IF ( default_lang == "" ) %] |
80 |
[% IF ( default_lang == "" ) %] |
81 |
<option value="" selected>All</option> |
81 |
<option value="" selected="selected">All</option> |
82 |
[% ELSE %] |
82 |
[% ELSE %] |
83 |
<option value="" >All</option> |
83 |
<option value="" >All</option> |
84 |
[% END %] |
84 |
[% END %] |
85 |
[% IF ( default_lang == "koha" ) %] |
85 |
[% IF ( default_lang == "koha" ) %] |
86 |
<option value="koha" selected>Librarian interface</option> |
86 |
<option value="koha" selected="selected">Librarian interface</option> |
87 |
[% ELSE %] |
87 |
[% ELSE %] |
88 |
<option value="koha" >Librarian interface</option> |
88 |
<option value="koha" >Librarian interface</option> |
89 |
[% END %] |
89 |
[% END %] |
90 |
[% IF ( default_lang == "slip" ) %] |
90 |
[% IF ( default_lang == "slip" ) %] |
91 |
<option value="slip" selected>Slip</option> |
91 |
<option value="slip" selected="selected">Slip</option> |
92 |
[% ELSE %] |
92 |
[% ELSE %] |
93 |
<option value="slip" >Slip</option> |
93 |
<option value="slip" >Slip</option> |
94 |
[% END %] |
94 |
[% END %] |
95 |
[% FOREACH lang_lis IN lang_list %] |
95 |
[% FOREACH lang_lis IN lang_list %] |
96 |
[% IF ( lang_lis.language == default_lang ) %] |
96 |
[% IF ( lang_lis.language == default_lang ) %] |
97 |
<option value="[% lang_lis.language %]" selected>OPAC ([% lang_lis.language %])</option> |
97 |
<option value="[% lang_lis.language %]" selected="selected">OPAC ([% lang_lis.language %])</option> |
98 |
[% ELSE %] |
98 |
[% ELSE %] |
99 |
<option value="[% lang_lis.language %]" >OPAC ([% lang_lis.language %])</option> |
99 |
<option value="[% lang_lis.language %]" >OPAC ([% lang_lis.language %])</option> |
100 |
[% END %] |
100 |
[% END %] |
101 |
[% END %] |
101 |
[% END %] |
102 |
</select> |
102 |
</select> |
Lines 105-117
Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %]</div>
Link Here
|
105 |
<label for="branch">Library: </label> |
105 |
<label for="branch">Library: </label> |
106 |
<select id="branch" name="branch"> |
106 |
<select id="branch" name="branch"> |
107 |
[% IF ( new_detail.branchcode == '' ) %] |
107 |
[% IF ( new_detail.branchcode == '' ) %] |
108 |
<option value="" selected>All Libraries</option> |
108 |
<option value="" selected="selected">All Libraries</option> |
109 |
[% ELSE %] |
109 |
[% ELSE %] |
110 |
<option value="" >All Libraries</option> |
110 |
<option value="" >All Libraries</option> |
111 |
[% END %] |
111 |
[% END %] |
112 |
[% FOREACH branch_item IN branch_list %] |
112 |
[% FOREACH branch_item IN branch_list %] |
113 |
[% IF ( branch_item.value.branchcode == new_detail.branchcode ) %] |
113 |
[% IF ( branch_item.value.branchcode == new_detail.branchcode ) %] |
114 |
<option value="[% branch_item.value.branchcode %]" selected>[% branch_item.value.branchname %]</option> |
114 |
<option value="[% branch_item.value.branchcode %]" selected="selected">[% branch_item.value.branchname %]</option> |
115 |
[% ELSE %] |
115 |
[% ELSE %] |
116 |
<option value="[% branch_item.value.branchcode %]">[% branch_item.value.branchname %]</option> |
116 |
<option value="[% branch_item.value.branchcode %]">[% branch_item.value.branchname %]</option> |
117 |
[% END %] |
117 |
[% END %] |
Lines 153-175
Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %]</div>
Link Here
|
153 |
<label for="lang">Display location:</label> |
153 |
<label for="lang">Display location:</label> |
154 |
<select name="lang" id="lang"> |
154 |
<select name="lang" id="lang"> |
155 |
[% IF ( lang == "" ) %] |
155 |
[% IF ( lang == "" ) %] |
156 |
<option value="" selected>All</option> |
156 |
<option value="" selected="selected">All</option> |
157 |
[% ELSE %] |
157 |
[% ELSE %] |
158 |
<option value="" >All</option> |
158 |
<option value="" >All</option> |
159 |
[% END %] |
159 |
[% END %] |
160 |
[% IF ( lang == "koha" ) %] |
160 |
[% IF ( lang == "koha" ) %] |
161 |
<option value="koha" selected>Librarian interface</option> |
161 |
<option value="koha" selected="selected">Librarian interface</option> |
162 |
[% ELSE %] |
162 |
[% ELSE %] |
163 |
<option value="koha" >Librarian interface</option> |
163 |
<option value="koha" >Librarian interface</option> |
164 |
[% END %] |
164 |
[% END %] |
165 |
[% IF ( lang == "slip" ) %] |
165 |
[% IF ( lang == "slip" ) %] |
166 |
<option value="slip" selected>Slip</option> |
166 |
<option value="slip" selected="selected">Slip</option> |
167 |
[% ELSE %] |
167 |
[% ELSE %] |
168 |
<option value="slip" >Slip</option> |
168 |
<option value="slip" >Slip</option> |
169 |
[% END %] |
169 |
[% END %] |
170 |
[% FOREACH lang_lis IN lang_list %] |
170 |
[% FOREACH lang_lis IN lang_list %] |
171 |
[% IF ( lang_lis.language == lang ) %] |
171 |
[% IF ( lang_lis.language == lang ) %] |
172 |
<option value="[% lang_lis.language %]" selected>OPAC ([% lang_lis.language %])</option> |
172 |
<option value="[% lang_lis.language %]" selected="selected">OPAC ([% lang_lis.language %])</option> |
173 |
[% ELSE %] |
173 |
[% ELSE %] |
174 |
<option value="[% lang_lis.language %]" >OPAC ([% lang_lis.language %])</option> |
174 |
<option value="[% lang_lis.language %]" >OPAC ([% lang_lis.language %])</option> |
175 |
[% END %] |
175 |
[% END %] |
Lines 178-191
Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %]</div>
Link Here
|
178 |
<label for="branch">Library: </label> |
178 |
<label for="branch">Library: </label> |
179 |
<select id="branch" name="branch"> |
179 |
<select id="branch" name="branch"> |
180 |
[% IF ( branchcode == "" ) %] |
180 |
[% IF ( branchcode == "" ) %] |
181 |
<option value="" selected>All Libraries</option> |
181 |
<option value="" selected="selected">All Libraries</option> |
182 |
[% ELSE %] |
182 |
[% ELSE %] |
183 |
<option value="" >All Libraries</option> |
183 |
<option value="" >All Libraries</option> |
184 |
[% END %] |
184 |
[% END %] |
185 |
[% FOREACH branch_item IN branch_list %] |
185 |
[% FOREACH branch_item IN branch_list %] |
186 |
[% IF ( branch_item.value.branchcode == branchcode ) %] |
186 |
[% IF ( branch_item.value.branchcode == branchcode ) %] |
187 |
<option value="[% branch_item.value.branchcode %]" |
187 |
<option value="[% branch_item.value.branchcode %]" |
188 |
selected>[% branch_item.value.branchname %] |
188 |
selected="selected">[% branch_item.value.branchname %] |
189 |
</option> |
189 |
</option> |
190 |
[% ELSE %] |
190 |
[% ELSE %] |
191 |
<option value="[% branch_item.value.branchcode %]" |
191 |
<option value="[% branch_item.value.branchcode %]" |