Lines 1-7
Link Here
|
|
|
1 |
[% PROCESS 'i18n.inc' %] |
1 |
[% USE Asset %] |
2 |
[% USE Asset %] |
2 |
[% USE Koha %] |
3 |
[% USE Koha %] |
3 |
[% INCLUDE 'doc-head-open.inc' %] |
4 |
[% INCLUDE 'doc-head-open.inc' %] |
4 |
<title>Koha › Cataloging › [% IF ( biblionumber ) %]Editing [% title |html %] (Record number [% biblionumber %])[% ELSE %]Add MARC record[% END %]</title> |
5 |
<title>[% t('Koha › Cataloging ›') %] [% IF ( biblionumber ) %][% t('Editing') %] [% title |html %] [% t('(Record number') %] [% biblionumber %])[% ELSE %][% t('Add MARC record') %][% END %]</title> |
5 |
[% INCLUDE 'doc-head-close.inc' %] |
6 |
[% INCLUDE 'doc-head-close.inc' %] |
6 |
[% Asset.js("lib/jquery/plugins/jquery.fixFloat.js") %] |
7 |
[% Asset.js("lib/jquery/plugins/jquery.fixFloat.js") %] |
7 |
[% Asset.js("js/cataloging.js") %] |
8 |
[% Asset.js("js/cataloging.js") %] |
Lines 406-417
function Changefwk() {
Link Here
|
406 |
<body id="cat_addbiblio" class="cat"> |
407 |
<body id="cat_addbiblio" class="cat"> |
407 |
|
408 |
|
408 |
<div id="loading"> |
409 |
<div id="loading"> |
409 |
<div>Loading, please wait...</div> |
410 |
<div>[% t('Loading, please wait...') %]</div> |
410 |
</div> |
411 |
</div> |
411 |
|
412 |
|
412 |
[% INCLUDE 'header.inc' %] |
413 |
[% INCLUDE 'header.inc' %] |
413 |
|
414 |
|
414 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a> › [% IF ( biblionumber ) %]Editing <em>[% title |html %]</em> (Record number [% biblionumber %])[% ELSE %]Add MARC record[% END %]</div> |
415 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/cataloguing/addbooks.pl">[% t('Cataloging') %]</a> › [% IF ( biblionumber ) %][% t('Editing') %] <em>[% title |html %]</em> [% t('(Record number') %] [% biblionumber %])[% ELSE %][% t('Add MARC record') %][% END %]</div> |
415 |
|
416 |
|
416 |
<div id="doc" class="yui-t7"> |
417 |
<div id="doc" class="yui-t7"> |
417 |
|
418 |
|
Lines 420-427
function Changefwk() {
Link Here
|
420 |
<div class="yui-g"> |
421 |
<div class="yui-g"> |
421 |
|
422 |
|
422 |
<h1> |
423 |
<h1> |
423 |
[% IF ( biblionumber ) %]Editing <em>[% title |html %]</em> (Record number [% biblionumber %]) |
424 |
[% IF ( biblionumber ) %][% t('Editing') %] <em>[% title |html %]</em> [% t('(Record number') %] [% biblionumber %]) |
424 |
[% ELSE %]Add MARC record [% IF (circborrowernumber) %]<em>(fast cataloging)</em>[% END %] |
425 |
[% ELSE %][% t('Add MARC record') %] [% IF (circborrowernumber) %]<em>[% t('(fast cataloging)') %]</em>[% END %] |
425 |
[% END %] |
426 |
[% END %] |
426 |
</h1> |
427 |
</h1> |
427 |
|
428 |
|
Lines 429-445
function Changefwk() {
Link Here
|
429 |
<!-- show duplicate warning on tab 0 only --> |
430 |
<!-- show duplicate warning on tab 0 only --> |
430 |
[% IF ( duplicatebiblionumber ) %] |
431 |
[% IF ( duplicatebiblionumber ) %] |
431 |
<div class="dialog alert"> |
432 |
<div class="dialog alert"> |
432 |
<h3>Duplicate record suspected</h3> |
433 |
<h3>[% t('Duplicate record suspected') %]</h3> |
433 |
<p>Is this a duplicate of <a class="popup" href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% duplicatebiblionumber %]" onclick="openWindow('/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% duplicatebiblionumber %]&popup=1', 'DuplicateBiblio','800','600'); return false;">[% duplicatetitle %]</a> ?</p> |
434 |
<p>[% t('Is this a duplicate of') %] <a class="popup" href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% duplicatebiblionumber %]" onclick="openWindow('/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% duplicatebiblionumber %]&popup=1', 'DuplicateBiblio','800','600'); return false;">[% duplicatetitle %]</a> ?</p> |
434 |
[% IF ( CAN_user_editcatalogue_edit_items ) %]<form action="/cgi-bin/koha/cataloguing/additem.pl" method="get"> |
435 |
[% IF ( CAN_user_editcatalogue_edit_items ) %]<form action="/cgi-bin/koha/cataloguing/additem.pl" method="get"> |
435 |
<input type="hidden" name="biblionumber" value="[% duplicatebiblionumber %]" /> |
436 |
<input type="hidden" name="biblionumber" value="[% duplicatebiblionumber %]" /> |
436 |
<button type="submit" class="new"><i class="fa fa-fw fa-pencil"></i> Yes, edit existing items</button> |
437 |
<button type="submit" class="new"><i class="fa fa-fw fa-pencil"></i> [% t('Yes, edit existing items') %]</button> |
437 |
</form>[% ELSE %]<form action="/cgi-bin/koha/catalogue/detail.pl" method="get"> |
438 |
</form>[% ELSE %]<form action="/cgi-bin/koha/catalogue/detail.pl" method="get"> |
438 |
<input type="hidden" name="biblionumber" value="[% duplicatebiblionumber %]" /> |
439 |
<input type="hidden" name="biblionumber" value="[% duplicatebiblionumber %]" /> |
439 |
<input type="submit" value="Yes: View existing items" /> |
440 |
<input type="submit" value="Yes: View existing items" /> |
440 |
</form>[% END %] |
441 |
</form>[% END %] |
441 |
<form action="/cgi-bin/koha/cataloguing/addbiblio.pl" method="get"> |
442 |
<form action="/cgi-bin/koha/cataloguing/addbiblio.pl" method="get"> |
442 |
[% IF ( CAN_user_editcatalogue_edit_items ) %]<button type="submit" class="new" onclick="confirmnotdup('items'); return false;"><i class="fa fa-fw fa-save"></i> No, save as new record</button>[% ELSE %]<button type="submit" class="new" onclick="confirmnotdup('view'); return false;"><i class="fa fa-fw fa-save"></i> No, save as new record</button>[% END %] |
443 |
[% IF ( CAN_user_editcatalogue_edit_items ) %]<button type="submit" class="new" onclick="confirmnotdup('items'); return false;"><i class="fa fa-fw fa-save"></i> [% t('No, save as new record') %]</button>[% ELSE %]<button type="submit" class="new" onclick="confirmnotdup('view'); return false;"><i class="fa fa-fw fa-save"></i> [% t('No, save as new record') %]</button>[% END %] |
443 |
</form> |
444 |
</form> |
444 |
</div> |
445 |
</div> |
445 |
[% END %] |
446 |
[% END %] |
Lines 462-514
function Changefwk() {
Link Here
|
462 |
[% IF CAN_user_editcatalogue_edit_items or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %] |
463 |
[% IF CAN_user_editcatalogue_edit_items or ( frameworkcode == 'FA' and CAN_user_editcatalogue_fast_cataloging ) %] |
463 |
[% IF (circborrowernumber) %][%# fast cataloging must lead to items %] |
464 |
[% IF (circborrowernumber) %][%# fast cataloging must lead to items %] |
464 |
<!-- Action is under fast cataloging - Save button redirecting to items --> |
465 |
<!-- Action is under fast cataloging - Save button redirecting to items --> |
465 |
<div class="btn-group"><a href="#" id="saveanditems" class="btn btn-default btn-sm"><i class="fa fa-save"></i> Save</a></div> |
466 |
<div class="btn-group"><a href="#" id="saveanditems" class="btn btn-default btn-sm"><i class="fa fa-save"></i> [% t('Save') %]</a></div> |
466 |
[% ELSE %] |
467 |
[% ELSE %] |
467 |
<!-- Not using fast cataloging - Display split menu --> |
468 |
<!-- Not using fast cataloging - Display split menu --> |
468 |
<div class="btn-group"> |
469 |
<div class="btn-group"> |
469 |
<button class="btn btn-default btn-sm" id="saverecord"><i class="fa fa-save"></i> Save</button> |
470 |
<button class="btn btn-default btn-sm" id="saverecord"><i class="fa fa-save"></i> [% t('Save') %]</button> |
470 |
<button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"> |
471 |
<button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"> |
471 |
<span class="caret"></span> |
472 |
<span class="caret"></span> |
472 |
</button> |
473 |
</button> |
473 |
<ul class="dropdown-menu"> |
474 |
<ul class="dropdown-menu"> |
474 |
<li><a id="saveandview" href="#">Save and view record</a></li> |
475 |
<li><a id="saveandview" href="#">[% t('Save and view record') %]</a></li> |
475 |
<li><a id="saveanditems" href="#">Save and edit items</a></li> |
476 |
<li><a id="saveanditems" href="#">[% t('Save and edit items') %]</a></li> |
476 |
<li><a id="saveandcontinue" href="#">Save and continue editing</a></li> |
477 |
<li><a id="saveandcontinue" href="#">[% t('Save and continue editing') %]</a></li> |
477 |
</ul> |
478 |
</ul> |
478 |
</div> |
479 |
</div> |
479 |
[% END %] |
480 |
[% END %] |
480 |
[% ELSE %] |
481 |
[% ELSE %] |
481 |
<!-- User cannot edit items - single button redirecting to view --> |
482 |
<!-- User cannot edit items - single button redirecting to view --> |
482 |
<div class="btn-group"><a href="#" id="saveandview" class="btn btn-default btn-sm"><i class="fa fa-save"></i> Save</a></div> |
483 |
<div class="btn-group"><a href="#" id="saveandview" class="btn btn-default btn-sm"><i class="fa fa-save"></i> [% t('Save') %]</a></div> |
483 |
[% END %] |
484 |
[% END %] |
484 |
|
485 |
|
485 |
[% UNLESS (circborrowernumber) %][%# Hide in fast cataloging %] |
486 |
[% UNLESS (circborrowernumber) %][%# Hide in fast cataloging %] |
486 |
<div class="btn-group"><a class="btn btn-default btn-sm" href="#" id="z3950search"><i class="fa fa-search"></i> Z39.50/SRU search</a></div> |
487 |
<div class="btn-group"><a class="btn btn-default btn-sm" href="#" id="z3950search"><i class="fa fa-search"></i> [% t('Z39.50/SRU search') %]</a></div> |
487 |
[% END %] |
488 |
[% END %] |
488 |
|
489 |
|
489 |
<div class="btn-group"> |
490 |
<div class="btn-group"> |
490 |
<button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-cog"></i> Settings <span class="caret"></span></button> |
491 |
<button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-cog"></i> [% t('Settings') %] <span class="caret"></span></button> |
491 |
<ul id="settings-menu" class="dropdown-menu"> |
492 |
<ul id="settings-menu" class="dropdown-menu"> |
492 |
[% IF Koha.Preference( 'EnableAdvancedCatalogingEditor' ) == 1 %] |
493 |
[% IF Koha.Preference( 'EnableAdvancedCatalogingEditor' ) == 1 %] |
493 |
<li><a href="#" id="switcheditor">Switch to advanced editor</a></li> |
494 |
<li><a href="#" id="switcheditor">[% t('Switch to advanced editor') %]</a></li> |
494 |
[% END %] |
495 |
[% END %] |
495 |
[% IF marcflavour != 'NORMARC' AND NOT advancedMARCEditor %] |
496 |
[% IF marcflavour != 'NORMARC' AND NOT advancedMARCEditor %] |
496 |
<li> |
497 |
<li> |
497 |
<a href="#" id="marcDocsSelect"><i class="fa fa-check-square-o"></i> Show MARC tag documentation links</a> |
498 |
<a href="#" id="marcDocsSelect"><i class="fa fa-check-square-o"></i> [% t('Show MARC tag documentation links') %]</a> |
498 |
<li> |
499 |
<li> |
499 |
<a href="#" id="marcTagsSelect"><i class="fa fa-check-square-o"></i> Show tags</a> |
500 |
<a href="#" id="marcTagsSelect"><i class="fa fa-check-square-o"></i> [% t('Show tags') %]</a> |
500 |
</li> |
501 |
</li> |
501 |
[% END %] |
502 |
[% END %] |
502 |
<li class="divider"></li> |
503 |
<li class="divider"></li> |
503 |
<li class="nav-header">Change framework</li> |
504 |
<li class="nav-header">[% t('Change framework') %]</li> |
504 |
<li> |
505 |
<li> |
505 |
<a href="#" class="change-framework" data-frameworkcode=""> |
506 |
<a href="#" class="change-framework" data-frameworkcode=""> |
506 |
[% IF ( frameworkcode ) %] |
507 |
[% IF ( frameworkcode ) %] |
507 |
<i class="fa fa-fw"> </i> |
508 |
<i class="fa fa-fw"> </i> |
508 |
[% ELSE %] |
509 |
[% ELSE %] |
509 |
<i class="fa fa-fw fa-check"></i> |
510 |
<i class="fa fa-fw fa-check"></i> |
510 |
[% END %] |
511 |
[% END %] |
511 |
Default |
512 |
[% t('Default') %] |
512 |
</a> |
513 |
</a> |
513 |
</li> |
514 |
</li> |
514 |
[% FOREACH framework IN frameworks%] |
515 |
[% FOREACH framework IN frameworks%] |
Lines 517-523
function Changefwk() {
Link Here
|
517 |
[% IF framework.frameworkcode == frameworkcode %] |
518 |
[% IF framework.frameworkcode == frameworkcode %] |
518 |
<i class="fa fa-fw fa-check"></i> |
519 |
<i class="fa fa-fw fa-check"></i> |
519 |
[% ELSE %] |
520 |
[% ELSE %] |
520 |
<i class="fa fa-fw"> </i> |
521 |
<i class="fa fa-fw"> </i> |
521 |
[% END %] |
522 |
[% END %] |
522 |
[% framework.frameworktext %] |
523 |
[% framework.frameworktext %] |
523 |
</a> |
524 |
</a> |
Lines 529-559
function Changefwk() {
Link Here
|
529 |
[% IF (biblionumber) %] |
530 |
[% IF (biblionumber) %] |
530 |
[% IF ( BiblioDefaultViewmarc ) %] |
531 |
[% IF ( BiblioDefaultViewmarc ) %] |
531 |
<div class="btn-group"> |
532 |
<div class="btn-group"> |
532 |
<a class="btn btn-default btn-sm" id="cancel" href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% biblionumber |url %]">Cancel</a> |
533 |
<a class="btn btn-default btn-sm" id="cancel" href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% biblionumber |url %]">[% t('Cancel') %]</a> |
533 |
</div> |
534 |
</div> |
534 |
[% ELSIF ( BiblioDefaultViewlabeled_marc ) %] |
535 |
[% ELSIF ( BiblioDefaultViewlabeled_marc ) %] |
535 |
<div class="btn-group"> |
536 |
<div class="btn-group"> |
536 |
<a class="btn btn-default btn-sm" id="cancel" href="/cgi-bin/koha/catalogue/labeledMARCdetail.pl?biblionumber=[% biblionumber |url %]">Cancel</a> |
537 |
<a class="btn btn-default btn-sm" id="cancel" href="/cgi-bin/koha/catalogue/labeledMARCdetail.pl?biblionumber=[% biblionumber |url %]">[% t('Cancel') %]</a> |
537 |
</div> |
538 |
</div> |
538 |
[% ELSIF ( BiblioDefaultViewisbd ) %] |
539 |
[% ELSIF ( BiblioDefaultViewisbd ) %] |
539 |
<div class="btn-group"> |
540 |
<div class="btn-group"> |
540 |
<a class="btn btn-default btn-sm" id="cancel" href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=[% biblionumber |url %]">Cancel</a> |
541 |
<a class="btn btn-default btn-sm" id="cancel" href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=[% biblionumber |url %]">[% t('Cancel') %]</a> |
541 |
</div> |
542 |
</div> |
542 |
[% ELSE %] |
543 |
[% ELSE %] |
543 |
<div class="btn-group"> |
544 |
<div class="btn-group"> |
544 |
<a class="btn btn-default btn-sm" id="cancel" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber |url %]">Cancel</a> |
545 |
<a class="btn btn-default btn-sm" id="cancel" href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber |url %]">[% t('Cancel') %]</a> |
545 |
</div> |
546 |
</div> |
546 |
[% END %] |
547 |
[% END %] |
547 |
[% ELSE %] |
548 |
[% ELSE %] |
548 |
<a class="btn btn-default btn-sm" id="cancel" href="/cgi-bin/koha/cataloguing/addbooks.pl">Cancel</a> |
549 |
<a class="btn btn-default btn-sm" id="cancel" href="/cgi-bin/koha/cataloguing/addbooks.pl">[% t('Cancel') %]</a> |
549 |
[% END %] |
550 |
[% END %] |
550 |
[% END %] |
551 |
[% END %] |
551 |
</div> |
552 |
</div> |
552 |
|
553 |
|
553 |
[% IF bib_doesnt_exist %] |
554 |
[% IF bib_doesnt_exist %] |
554 |
<div class="dialog alert"> |
555 |
<div class="dialog alert"> |
555 |
The record you are trying to edit doesn't exist.<br> |
556 |
[% t('The record you are trying to edit doesn\'t exist.') %]<br> |
556 |
<a href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=">Add a new record</a> or <a href="/cgi-bin/koha/catalogue/search.pl">do a catalog search</a>. |
557 |
<a href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=">[% t('Add a new record') %]</a> [% t('or') %] <a href="/cgi-bin/koha/catalogue/search.pl">[% t('do a catalog search') %]</a>. |
557 |
</div> |
558 |
</div> |
558 |
[% END %] |
559 |
[% END %] |
559 |
|
560 |
|
Lines 581-636
function Changefwk() {
Link Here
|
581 |
<div class="tag" id="tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]"> |
582 |
<div class="tag" id="tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]"> |
582 |
<div class="tag_title" id="div_indicator_tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]"> |
583 |
<div class="tag_title" id="div_indicator_tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]"> |
583 |
[% IF advancedMARCEditor %] |
584 |
[% IF advancedMARCEditor %] |
584 |
<a href="#" tabindex="1" class="tagnum" title="[% innerloo.tag_lib %] - Click to Expand this Tag" onclick="ExpandField('tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]'); return false;">[% innerloo.tag %]</a> |
585 |
<a href="#" tabindex="1" class="tagnum" title="[% innerloo.tag_lib %] [% t('- Click to Expand this Tag') %]" onclick="ExpandField('tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]'); return false;">[% innerloo.tag %]</a> |
585 |
[% ELSE %] |
586 |
[% ELSE %] |
586 |
<span class="tagnum" title="[% innerloo.tag_lib %]">[% innerloo.tag %]</span> |
587 |
<span class="tagnum" title="[% innerloo.tag_lib %]">[% innerloo.tag %]</span> |
587 |
[% IF marcflavour != 'NORMARC' %]<a href="#" class="marcdocs" onclick="PopupMARCFieldDoc('[% innerloo.tag %]'); return false;"> ?</a>[% END %] |
588 |
[% IF marcflavour != 'NORMARC' %]<a href="#" class="marcdocs" onclick="PopupMARCFieldDoc('[% innerloo.tag %]'); return false;"> ?</a>[% END %] |
588 |
[% END %] |
589 |
[% END %] |
589 |
[% IF ( innerloo.fixedfield ) %] |
590 |
[% IF ( innerloo.fixedfield ) %] |
590 |
<input type="text" |
591 |
<input type="text" tabindex="1" class="indicator flat" style="display:none;" name="tag_[% innerloo.tag %]_indicator1_[% innerloo.index %][% innerloo.random %]" size="1" maxlength="1" value="[% innerloo.indicator1 %]" /> |
591 |
tabindex="1" |
592 |
<input type="text" tabindex="1" class="indicator flat" style="display:none;" name="tag_[% innerloo.tag %]_indicator2_[% innerloo.index %][% innerloo.random %]" size="1" maxlength="1" value="[% innerloo.indicator2 %]" /> |
592 |
class="indicator flat" |
|
|
593 |
style="display:none;" |
594 |
name="tag_[% innerloo.tag %]_indicator1_[% innerloo.index %][% innerloo.random %]" |
595 |
size="1" |
596 |
maxlength="1" |
597 |
value="[% innerloo.indicator1 %]" /> |
598 |
<input type="text" |
599 |
tabindex="1" |
600 |
class="indicator flat" |
601 |
style="display:none;" |
602 |
name="tag_[% innerloo.tag %]_indicator2_[% innerloo.index %][% innerloo.random %]" |
603 |
size="1" |
604 |
maxlength="1" |
605 |
value="[% innerloo.indicator2 %]" /> |
606 |
[% ELSE %] |
593 |
[% ELSE %] |
607 |
<input type="text" |
594 |
<input type="text" tabindex="1" class="indicator flat" name="tag_[% innerloo.tag %]_indicator1_[% innerloo.index %][% innerloo.random %]" size="1" maxlength="1" value="[% innerloo.indicator1 %]" /> |
608 |
tabindex="1" |
595 |
<input type="text" tabindex="1" class="indicator flat" name="tag_[% innerloo.tag %]_indicator2_[% innerloo.index %][% innerloo.random %]" size="1" maxlength="1" value="[% innerloo.indicator2 %]" /> |
609 |
class="indicator flat" |
|
|
610 |
name="tag_[% innerloo.tag %]_indicator1_[% innerloo.index %][% innerloo.random %]" |
611 |
size="1" |
612 |
maxlength="1" |
613 |
value="[% innerloo.indicator1 %]" /> |
614 |
<input type="text" |
615 |
tabindex="1" |
616 |
class="indicator flat" |
617 |
name="tag_[% innerloo.tag %]_indicator2_[% innerloo.index %][% innerloo.random %]" |
618 |
size="1" |
619 |
maxlength="1" |
620 |
value="[% innerloo.indicator2 %]" /> |
621 |
[% END %] - |
596 |
[% END %] - |
622 |
|
597 |
|
623 |
[% UNLESS advancedMARCEditor %] |
598 |
[% UNLESS advancedMARCEditor %] |
624 |
<a href="#" tabindex="1" class="expandfield" onclick="ExpandField('tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]'); return false;" title="Click to Expand this Tag">[% innerloo.tag_lib %]</a> |
599 |
<a href="#" tabindex="1" class="expandfield" onclick="ExpandField('tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]'); return false;" title="[% t('Click to Expand this Tag') %]">[% innerloo.tag_lib %]</a> |
625 |
[% END %] |
600 |
[% END %] |
626 |
<span class="field_controls"> |
601 |
<span class="field_controls"> |
627 |
[% IF ( innerloo.repeatable ) %] |
602 |
[% IF ( innerloo.repeatable ) %] |
628 |
<a href="#" tabindex="1" class="buttonPlus" onclick="CloneField('tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]','0','[% advancedMARCEditor %]'); return false;" title="Repeat this Tag"> |
603 |
<a href="#" tabindex="1" class="buttonPlus" onclick="CloneField('tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]','0','[% advancedMARCEditor %]'); return false;" title="[% t('Repeat this Tag') %]"> |
629 |
<img src="[% interface %]/[% theme %]/img/repeat-tag.png" alt="Repeat this Tag" /> |
604 |
<img src="[% interface %]/[% theme %]/img/repeat-tag.png" alt="[% t('Repeat this Tag') %]" /> |
630 |
</a> |
605 |
</a> |
631 |
[% END %] |
606 |
[% END %] |
632 |
<a href="#" tabindex="1" class="buttonMinus" onclick="UnCloneField('tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]'); return false;" title="Delete this Tag"> |
607 |
<a href="#" tabindex="1" class="buttonMinus" onclick="UnCloneField('tag_[% innerloo.tag %]_[% innerloo.index %][% innerloo.random %]'); return false;" title="[% t('Delete this Tag') %]"> |
633 |
<img src="[% interface %]/[% theme %]/img/delete-tag.png" alt="Delete this Tag" /> |
608 |
<img src="[% interface %]/[% theme %]/img/delete-tag.png" alt="[% t('Delete this Tag') %]" /> |
634 |
</a> |
609 |
</a> |
635 |
</span> |
610 |
</span> |
636 |
|
611 |
|
Lines 648-672
function Changefwk() {
Link Here
|
648 |
|
623 |
|
649 |
<span class="subfieldcode"> |
624 |
<span class="subfieldcode"> |
650 |
[% IF ( subfield_loo.fixedfield ) %] |
625 |
[% IF ( subfield_loo.fixedfield ) %] |
651 |
<img class="buttonUp" style="display:none;" src="[% interface %]/[% theme %]/img/up.png" onclick="upSubfield('subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]')" alt="Move Up" title="Move Up" /> |
626 |
<img class="buttonUp" style="display:none;" src="[% interface %]/[% theme %]/img/up.png" onclick="upSubfield('subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]')" alt="[% t('Move Up') %]" title="[% t('Move Up') %]" /> |
652 |
[% ELSE %] |
627 |
[% ELSE %] |
653 |
<img class="buttonUp" src="[% interface %]/[% theme %]/img/up.png" onclick="upSubfield('subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]')" alt="Move Up" title="Move Up" /> |
628 |
<img class="buttonUp" src="[% interface %]/[% theme %]/img/up.png" onclick="upSubfield('subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]')" alt="[% t('Move Up') %]" title="[% t('Move Up') %]" /> |
654 |
[% END %] |
629 |
[% END %] |
655 |
<input type="text" |
630 |
<input type="text" title="[% subfield_loo.marc_lib %]" style=" [% IF ( subfield_loo.fixedfield ) %]display:none; [% END %]border:0;" name="tag_[% subfield_loo.tag %]_code_[% subfield_loo.subfield %]_[% subfield_loo.index %]_[% subfield_loo.index_subfield %]" value="[% subfield_loo.subfield %]" size="1" maxlength="1" class="flat" tabindex="0" /> |
656 |
title="[% subfield_loo.marc_lib %]" |
|
|
657 |
style=" [% IF ( subfield_loo.fixedfield ) %]display:none; [% END %]border:0;" |
658 |
name="tag_[% subfield_loo.tag %]_code_[% subfield_loo.subfield %]_[% subfield_loo.index %]_[% subfield_loo.index_subfield %]" |
659 |
value="[% subfield_loo.subfield %]" |
660 |
size="1" |
661 |
maxlength="1" |
662 |
class="flat" |
663 |
tabindex="0" /> |
664 |
</span> |
631 |
</span> |
665 |
|
632 |
|
666 |
[% UNLESS advancedMARCEditor %] |
633 |
[% UNLESS advancedMARCEditor %] |
667 |
[% IF ( subfield_loo.mandatory ) %]<span class="subfield subfield_mandatory">[% ELSE %]<span class="subfield">[% END %] |
634 |
[% IF ( subfield_loo.mandatory ) %]<span class="subfield subfield_mandatory">[% ELSE %]<span class="subfield">[% END %] |
668 |
[% subfield_loo.marc_lib %] |
635 |
[% subfield_loo.marc_lib %] |
669 |
[% IF ( subfield_loo.mandatory ) %]<span class="mandatory_marker" title="This field is mandatory">*</span>[% END %] |
636 |
[% IF ( subfield_loo.mandatory ) %]<span class="mandatory_marker" title="[% t('This field is mandatory') %]">*</span>[% END %] |
670 |
</span> |
637 |
</span> |
671 |
</label> |
638 |
</label> |
672 |
[% END %] |
639 |
[% END %] |
Lines 679-693
function Changefwk() {
Link Here
|
679 |
<input type="text" id="[%- mv.id -%]" name="[%- mv.name -%]" value="[%- mv.value -%]" class="input_marceditor" tabindex="1" size="[%- mv.size -%]" maxlength="[%- mv.maxlength -%]" /> |
646 |
<input type="text" id="[%- mv.id -%]" name="[%- mv.name -%]" value="[%- mv.value -%]" class="input_marceditor" tabindex="1" size="[%- mv.size -%]" maxlength="[%- mv.maxlength -%]" /> |
680 |
[% END %] |
647 |
[% END %] |
681 |
[% IF ( mv.authtype ) %] |
648 |
[% IF ( mv.authtype ) %] |
682 |
<span class="subfield_controls"><a href="#" class="buttonDot tag_editor" onclick="openAuth(this.parentNode.parentNode.getElementsByTagName('input')[1].id,'[%- mv.authtype -%]','biblio'); return false;" tabindex="1" title="Tag editor">Tag editor</a></span> |
649 |
<span class="subfield_controls"><a href="#" class="buttonDot tag_editor" onclick="openAuth(this.parentNode.parentNode.getElementsByTagName('input')[1].id,'[%- mv.authtype -%]','biblio'); return false;" tabindex="1" title="[% t('Tag editor') %]">[% t('Tag editor') %]</a></span> |
683 |
[% END %] |
650 |
[% END %] |
684 |
[% ELSIF ( mv.type == 'text_complex' ) %] |
651 |
[% ELSIF ( mv.type == 'text_complex' ) %] |
685 |
<input type="text" id="[%- mv.id -%]" name="[%- mv.name -%]" value="[%- mv.value -%]" class="input_marceditor framework_plugin" tabindex="1" size="[%- mv.size -%]" maxlength="[%- mv.maxlength -%]" /> |
652 |
<input type="text" id="[%- mv.id -%]" name="[%- mv.name -%]" value="[%- mv.value -%]" class="input_marceditor framework_plugin" tabindex="1" size="[%- mv.size -%]" maxlength="[%- mv.maxlength -%]" /> |
686 |
<span class="subfield_controls"> |
653 |
<span class="subfield_controls"> |
687 |
[% IF mv.noclick %] |
654 |
[% IF mv.noclick %] |
688 |
<a href="#" class="buttonDot tag_editor disabled" tabindex="-1" title="No popup"></a> |
655 |
<a href="#" class="buttonDot tag_editor disabled" tabindex="-1" title="[% t('No popup') %]"></a> |
689 |
[% ELSE %] |
656 |
[% ELSE %] |
690 |
<a href="#" id="buttonDot_[% mv.id %]" class="buttonDot tag_editor framework_plugin" tabindex="1" title="Tag editor">Tag editor</a> |
657 |
<a href="#" id="buttonDot_[% mv.id %]" class="buttonDot tag_editor framework_plugin" tabindex="1" title="[% t('Tag editor') %]">[% t('Tag editor') %]</a> |
691 |
[% END %] |
658 |
[% END %] |
692 |
</span> |
659 |
</span> |
693 |
[% mv.javascript %] |
660 |
[% mv.javascript %] |
Lines 710-719
function Changefwk() {
Link Here
|
710 |
<span class="subfield_controls"> |
677 |
<span class="subfield_controls"> |
711 |
[% IF ( subfield_loo.repeatable ) %] |
678 |
[% IF ( subfield_loo.repeatable ) %] |
712 |
<a href="#" class="buttonPlus" tabindex="1" onclick="CloneSubfield('subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]','[% advancedMARCEditor %]'); return false;"> |
679 |
<a href="#" class="buttonPlus" tabindex="1" onclick="CloneSubfield('subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]','[% advancedMARCEditor %]'); return false;"> |
713 |
<img src="[% interface %]/[% theme %]/img/clone-subfield.png" alt="Clone" title="Clone this subfield" /> |
680 |
<img src="[% interface %]/[% theme %]/img/clone-subfield.png" alt="[% t('Clone') %]" title="[% t('Clone this subfield') %]" /> |
714 |
</a> |
681 |
</a> |
715 |
<a href="#" class="buttonMinus" tabindex="1" onclick="UnCloneField('subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]'); return false;"> |
682 |
<a href="#" class="buttonMinus" tabindex="1" onclick="UnCloneField('subfield[% subfield_loo.tag %][% subfield_loo.subfield %][% subfield_loo.random %]'); return false;"> |
716 |
<img src="[% interface %]/[% theme %]/img/delete-subfield.png" alt="Delete" title="Delete this subfield" /> |
683 |
<img src="[% interface %]/[% theme %]/img/delete-subfield.png" alt="[% t('Delete') %]" title="[% t('Delete this subfield') %]" /> |
717 |
</a> |
684 |
</a> |
718 |
[% END %] |
685 |
[% END %] |
719 |
</span> |
686 |
</span> |