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