|
Lines 190-196
Link Here
|
| 190 |
[% ELSE %] |
190 |
[% ELSE %] |
| 191 |
Adding authority [% authtypetext | html %] |
191 |
Adding authority [% authtypetext | html %] |
| 192 |
[% END %] |
192 |
[% END %] |
| 193 |
</div> |
193 |
</div> <!-- /.breadcrumbs --> |
| 194 |
|
194 |
|
| 195 |
<div class="main container-fluid"> |
195 |
<div class="main container-fluid"> |
| 196 |
<div class="row"> |
196 |
<div class="row"> |
|
Lines 215-221
Link Here
|
| 215 |
<button class="new" onclick="confirmnotdup('items'); return false;"><i class="fa fa-save"></i> No: Save as new authority</button> |
215 |
<button class="new" onclick="confirmnotdup('items'); return false;"><i class="fa fa-save"></i> No: Save as new authority</button> |
| 216 |
</form> |
216 |
</form> |
| 217 |
</div> |
217 |
</div> |
| 218 |
[% END %] |
218 |
[% END # /IF duplicateauthid %] |
| 219 |
|
219 |
|
| 220 |
<form method="post" name="f" action="/cgi-bin/koha/authorities/authorities.pl"> |
220 |
<form method="post" name="f" action="/cgi-bin/koha/authorities/authorities.pl"> |
| 221 |
<input type="hidden" name="op" value="add" /> |
221 |
<input type="hidden" name="op" value="add" /> |
|
Lines 242-248
Link Here
|
| 242 |
<a class="btn btn-default" id="cancel" href="/cgi-bin/koha/authorities/authorities-home.pl">Cancel</a> |
242 |
<a class="btn btn-default" id="cancel" href="/cgi-bin/koha/authorities/authorities-home.pl">Cancel</a> |
| 243 |
[% END %] |
243 |
[% END %] |
| 244 |
</div> |
244 |
</div> |
| 245 |
</div> |
245 |
</div> <!-- /#toolbar --> |
| 246 |
|
246 |
|
| 247 |
<div id="authoritytabs" class="toptabs numbered"> |
247 |
<div id="authoritytabs" class="toptabs numbered"> |
| 248 |
<ul> |
248 |
<ul> |
|
Lines 270-276
Link Here
|
| 270 |
<a href="#" tabindex="1" class="tagnum" title="[% innerloo.tag_lib | html %] - Click to Expand this Tag" onclick="ExpandField('tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]'); return false;">[% innerloo.tag | html %]</a> |
270 |
<a href="#" tabindex="1" class="tagnum" title="[% innerloo.tag_lib | html %] - Click to Expand this Tag" onclick="ExpandField('tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]'); return false;">[% innerloo.tag | html %]</a> |
| 271 |
[% ELSE %] |
271 |
[% ELSE %] |
| 272 |
<span title="[% innerloo.tag_lib | html %]">[% innerloo.tag | html %]</span> |
272 |
<span title="[% innerloo.tag_lib | html %]">[% innerloo.tag | html %]</span> |
| 273 |
[% END %] |
273 |
[% END # /IF advancedMARCEditor %] |
| 274 |
|
274 |
|
| 275 |
[% IF ( innerloo.fixedfield ) %] |
275 |
[% IF ( innerloo.fixedfield ) %] |
| 276 |
<input type="text" |
276 |
<input type="text" |
|
Lines 304-311
Link Here
|
| 304 |
size="1" |
304 |
size="1" |
| 305 |
maxlength="1" |
305 |
maxlength="1" |
| 306 |
value="[% innerloo.indicator2 | html %]" /> |
306 |
value="[% innerloo.indicator2 | html %]" /> |
| 307 |
[% END %] - |
307 |
[% END # /IF innerloo.fixedfield %] - |
| 308 |
[% ELSE %] |
308 |
[% ELSE # UNLESS hide_marc %] |
| 309 |
[% IF ( innerloo.fixedfield ) %] |
309 |
[% IF ( innerloo.fixedfield ) %] |
| 310 |
<input type="hidden" |
310 |
<input type="hidden" |
| 311 |
tabindex="1" |
311 |
tabindex="1" |
|
Lines 324-331
Link Here
|
| 324 |
tabindex="1" |
324 |
tabindex="1" |
| 325 |
name="tag_[% innerloo.tag | html %]_indicator2_[% innerloo.index | html %][% innerloo.random | html %]" |
325 |
name="tag_[% innerloo.tag | html %]_indicator2_[% innerloo.index | html %][% innerloo.random | html %]" |
| 326 |
value="[% innerloo.indicator2 | html %]" /> |
326 |
value="[% innerloo.indicator2 | html %]" /> |
| 327 |
[% END %] |
327 |
[% END # /IF innerloo.fixedfield %] |
| 328 |
[% END %] |
328 |
[% END # /UNLESS hide_marc %] |
| 329 |
|
329 |
|
| 330 |
[% UNLESS advancedMARCEditor %] |
330 |
[% UNLESS advancedMARCEditor %] |
| 331 |
<a href="#" tabindex="1" class="expandfield" onclick="ExpandField('tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]'); return false;" title="Click to Expand this Tag">[% innerloo.tag_lib | html %]</a> |
331 |
<a href="#" tabindex="1" class="expandfield" onclick="ExpandField('tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]'); return false;" title="Click to Expand this Tag">[% innerloo.tag_lib | html %]</a> |
|
Lines 340-347
Link Here
|
| 340 |
<a href="#" tabindex="1" class="buttonMinus" onclick="UnCloneField('tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]'); return false;" title="Delete this Tag"> |
340 |
<a href="#" tabindex="1" class="buttonMinus" onclick="UnCloneField('tag_[% innerloo.tag | html %]_[% innerloo.index | html %][% innerloo.random | html %]'); return false;" title="Delete this Tag"> |
| 341 |
<img src="[% interface | html %]/[% theme | html %]/img/delete-tag.png" alt="Delete this Tag" /> |
341 |
<img src="[% interface | html %]/[% theme | html %]/img/delete-tag.png" alt="Delete this Tag" /> |
| 342 |
</a> |
342 |
</a> |
| 343 |
</span> |
343 |
</span> <!-- /.field_controls --> |
| 344 |
</div> |
344 |
</div> <!-- /.tag_title --> |
| 345 |
|
345 |
|
| 346 |
<ul class="sortable_subfield"> |
346 |
<ul class="sortable_subfield"> |
| 347 |
[% FOREACH subfield_loo IN innerloo.subfield_loop %] |
347 |
[% FOREACH subfield_loo IN innerloo.subfield_loop %] |
|
Lines 354-360
Link Here
|
| 354 |
[% ELSE %] |
354 |
[% ELSE %] |
| 355 |
<label for="tag_[% subfield_loo.tag | html %]_subfield_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]" class="labelsubfield"> |
355 |
<label for="tag_[% subfield_loo.tag | html %]_subfield_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]" class="labelsubfield"> |
| 356 |
[% END %] |
356 |
[% END %] |
| 357 |
[% END %] |
357 |
[% END #/UNLESS advancedMARCEditor %] |
| 358 |
|
358 |
|
| 359 |
[% UNLESS hide_marc %] |
359 |
[% UNLESS hide_marc %] |
| 360 |
<span class="subfieldcode"> |
360 |
<span class="subfieldcode"> |
|
Lines 367-378
Link Here
|
| 367 |
maxlength="1" |
367 |
maxlength="1" |
| 368 |
class="flat" |
368 |
class="flat" |
| 369 |
tabindex="0" /> |
369 |
tabindex="0" /> |
| 370 |
</span> |
370 |
</span> <!-- /.subfieldcode --> |
| 371 |
[% ELSE %] |
371 |
[% ELSE %] |
| 372 |
<input type="hidden" |
372 |
<input type="hidden" |
| 373 |
name="tag_[% subfield_loo.tag | html %]_code_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]" |
373 |
name="tag_[% subfield_loo.tag | html %]_code_[% subfield_loo.subfield | html %]_[% subfield_loo.index | html %]_[% subfield_loo.index_subfield | html %]" |
| 374 |
value="[% subfield_loo.subfield | html %]" /> |
374 |
value="[% subfield_loo.subfield | html %]" /> |
| 375 |
[% END %] |
375 |
[% END # /UNLESS hide_marc %] |
| 376 |
|
376 |
|
| 377 |
[% UNLESS advancedMARCEditor %] |
377 |
[% UNLESS advancedMARCEditor %] |
| 378 |
[% IF ( subfield_loo.mandatory ) %] |
378 |
[% IF ( subfield_loo.mandatory ) %] |
|
Lines 386-392
Link Here
|
| 386 |
[% END %] |
386 |
[% END %] |
| 387 |
</span> |
387 |
</span> |
| 388 |
</label> |
388 |
</label> |
| 389 |
[% END %] |
389 |
[% END # /UNLESS advancedMARCEditor %] |
| 390 |
|
390 |
|
| 391 |
[% SET mv = subfield_loo.marc_value %] |
391 |
[% SET mv = subfield_loo.marc_value %] |
| 392 |
[% IF ( mv.type == 'select' ) %] |
392 |
[% IF ( mv.type == 'select' ) %] |
|
Lines 423-429
Link Here
|
| 423 |
<input tabindex="1" type="hidden" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" size="67" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" /> |
423 |
<input tabindex="1" type="hidden" id="[%- mv.id | html -%]" name="[%- mv.name | html -%]" size="67" maxlength="[%- mv.maxlength | html -%]" value="[%- mv.value | html -%]" /> |
| 424 |
[% ELSIF ( mv.type == 'hidden_simple' ) %] |
424 |
[% ELSIF ( mv.type == 'hidden_simple' ) %] |
| 425 |
<input type="hidden" name="[%- mv.name | html -%]" /> |
425 |
<input type="hidden" name="[%- mv.name | html -%]" /> |
| 426 |
[% END %] |
426 |
[% END # /IF mv.type == ... %] |
| 427 |
|
427 |
|
| 428 |
<span class="subfield_controls"> |
428 |
<span class="subfield_controls"> |
| 429 |
[% IF ( subfield_loo.repeatable ) %] |
429 |
[% IF ( subfield_loo.repeatable ) %] |
|
Lines 433-479
Link Here
|
| 433 |
<a href="#" class="buttonMinus" tabindex="1" onclick="UnCloneField('subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]'); return false;"> |
433 |
<a href="#" class="buttonMinus" tabindex="1" onclick="UnCloneField('subfield[% subfield_loo.tag | html %][% subfield_loo.subfield | html %][% subfield_loo.random | html %]'); return false;"> |
| 434 |
<img src="[% interface | html %]/[% theme | html %]/img/delete-subfield.png" alt="Delete" title="Delete this subfield" /> |
434 |
<img src="[% interface | html %]/[% theme | html %]/img/delete-subfield.png" alt="Delete" title="Delete this subfield" /> |
| 435 |
</a> |
435 |
</a> |
| 436 |
[% END %] |
436 |
[% END # /IF subfield_loo.repeatable %] |
| 437 |
</span> |
437 |
</span> <!-- /.subfield_controls --> |
| 438 |
</li> |
438 |
</li> <!-- /.subfield_line --> |
| 439 |
<!-- End of the line --> |
439 |
<!-- End of the line --> |
| 440 |
[% END %] |
440 |
[% END # /FOREACH subfield_loo %] |
| 441 |
</ul> <!-- /.sortable_subfield --> |
441 |
</ul> <!-- /.sortable_subfield --> |
| 442 |
</li> |
442 |
</li> <!-- /.tag.clearfix --> |
| 443 |
[% END %]<!-- if innerloo.tag --> |
443 |
[% END %]<!-- if innerloo.tag --> |
| 444 |
[% END %]<!-- BIG_LOO.innerloop --> |
444 |
[% END %]<!-- BIG_LOO.innerloop --> |
| 445 |
</ul> <!-- /.sortable_field --> |
445 |
</ul> <!-- /.sortable_field --> |
| 446 |
</div> |
446 |
</div> <!-- /.tab[% BIG_LOO.number | html %]XX --> |
| 447 |
[% END %]<!-- BIG_LOOP --> |
447 |
[% END %]<!-- BIG_LOOP --> |
| 448 |
</div><!-- tabs --> |
448 |
</div><!-- tabs --> |
| 449 |
|
449 |
|
| 450 |
<div name="hidden" id="hidden" class="tab"> |
450 |
<div name="hidden" id="hidden" class="tab"> |
| 451 |
[% FOREACH hidden_loo IN hidden_loop %] |
451 |
[% FOREACH hidden_loo IN hidden_loop %] |
| 452 |
<input type="hidden" name="tag" value="[% hidden_loo.tag | html %]" /> |
452 |
<input type="hidden" name="tag" value="[% hidden_loo.tag | html %]" /> |
| 453 |
<input type="hidden" name="subfield" value="[% hidden_loo.subfield | html %]" /> |
453 |
<input type="hidden" name="subfield" value="[% hidden_loo.subfield | html %]" /> |
| 454 |
<input type="hidden" name="mandatory" value="[% hidden_loo.mandatory | html %]" /> |
454 |
<input type="hidden" name="mandatory" value="[% hidden_loo.mandatory | html %]" /> |
| 455 |
<input type="hidden" name="kohafield" value="[% hidden_loo.kohafield | html %]" /> |
455 |
<input type="hidden" name="kohafield" value="[% hidden_loo.kohafield | html %]" /> |
| 456 |
<input type="hidden" name="tag_mandatory" value="[% hidden_loo.tag_mandatory | html %]" /> |
456 |
<input type="hidden" name="tag_mandatory" value="[% hidden_loo.tag_mandatory | html %]" /> |
| 457 |
[% END %] |
457 |
[% END %] |
| 458 |
</div> |
458 |
</div> |
| 459 |
|
|
|
| 460 |
[% IF ( oldauthnumtagfield ) %] |
| 461 |
<input type="hidden" name="tag" value="[% oldauthnumtagfield | html %]" /> |
| 462 |
<input type="hidden" name="subfield" value="[% oldauthnumtagsubfield | html %]" /> |
| 463 |
<input type="hidden" name="field_value" value="[% authid | html %]" /> |
| 464 |
<input type="hidden" name="mandatory" value="0" /> |
| 465 |
<input type="hidden" name="kohafield" value="[% kohafield | html %]" /> |
| 466 |
<input type="hidden" name="tag_mandatory" value="[% tag_mandatory | html %]" /> |
| 467 |
<input type="hidden" name="tag" value="[% oldauthtypetagfield | html %]" /> |
| 468 |
<input type="hidden" name="subfield" value="[% oldauthtypetagsubfield | html %]" /> |
| 469 |
<input type="hidden" name="field_value" value="[% authtypecode | html %]" /> |
| 470 |
[% END %] |
| 471 |
</form> |
| 472 |
|
| 473 |
[% INCLUDE 'modals/cataloguing_create_av.inc' %] |
| 474 |
|
459 |
|
| 475 |
</div> |
460 |
[% IF ( oldauthnumtagfield ) %] |
| 476 |
</div> |
461 |
<input type="hidden" name="tag" value="[% oldauthnumtagfield | html %]" /> |
| 477 |
</div> |
462 |
<input type="hidden" name="subfield" value="[% oldauthnumtagsubfield | html %]" /> |
|
|
463 |
<input type="hidden" name="field_value" value="[% authid | html %]" /> |
| 464 |
<input type="hidden" name="mandatory" value="0" /> |
| 465 |
<input type="hidden" name="kohafield" value="[% kohafield | html %]" /> |
| 466 |
<input type="hidden" name="tag_mandatory" value="[% tag_mandatory | html %]" /> |
| 467 |
<input type="hidden" name="tag" value="[% oldauthtypetagfield | html %]" /> |
| 468 |
<input type="hidden" name="subfield" value="[% oldauthtypetagsubfield | html %]" /> |
| 469 |
<input type="hidden" name="field_value" value="[% authtypecode | html %]" /> |
| 470 |
[% END # /IF ( oldauthnumtagfield ) %] |
| 471 |
</form> |
| 472 |
|
| 473 |
[% INCLUDE 'modals/cataloguing_create_av.inc' %] |
| 474 |
|
| 475 |
</div> <!-- /.col-md-8.col-md-offset-2 --> |
| 476 |
</div> <!-- /.row --> |
| 477 |
</div> <!-- .main.container-fluid --> |
| 478 |
|
478 |
|
| 479 |
[% INCLUDE 'intranet-bottom.inc' %] |
479 |
[% INCLUDE 'intranet-bottom.inc' %] |
| 480 |
- |
|
|