Lines 238-281
Item types › Administration › Koha
Link Here
|
238 |
[% END %] |
238 |
[% END %] |
239 |
</ol> |
239 |
</ol> |
240 |
[% UNLESS Koha.Preference('noItemTypeImages') && Koha.Preference('OpacNoItemTypeImages') %] |
240 |
[% UNLESS Koha.Preference('noItemTypeImages') && Koha.Preference('OpacNoItemTypeImages') %] |
241 |
<div id="icons" class="toptabs"> |
241 |
|
|
|
242 |
[% WRAPPER tabs id= "icons" %] |
242 |
<h5>Choose an icon:</h5> |
243 |
<h5>Choose an icon:</h5> |
243 |
<ul class="nav nav-tabs" role="tablist"> |
244 |
[% WRAPPER tabs_nav %] |
244 |
<li role="presentation"> |
245 |
[% WRAPPER tab_item tabname="none" %] |
245 |
<a aria-controls="non" role="tab" data-toggle="tab" href="#none">None</a> |
246 |
<span>None</span> |
246 |
</li> |
247 |
[% END %] |
247 |
[% FOREACH imageset IN imagesets %] |
248 |
[% FOREACH imageset IN imagesets %] |
248 |
[% IF ( imageset.imagesetactive ) %] |
249 |
[% IF ( imageset.imagesetactive ) %] |
249 |
<li role="presentation" class="active"> |
250 |
[% SET bt_active = 1 %] |
250 |
[% ELSE %] |
251 |
[% ELSE %] |
251 |
<li role="presentation"> |
252 |
[% SET bt_active = 0 %] |
252 |
[% END %] |
253 |
[% END %] |
253 |
<a aria-controls="[% imageset.imagesetname | uri %]" role="tab" data-toggle="tab" href="#[% imageset.imagesetname | uri %]">[% imageset.imagesetname | html %]</a> |
254 |
[% WRAPPER tab_item tabname= imageset.imagesetname bt_active= bt_active %] [% imageset.imagesetname | html %] [% END %] |
254 |
</li> |
|
|
255 |
[% END %] |
255 |
[% END %] |
256 |
[% IF itemtype.image_location('intranet').match('^http') %] |
256 |
[% IF itemtype.image_location('intranet').match('^http') %] |
257 |
<li role="presentation" class="active"> |
257 |
[% SET bt_active = 1 %] |
258 |
[% ELSE %] |
258 |
[% ELSE %] |
259 |
<li role="presentation"> |
259 |
[% SET bt_active = 0 %] |
260 |
[% END %] |
260 |
[% END %] |
261 |
<a aria-controls="remote" role="tab" data-toggle="tab" href="#remote">Remote image</a> |
261 |
[% WRAPPER tab_item tabname= "remote" bt_active= bt_active %] <span>Remote image</span> [% END %] |
262 |
</li> |
262 |
[% END %] |
263 |
</ul> |
263 |
|
264 |
<div class="tab-content"> |
264 |
[% WRAPPER tab_panels %] |
265 |
<div id="none" role="tabpanel" class="tab-pane"> |
265 |
[% WRAPPER tab_panel tabname="none" %] |
266 |
<div class="itemtype-icons"> |
266 |
<div class="itemtype-icons"> |
267 |
<label for="noimage">No image: |
267 |
<label for="noimage">No image: |
268 |
<input type="radio" name="image" id="noimage" value="removeImage" /> |
268 |
<input type="radio" name="image" id="noimage" value="removeImage" /> |
269 |
</label> |
269 |
</label> |
270 |
</div> |
270 |
</div> |
271 |
</div> <!-- /.tab-pane --> |
271 |
[% END %] |
272 |
|
|
|
273 |
[% FOREACH imageset IN imagesets %] |
272 |
[% FOREACH imageset IN imagesets %] |
274 |
[% IF ( imageset.imagesetactive ) %] |
273 |
[% IF ( imageset.imagesetactive ) %] |
275 |
<div id="[% imageset.imagesetname | html %]" role="tabpanel" class="tab-pane active"> |
274 |
[% SET bt_active = 1 %] |
276 |
[% ELSE %] |
275 |
[% ELSE %] |
277 |
<div id="[% imageset.imagesetname | html %]" role="tabpanel" class="tab-pane"> |
276 |
[% SET bt_active = 0 %] |
278 |
[% END %] |
277 |
[% END %] |
|
|
278 |
[% WRAPPER tab_panel tabname=imageset.imagesetname bt_active= bt_active %] |
279 |
<div class="itemtype-icons"> |
279 |
<div class="itemtype-icons"> |
280 |
[% FOREACH image IN imageset.images %] |
280 |
[% FOREACH image IN imageset.images %] |
281 |
<label> |
281 |
<label> |
Lines 290-304
Item types › Administration › Koha
Link Here
|
290 |
</label> |
290 |
</label> |
291 |
[% END #/ FOREACH image %] |
291 |
[% END #/ FOREACH image %] |
292 |
</div> <!-- /.itemtype-icons --> |
292 |
</div> <!-- /.itemtype-icons --> |
293 |
</div> <!-- /.tab-pane --> |
293 |
[% END # /tab_panel %] |
294 |
[% END #/FOREACH imageset %] |
294 |
[% END # /FOREACH imageset %] |
295 |
|
|
|
296 |
[% SET image_location = itemtype.image_location('intranet') %] |
295 |
[% SET image_location = itemtype.image_location('intranet') %] |
297 |
[% IF image_location.match('^http') %] |
296 |
[% IF image_location.match('^http') %] |
298 |
<div id="remote" role="tabpanel" class="tab-pane active"> |
297 |
[% SET bt_active = 1 %] |
299 |
[% ELSE %] |
298 |
[% ELSE %] |
300 |
<div id="remote" role="tabpanel" class="tab-pane"> |
299 |
[% SET bt_active = 0 %] |
301 |
[% END %] |
300 |
[% END %] |
|
|
301 |
[% WRAPPER tab_panel tabname="remote" %] |
302 |
<label for="remote_image_check"> Remote image:</label> |
302 |
<label for="remote_image_check"> Remote image:</label> |
303 |
[% IF image_location.match('^http') %] |
303 |
[% IF image_location.match('^http') %] |
304 |
<input type="radio" id="remote_image_check" name="image" value="remoteImage" checked="checked" /> |
304 |
<input type="radio" id="remote_image_check" name="image" value="remoteImage" checked="checked" /> |
Lines 310-318
Item types › Administration › Koha
Link Here
|
310 |
<input type="radio" id="remote_image_check" name="image" value="remoteImage" /> |
310 |
<input type="radio" id="remote_image_check" name="image" value="remoteImage" /> |
311 |
<input type="text" name="remoteImage" size="48" maxlength="200" value="" onmousedown="document.getElementById('remote_image_check').checked = true;" /> |
311 |
<input type="text" name="remoteImage" size="48" maxlength="200" value="" onmousedown="document.getElementById('remote_image_check').checked = true;" /> |
312 |
[% END %] |
312 |
[% END %] |
313 |
</div> <!-- /#remote --> |
313 |
[% END %] |
314 |
</div> <!-- /.tab-content --> |
314 |
[% END # /tab_panels %] |
315 |
</div> <!-- /#icons --> |
315 |
[% END # /tabs#icons %] |
|
|
316 |
|
316 |
[% END %] |
317 |
[% END %] |
317 |
<ol class="oladditemtype"> |
318 |
<ol class="oladditemtype"> |
318 |
<li> |
319 |
<li> |
319 |
- |
|
|