View | Details | Raw Unified | Return to bug 20988
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt (-85 / +52 lines)
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 &rsaquo; Cataloging &rsaquo; [% 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> &rsaquo; <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>  &rsaquo; [% 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 %]&amp;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">&nbsp;</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">&nbsp;</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;">&nbsp;?</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>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt (-45 / +46 lines)
Lines 1-7 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Koha %]
2
[% USE Koha %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Koha &rsaquo; Cataloging</title>
5
<title>[% t('Koha › Cataloging') %]</title>
5
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
6
</head>
7
</head>
7
8
Lines 9-15 Link Here
9
[% INCLUDE 'header.inc' %]
10
[% INCLUDE 'header.inc' %]
10
[% INCLUDE 'cataloging-search.inc' %]
11
[% INCLUDE 'cataloging-search.inc' %]
11
12
12
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; Cataloging</div>
13
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> [% t('› Cataloging') %]</div>
13
14
14
<div id="doc" class="yui-t7">
15
<div id="doc" class="yui-t7">
15
16
Lines 19-30 Link Here
19
[% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
20
[% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
20
  <div id="toolbar" class="btn-toolbar">
21
  <div id="toolbar" class="btn-toolbar">
21
        [% IF Koha.Preference( 'EnableAdvancedCatalogingEditor' ) == 1 %]
22
        [% IF Koha.Preference( 'EnableAdvancedCatalogingEditor' ) == 1 %]
22
            <a id="useadvanced" href="/cgi-bin/koha/cataloguing/editor.pl" class="btn btn-default btn-sm"><i class="fa fa-pencil"></i> Advanced editor</a>
23
            <a id="useadvanced" href="/cgi-bin/koha/cataloguing/editor.pl" class="btn btn-default btn-sm"><i class="fa fa-pencil"></i> [% t('Advanced editor') %]</a>
23
        [% END %]
24
        [% END %]
24
        <div class="btn-group">
25
        <div class="btn-group">
25
            <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> New record <span class="caret"></span></button>
26
            <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> [% t('New record') %] <span class="caret"></span></button>
26
            <ul class="dropdown-menu">
27
            <ul class="dropdown-menu">
27
                <li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=">Default framework</a></li>
28
                <li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=">[% t('Default framework') %]</a></li>
28
                [% FOREACH framework IN frameworks %]
29
                [% FOREACH framework IN frameworks %]
29
                    <li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=[% framework.frameworkcode %]">[% framework.frameworktext %]</a></li>
30
                    <li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=[% framework.frameworkcode %]">[% framework.frameworktext %]</a></li>
30
                [% END %]
31
                [% END %]
Lines 32-43 Link Here
32
        </div>
33
        </div>
33
        [% IF servers.count > 0 %]
34
        [% IF servers.count > 0 %]
34
        <div class="btn-group">
35
        <div class="btn-group">
35
            <button class="btn btn-default btn-sm" id="z3950search"><i class="fa fa-search"></i> New from Z39.50/SRU</button>
36
            <button class="btn btn-default btn-sm" id="z3950search"><i class="fa fa-search"></i> [% t('New from Z39.50/SRU') %]</button>
36
            <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown">
37
            <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown">
37
                <span class="caret"></span>
38
                <span class="caret"></span>
38
            </button>
39
            </button>
39
            <ul class="dropdown-menu">
40
            <ul class="dropdown-menu">
40
                <li id="" class="z3950searchFw"><a href="#">Default framework</a></li>
41
                <li id="" class="z3950searchFw"><a href="#">[% t('Default framework') %]</a></li>
41
                [% FOREACH framework IN frameworks %]
42
                [% FOREACH framework IN frameworks %]
42
                <li id="[% framework.frameworkcode %]" class="z3950searchFw"><a href="#">[% framework.frameworktext %]</a></li>
43
                <li id="[% framework.frameworkcode %]" class="z3950searchFw"><a href="#">[% framework.frameworktext %]</a></li>
43
                [% END %]
44
                [% END %]
Lines 45-74 Link Here
45
        </div>
46
        </div>
46
        [% END %]
47
        [% END %]
47
    [% IF ( total ) %]
48
    [% IF ( total ) %]
48
        <div class="btn-group"><button type="submit" class="btn btn-default btn-sm merge-items"><i class="fa fa-compress"></i> Merge selected</button></div>
49
        <div class="btn-group"><button type="submit" class="btn btn-default btn-sm merge-items"><i class="fa fa-compress"></i> [% t('Merge selected') %]</button></div>
49
    [% END %]
50
    [% END %]
50
  </div>
51
  </div>
51
[% END %]
52
[% END %]
52
53
53
     [% IF ( noitemsfound ) %]
54
     [% IF ( noitemsfound ) %]
54
          No results found
55
          [% t('No results found') %]
55
     [% END %]
56
     [% END %]
56
57
57
[%# display the search results %]
58
[%# display the search results %]
58
59
59
[% IF ( total ) %]
60
[% IF ( total ) %]
60
<div>
61
<div>
61
    [% total %] result(s) found in catalog,
62
    [% total %] [% t('result(s) found in catalog,') %]
62
    <a href="#searchresult-breeding">[% breeding_count %] result(s) found in reservoir</a>
63
    <a href="#searchresult-breeding">[% breeding_count %] [% t('result(s) found in reservoir') %]</a>
63
</div>
64
</div>
64
<div class="pages">[% pagination_bar %]</div>
65
<div class="pages">[% pagination_bar %]</div>
65
<div class="searchresults">
66
<div class="searchresults">
66
    <table>
67
    <table>
67
        <tr>
68
        <tr>
68
            <th>&nbsp;</th>
69
            <th> </th>
69
            <th>Title</th>
70
            <th>[% t('Title') %]</th>
70
            <th>Location</th>
71
            <th>[% t('Location') %]</th>
71
            <th>&nbsp;</th>
72
            <th> </th>
72
        </tr>
73
        </tr>
73
      [% FOREACH resultsloo IN resultsloop %]
74
      [% FOREACH resultsloo IN resultsloop %]
74
        <tr>
75
        <tr>
Lines 84-100 Link Here
84
                        [% IF ( resultsloo.author ) %]
85
                        [% IF ( resultsloo.author ) %]
85
                            [% resultsloo.author %]
86
                            [% resultsloo.author %]
86
                        [% ELSE %]
87
                        [% ELSE %]
87
                            &nbsp;
88
                             
88
                        [% END %]
89
                        [% END %]
89
               [% IF ( resultsloo.isbn ) %] - [% resultsloo.isbn %] [% END %]
90
               [% IF ( resultsloo.isbn ) %] - [% resultsloo.isbn %] [% END %]
90
                        [% IF ( resultsloo.publicationyear ) %] - [% resultsloo.publicationyear %][% END %]
91
                        [% IF ( resultsloo.publicationyear ) %] - [% resultsloo.publicationyear %][% END %]
91
                        [% IF ( resultsloo.publishercode ) %]- [% resultsloo.publishercode %][% END %]
92
                        [% IF ( resultsloo.publishercode ) %]- [% resultsloo.publishercode %][% END %]
92
                        [% IF ( resultsloo.copyrightdate ) %] - [% resultsloo.copyrightdate %][% END %]
93
                        [% IF ( resultsloo.copyrightdate ) %] - [% resultsloo.copyrightdate %][% END %]
93
                        [% IF ( resultsloo.edition ) %]Edition: [% resultsloo.edition %][% END %]
94
                        [% IF ( resultsloo.edition ) %][% t('Edition:') %] [% resultsloo.edition %][% END %]
94
                        [% IF ( resultsloo.place ) %] ; [% resultsloo.place %][% END %]
95
                        [% IF ( resultsloo.place ) %] ; [% resultsloo.place %][% END %]
95
                        [% IF ( resultsloo.pages ) %] - [% resultsloo.pages %][% END %]
96
                        [% IF ( resultsloo.pages ) %] - [% resultsloo.pages %][% END %]
96
                        [% IF ( resultsloo.item('size') ) %] ; [% resultsloo.item('size') %][% END %]
97
                        [% IF ( resultsloo.item('size') ) %] ; [% resultsloo.item('size') %][% END %]
97
                        [% IF ( resultsloo.timestamp ) %] <i>(modified on [% resultsloo.timestamp %])</i>[% END %]
98
                        [% IF ( resultsloo.timestamp ) %] <i>[% t('(modified on') %] [% resultsloo.timestamp %])</i>[% END %]
98
                    </p>
99
                    </p>
99
                [% END %]
100
                [% END %]
100
                </td>
101
                </td>
Lines 117-139 Link Here
117
                        </span>
118
                        </span>
118
                    [% END %]
119
                    [% END %]
119
                    <span class="unavailable">
120
                    <span class="unavailable">
120
                        [% IF ( resultsloo.onloancount ) %] Checked out ([% resultsloo.onloancount %]),<br /> [% END %]
121
                        [% IF ( resultsloo.onloancount ) %] [% t('Checked out (') %][% resultsloo.onloancount %]),<br /> [% END %]
121
                        [% IF ( resultsloo.withdrawncount ) %] Withdrawn ([% resultsloo.withdrawncount %]),<br /> [% END %]
122
                        [% IF ( resultsloo.withdrawncount ) %] [% t('Withdrawn (') %][% resultsloo.withdrawncount %]),<br /> [% END %]
122
                        [% IF ( resultsloo.itemlostcount ) %] Lost ([% resultsloo.itemlostcount %])<br />[% END %]
123
                        [% IF ( resultsloo.itemlostcount ) %] [% t('Lost (') %][% resultsloo.itemlostcount %])<br />[% END %]
123
                        [% IF ( resultsloo.orderedcount ) %] On order ([% resultsloo.orderedcount %])<br/>[% END %]
124
                        [% IF ( resultsloo.orderedcount ) %] [% t('On order (') %][% resultsloo.orderedcount %])<br />[% END %]
124
                        [% IF ( resultsloo.notforloancount ) %] Not for loan ([% resultsloo.notforloancount %])[% END %]
125
                        [% IF ( resultsloo.notforloancount ) %] [% t('Not for loan (') %][% resultsloo.notforloancount %])[% END %]
125
                    </span>
126
                    </span>
126
                </td>
127
                </td>
127
                <td>
128
                <td>
128
                  <div class="dropup">
129
                  <div class="dropup">
129
                    <a class="btn btn-default btn-xs dropdown-toggle" id="cataloguesearchactions[% resultsloo.biblionumber %]" role="button" data-toggle="dropdown" href="#">
130
                    <a class="btn btn-default btn-xs dropdown-toggle" id="cataloguesearchactions[% resultsloo.biblionumber %]" role="button" data-toggle="dropdown" href="#">
130
                      Actions <b class="caret"></b>
131
                      [% t('Actions') %] <b class="caret"></b>
131
                    </a>
132
                    </a>
132
                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="cataloguesearchactions[% resultsloo.biblionumber %]">
133
                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="cataloguesearchactions[% resultsloo.biblionumber %]">
133
                      <li><a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% resultsloo.biblionumber %]" class="previewData"><i class="fa fa-eye"></i> MARC preview</a></li>
134
                      <li><a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% resultsloo.biblionumber %]" class="previewData"><i class="fa fa-eye"></i> [% t('MARC preview') %]</a></li>
134
                      <li><a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;id=[% resultsloo.biblionumber %]" class="previewData"><i class="fa fa-eye"></i> Card preview</a></li>
135
                      <li><a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&id=[% resultsloo.biblionumber %]" class="previewData"><i class="fa fa-eye"></i> [% t('Card preview') %]</a></li>
135
                      [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]<li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% resultsloo.biblionumber %]"><i class="fa fa-pencil"></i> Edit biblio</a></li>[% END %]
136
                      [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]<li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% resultsloo.biblionumber %]"><i class="fa fa-pencil"></i> [% t('Edit biblio') %]</a></li>[% END %]
136
                      [% IF ( CAN_user_editcatalogue_edit_items ) %]<li><a href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% resultsloo.biblionumber %]"><i class="fa fa-plus"></i> Add/Edit items</a></li>[% END %]
137
                      [% IF ( CAN_user_editcatalogue_edit_items ) %]<li><a href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% resultsloo.biblionumber %]"><i class="fa fa-plus"></i> [% t('Add/Edit items') %]</a></li>[% END %]
137
                    </ul>
138
                    </ul>
138
                  </div>
139
                  </div>
139
                </td>
140
                </td>
Lines 143-167 Link Here
143
</div>
144
</div>
144
[% ELSE %]
145
[% ELSE %]
145
    [% IF ( query ) %]
146
    [% IF ( query ) %]
146
        [% IF ( error ) %]<div class="dialog alert">[% END %]<b>No results found</b>
147
        [% IF ( error ) %]<div class="dialog alert">[% END %]<b>[% t('No results found') %]</b>
147
        [% IF ( error ) %]
148
        [% IF ( error ) %]
148
            Error: <span class="error">[% error %]</span></div>
149
            [% t('Error:') %] <span class="error">[% error %]</span></div>
149
        [% END %]
150
        [% END %]
150
    [% END %]
151
    [% END %]
151
[% END %]
152
[% END %]
152
153
153
[% IF ( query ) %]
154
[% IF ( query ) %]
154
<div id="searchresult-breeding">
155
<div id="searchresult-breeding">
155
    <h3>Biblios in reservoir</h3>
156
    <h3>[% t('Biblios in reservoir') %]</h3>
156
    [% IF ( breeding_loop ) %]
157
    [% IF ( breeding_loop ) %]
157
        <table>
158
        <table>
158
            <tr>
159
            <tr>
159
                <th>Title</th>
160
                <th>[% t('Title') %]</th>
160
                <th>ISBN</th>
161
                <th>[% t('ISBN') %]</th>
161
                <th>Date</th>
162
                <th>[% t('Date') %]</th>
162
                <th>Edition</th>
163
                <th>[% t('Edition') %]</th>
163
                <th>Coming from</th>
164
                <th>[% t('Coming from') %]</th>
164
                <th>&nbsp;</th>
165
                <th> </th>
165
            </tr>
166
            </tr>
166
            [% FOREACH breeding_loo IN breeding_loop %]
167
            [% FOREACH breeding_loo IN breeding_loop %]
167
               <tr>
168
               <tr>
Lines 174-186 Link Here
174
                <td>
175
                <td>
175
                  <div class="dropup">
176
                  <div class="dropup">
176
                    <a class="btn btn-default btn-xs dropdown-toggle" id="reservoirsearchactions[% breeding_loo.id %]" role="button" data-toggle="dropdown" href="#">
177
                    <a class="btn btn-default btn-xs dropdown-toggle" id="reservoirsearchactions[% breeding_loo.id %]" role="button" data-toggle="dropdown" href="#">
177
                      Actions <b class="caret"></b>
178
                      [% t('Actions') %] <b class="caret"></b>
178
                    </a>
179
                    </a>
179
                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="reservoirsearchactions[% breeding_loo.id %]">
180
                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="reservoirsearchactions[% breeding_loo.id %]">
180
                      <li><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.id %]" class="previewData"><i class="fa fa-eye"></i> MARC preview</a></li>
181
                      <li><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.id %]" class="previewData"><i class="fa fa-eye"></i> [% t('MARC preview') %]</a></li>
181
                      <li><a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;importid=[% breeding_loo.id %]" class="previewData"><i class="fa fa-eye"></i> Card preview</a></li>
182
                      <li><a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&importid=[% breeding_loo.id %]" class="previewData"><i class="fa fa-eye"></i> [% t('Card preview') %]</a></li>
182
                      [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
183
                      [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
183
                        <li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?breedingid=[% breeding_loo.id %]"><i class="fa fa-plus"></i> Add biblio</a></li>
184
                        <li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?breedingid=[% breeding_loo.id %]"><i class="fa fa-plus"></i> [% t('Add biblio') %]</a></li>
184
                      [% END %]
185
                      [% END %]
185
                    </ul>
186
                    </ul>
186
                  </div>
187
                  </div>
Lines 189-195 Link Here
189
            [% END %]
190
            [% END %]
190
        </table>
191
        </table>
191
    [% ELSE %]
192
    [% ELSE %]
192
    <p>None</p>
193
    <p>[% t('None') %]</p>
193
    [% END %]
194
    [% END %]
194
</div>
195
</div>
195
[% END %]
196
[% END %]
Lines 199-211 Link Here
199
    <div class="modal-content">
200
    <div class="modal-content">
200
    <div class="modal-header">
201
    <div class="modal-header">
201
        <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
202
        <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
202
        <h3 id="dataPreviewLabel">Preview</h3>
203
        <h3 id="dataPreviewLabel">[% t('Preview') %]</h3>
203
    </div>
204
    </div>
204
    <div class="modal-body">
205
    <div class="modal-body">
205
        <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> Loading </div>
206
        <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> [% t('Loading') %] </div>
206
    </div>
207
    </div>
207
    <div class="modal-footer">
208
    <div class="modal-footer">
208
        <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
209
        <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">[% t('Close') %]</button>
209
    </div>
210
    </div>
210
    </div>
211
    </div>
211
    </div>
212
    </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt (-38 / +39 lines)
Lines 1-9 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% USE Koha %]
3
[% USE Koha %]
3
[% USE ColumnsSettings %]
4
[% USE ColumnsSettings %]
4
5
5
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Koha &rsaquo; Cataloging &rsaquo; [% title |html %] [% IF ( author ) %] by [% author | html %][% END %] (Record #[% biblionumber %]) &rsaquo; Items</title>
7
<title>[% t('Koha › Cataloging ›') %] [% title |html %] [% IF ( author ) %] [% t('by') %] [% author | html %][% END %] [% t('(Record #') %][% biblionumber %][% t(') › Items') %]</title>
7
[% Asset.css("css/datatables.css") %]
8
[% Asset.css("css/datatables.css") %]
8
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'doc-head-close.inc' %]
9
[% INCLUDE 'datatables.inc' %]
10
[% INCLUDE 'datatables.inc' %]
Lines 148-157 function confirm_deletion() { Link Here
148
[% INCLUDE 'cataloging-search.inc' %]
149
[% INCLUDE 'cataloging-search.inc' %]
149
150
150
<div id="breadcrumbs">
151
<div id="breadcrumbs">
151
          <a href="/cgi-bin/koha/mainpage.pl">Home</a>
152
          <a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a>
152
 &rsaquo; <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>
153
 › <a href="/cgi-bin/koha/cataloguing/addbooks.pl">[% t('Cataloging') %]</a>
153
 &rsaquo; Edit <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber %]">[% title |html %] [% IF ( author ) %] by [% author | html %][% END %] (Record #[% biblionumber %])</a>
154
 [% t('› Edit') %] <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber %]">[% title |html %] [% IF ( author ) %] [% t('by') %] [% author | html %][% END %] [% t('(Record #') %][% biblionumber %])</a>
154
 &rsaquo; <a href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% biblionumber %]">Items</a>
155
 › <a href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% biblionumber %]">[% t('Items') %]</a>
155
</div>
156
</div>
156
157
157
<div id="doc3" class="yui-t7">
158
<div id="doc3" class="yui-t7">
Lines 159-172 function confirm_deletion() { Link Here
159
   <div id="bd">
160
   <div id="bd">
160
	<div id="yui-main">
161
	<div id="yui-main">
161
162
162
<h1>Items for [% title |html %] [% IF ( author ) %] by [% author | html %][% END %] (Record #[% biblionumber %])</h1>
163
<h1>[% t('Items for') %] [% title |html %] [% IF ( author ) %] [% t('by') %] [% author | html %][% END %] [% t('(Record #') %][% biblionumber %])</h1>
163
164
164
[% IF ( barcode_not_unique ) %]<div class="dialog alert"><strong>Error saving item</strong>: Barcode must be unique.</div>[% END %]
165
[% IF ( barcode_not_unique ) %]<div class="dialog alert"><strong>[% t('Error saving item') %]</strong>[% t(': Barcode must be unique.') %]</div>[% END %]
165
[% IF ( no_next_barcode ) %]<div class="dialog alert"><strong>Error saving items</strong>: Unable to automatically determine values for barcodes. No item has been inserted.</div>[% END %]
166
[% IF ( no_next_barcode ) %]<div class="dialog alert"><strong>[% t('Error saving items') %]</strong>[% t(': Unable to automatically determine values for barcodes. No item has been inserted.') %]</div>[% END %]
166
[% IF ( book_on_loan ) %]<div class="dialog alert"><strong>Cannot delete</strong>: item is checked out.</div>[% END %]
167
[% IF ( book_on_loan ) %]<div class="dialog alert"><strong>[% t('Cannot delete') %]</strong>[% t(': item is checked out.') %]</div>[% END %]
167
[% IF ( book_reserved ) %]<div class="dialogalert"><strong>Cannot delete</strong>: item has a waiting hold.</div>[% END %]
168
[% IF ( book_reserved ) %]<div class="dialogalert"><strong>[% t('Cannot delete') %]</strong>[% t(': item has a waiting hold.') %]</div>[% END %]
168
[% IF ( not_same_branch ) %]<div class="dialog alert"><strong>Cannot delete</strong>: The items do not belong to your library.</div>[% END %]
169
[% IF ( not_same_branch ) %]<div class="dialog alert"><strong>[% t('Cannot delete') %]</strong>[% t(': The items do not belong to your library.') %]</div>[% END %]
169
[% IF ( linked_analytics ) %]<div class="dialog alert"><strong>Cannot delete</strong>: item has linked <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]&amp;analyze=1">analytics.</a>.</div>[% END %]
170
[% IF ( linked_analytics ) %]<div class="dialog alert"><strong>[% t('Cannot delete') %]</strong>[% t(': item has linked') %] <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]&analyze=1">[% t('analytics.') %]</a>.</div>[% END %]
170
171
171
<div id="cataloguing_additem_itemlist">
172
<div id="cataloguing_additem_itemlist">
172
    [% IF ( item_loop ) %]
173
    [% IF ( item_loop ) %]
Lines 174-180 function confirm_deletion() { Link Here
174
        <table id="itemst">
175
        <table id="itemst">
175
          <thead>
176
          <thead>
176
            <tr>
177
            <tr>
177
                <th>&nbsp;</th>
178
                <th> </th>
178
                [% FOREACH item_header IN item_header_loop %]
179
                [% FOREACH item_header IN item_header_loop %]
179
                    [% IF item_header.column_name %]
180
                    [% IF item_header.column_name %]
180
                        <th data-colname="[% item_header.column_name %]">
181
                        <th data-colname="[% item_header.column_name %]">
Lines 202-230 function confirm_deletion() { Link Here
202
                        [% END %]
203
                        [% END %]
203
                    [% END %]
204
                    [% END %]
204
                    [% IF ( item_loo.nomod ) %]
205
                    [% IF ( item_loo.nomod ) %]
205
                      <td>&nbsp;</td>
206
                      <td> </td>
206
                    [% ELSE %]
207
                    [% ELSE %]
207
                      <td>
208
                      <td>
208
                          <div class="dropdown">
209
                          <div class="dropdown">
209
                          <a class="btn btn-default btn-xs dropdown-toggle" id="itemactions[% item_loo.itemnumber %]" role="button" data-toggle="dropdown" href="#">
210
                          <a class="btn btn-default btn-xs dropdown-toggle" id="itemactions[% item_loo.itemnumber %]" role="button" data-toggle="dropdown" href="#">
210
                              Actions <b class="caret"></b>
211
                              [% t('Actions') %] <b class="caret"></b>
211
                          </a>
212
                          </a>
212
                          <ul class="dropdown-menu" role="menu" aria-labelledby="itemactions[% item_loo.itemnumber %]">
213
                          <ul class="dropdown-menu" role="menu" aria-labelledby="itemactions[% item_loo.itemnumber %]">
213
214
214
                        [% IF ( item_loo.hostitemflag ) %]
215
                        [% IF ( item_loo.hostitemflag ) %]
215
                              <li><a href="additem.pl?op=edititem&amp;biblionumber=[% item_loo.hostbiblionumber %]&amp;itemnumber=[% item_loo.itemnumber %]#edititem">Edit in host</a> &nbsp; <a class="delete" href="/cgi-bin/koha/cataloguing/additem.pl?op=delinkitem&amp;biblionumber=[% biblionumber %]&amp;hostitemnumber=[% item_loo.itemnumber %]&amp;searchid=[% searchid %]">Delink</a></li>
216
                              <li><a href="additem.pl?op=edititem&biblionumber=[% item_loo.hostbiblionumber %]&itemnumber=[% item_loo.itemnumber %]#edititem">[% t('Edit in host') %]</a>   <a class="delete" href="/cgi-bin/koha/cataloguing/additem.pl?op=delinkitem&biblionumber=[% biblionumber %]&hostitemnumber=[% item_loo.itemnumber %]&searchid=[% searchid %]">[% t('Delink') %]</a></li>
216
                        [% ELSE %]
217
                        [% ELSE %]
217
                              <li><a href="additem.pl?op=edititem&amp;biblionumber=[% biblionumber %]&amp;itemnumber=[% item_loo.itemnumber %]&amp;searchid=[% searchid %]#edititem">Edit</a></li>
218
                              <li><a href="additem.pl?op=edititem&biblionumber=[% biblionumber %]&itemnumber=[% item_loo.itemnumber %]&searchid=[% searchid %]#edititem">[% t('Edit') %]</a></li>
218
                              <li><a href="additem.pl?op=dupeitem&amp;biblionumber=[% biblionumber %]&amp;itemnumber=[% item_loo.itemnumber %]&amp;searchid=[% searchid %]#additema">Duplicate</a></li>
219
                              <li><a href="additem.pl?op=dupeitem&biblionumber=[% biblionumber %]&itemnumber=[% item_loo.itemnumber %]&searchid=[% searchid %]#additema">[% t('Duplicate') %]</a></li>
219
                              <li class="print_label"><a href="/cgi-bin/koha/labels/label-edit-batch.pl?op=add&amp;number_type=itemnumber&amp;number_list=[% item_loo.itemnumber %]" target="_blank" >Print Label</a></li>
220
                              <li class="print_label"><a href="/cgi-bin/koha/labels/label-edit-batch.pl?op=add&number_type=itemnumber&number_list=[% item_loo.itemnumber %]" target="_blank">[% t('Print Label') %]</a></li>
220
                          [% IF ( item_loo.countanalytics ) %]
221
                          [% IF ( item_loo.countanalytics ) %]
221
                              <li><a href="/cgi-bin/koha/catalogue/search.pl?idx=hi&amp;q=% item_loo.itemnumber %]">View analytics</a></li>
222
                              <li><a href="/cgi-bin/koha/catalogue/search.pl?idx=hi&q=% item_loo.itemnumber %]">[% t('View analytics') %]</a></li>
222
                          [% ELSE %]
223
                          [% ELSE %]
223
                              <li><a class="delete" href="/cgi-bin/koha/cataloguing/additem.pl?op=delitem&amp;biblionumber=[% biblionumber %]&amp;itemnumber=[% item_loo.itemnumber %]&amp;searchid=[% searchid %]" onclick="return confirm_deletion();">Delete</a></li>
224
                              <li><a class="delete" href="/cgi-bin/koha/cataloguing/additem.pl?op=delitem&biblionumber=[% biblionumber %]&itemnumber=[% item_loo.itemnumber %]&searchid=[% searchid %]" onclick="return confirm_deletion();">[% t('Delete') %]</a></li>
224
                          [% END %]
225
                          [% END %]
225
                        [% END %]
226
                        [% END %]
226
                            [% IF ( OPACBaseURL ) %]
227
                            [% IF ( OPACBaseURL ) %]
227
                                <li class="view-in-opac"><a target="_blank" href="[% Koha.Preference('OPACBaseURL') %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]">OPAC view</a></li>
228
                                <li class="view-in-opac"><a target="_blank" href="[% Koha.Preference('OPACBaseURL') %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]">[% t('OPAC view') %]</a></li>
228
                            [% END %]
229
                            [% END %]
229
                          </ul>
230
                          </ul>
230
                          </div>
231
                          </div>
Lines 253-261 function confirm_deletion() { Link Here
253
    [% END %]
254
    [% END %]
254
    <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
255
    <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
255
    [% IF ( opisadd ) %]
256
    [% IF ( opisadd ) %]
256
        <h2 id="additema">Add item [% IF (circborrowernumber) %]<em>(fast cataloging)</em>[% END %]</h2>
257
        <h2 id="additema">[% t('Add item') %] [% IF (circborrowernumber) %]<em>[% t('(fast cataloging)') %]</em>[% END %]</h2>
257
    [% ELSE %]
258
    [% ELSE %]
258
        <h2 id="edititem">Edit Item #[% itemnumber %][% IF ( barcode ) %] / Barcode [% barcode %][% END %]</h2>
259
        <h2 id="edititem">[% t('Edit Item #') %][% itemnumber %][% IF ( barcode ) %] [% t('/ Barcode') %] [% barcode %][% END %]</h2>
259
    [% END %]
260
    [% END %]
260
	<fieldset class="rows">
261
	<fieldset class="rows">
261
	<ol>
262
	<ol>
Lines 290-296 function confirm_deletion() { Link Here
290
                    [% ELSE %]
291
                    [% ELSE %]
291
                        <input type="text" id="[%- mv.id -%]" name="field_value" class="input_marceditor" size="50" maxlength="[%- mv.maxlength -%]" value="[%- mv.value -%]" />
292
                        <input type="text" id="[%- mv.id -%]" name="field_value" class="input_marceditor" size="50" maxlength="[%- mv.maxlength -%]" value="[%- mv.value -%]" />
292
                        [% SET dopop = "Dopop('/cgi-bin/koha/authorities/auth_finder.pl?authtypecode=\"${mv.authtypecode}\"&index=${mv.id}','${mv.id}')" %]
293
                        [% SET dopop = "Dopop('/cgi-bin/koha/authorities/auth_finder.pl?authtypecode=\"${mv.authtypecode}\"&index=${mv.id}','${mv.id}')" %]
293
                        <a href="#" class="buttonDot"  onclick="[%- dopop -%]; return false;" title="Tag editor">...</a>
294
                        <a href="#" class="buttonDot" onclick="[%- dopop -%]; return false;" title="[% t('Tag editor') %]">...</a>
294
                    [% END %]
295
                    [% END %]
295
                [% ELSIF ( mv.type == 'text_plugin' ) %]
296
                [% ELSIF ( mv.type == 'text_plugin' ) %]
296
                    [% IF mv.readonly %]
297
                    [% IF mv.readonly %]
Lines 298-306 function confirm_deletion() { Link Here
298
                    [% ELSE %]
299
                    [% ELSE %]
299
                        <input type="text" id="[%- mv.id -%]" name="field_value" class="input_marceditor" size="50" maxlength="[%- mv.maxlength -%]" value="[%- mv.value -%]" />
300
                        <input type="text" id="[%- mv.id -%]" name="field_value" class="input_marceditor" size="50" maxlength="[%- mv.maxlength -%]" value="[%- mv.value -%]" />
300
                        [% IF ( mv.nopopup ) %]
301
                        [% IF ( mv.nopopup ) %]
301
                            <a href="#" id="buttonDot_[%- mv.id -%]" class="[%- mv.class -%]" title="No popup">...</a>
302
                            <a href="#" id="buttonDot_[%- mv.id -%]" class="[%- mv.class -%]" title="[% t('No popup') %]">...</a>
302
                        [% ELSE  %]
303
                        [% ELSE  %]
303
                            <a href="#" id="buttonDot_[%- mv.id -%]" class="[%- mv.class -%]" title="Tag editor">...</a>
304
                            <a href="#" id="buttonDot_[%- mv.id -%]" class="[%- mv.class -%]" title="[% t('Tag editor') %]">...</a>
304
                        [% END %]
305
                        [% END %]
305
                        [%- mv.javascript -%]
306
                        [%- mv.javascript -%]
306
                    [% END %]
307
                    [% END %]
Lines 312-332 function confirm_deletion() { Link Here
312
                    [% END %]
313
                    [% END %]
313
                [% ELSIF ( mv.type == 'textarea' ) %]
314
                [% ELSIF ( mv.type == 'textarea' ) %]
314
                    [% IF mv.readonly %]
315
                    [% IF mv.readonly %]
315
                        <textarea id="[%- mv.id -%]" name="field_value" class="input_marceditor" rows="5" cols="64" readonly="readonly" >[% mv.value %]</textarea>
316
                        <textarea id="[%- mv.id -%]" name="field_value" class="input_marceditor" rows="5" cols="64" readonly="readonly">[% mv.value %]</textarea>
316
                    [% ELSE %]
317
                    [% ELSE %]
317
                        <textarea id="[%- mv.id -%]" name="field_value" class="input_marceditor" rows="5" cols="64" >[% mv.value %]</textarea>
318
                        <textarea id="[%- mv.id -%]" name="field_value" class="input_marceditor" rows="5" cols="64">[% mv.value %]</textarea>
318
                    [% END %]
319
                    [% END %]
319
                [% END %]
320
                [% END %]
320
321
321
                <input type="hidden" name="tag"       value="[% ite.tag %]" />
322
                <input type="hidden" name="tag" value="[% ite.tag %]" />
322
                <input type="hidden" name="subfield"  value="[% ite.subfield %]" />
323
                <input type="hidden" name="subfield" value="[% ite.subfield %]" />
323
                <input type="hidden" name="mandatory" value="[% ite.mandatory %]" />
324
                <input type="hidden" name="mandatory" value="[% ite.mandatory %]" />
324
                [% IF ( ite.repeatable ) %]
325
                [% IF ( ite.repeatable ) %]
325
                    <a href="#" class="buttonPlus" onclick="CloneItemSubfield(this.parentNode); return false;">
326
                    <a href="#" class="buttonPlus" onclick="CloneItemSubfield(this.parentNode); return false;">
326
                        <img src="[% interface %]/[% theme %]/img/clone-subfield.png" alt="Clone" title="Clone this subfield" />
327
                        <img src="[% interface %]/[% theme %]/img/clone-subfield.png" alt="[% t('Clone') %]" title="[% t('Clone this subfield') %]" />
327
                    </a>
328
                    </a>
328
                [% END %]
329
                [% END %]
329
                [% IF ( ite.mandatory ) %] <span class="required">Required</span>[% END %]
330
                [% IF ( ite.mandatory ) %] <span class="required">[% t('Required') %]</span>[% END %]
330
            </div></li>
331
            </div></li>
331
        [% END %]
332
        [% END %]
332
    </ol>
333
    </ol>
Lines 343-358 function confirm_deletion() { Link Here
343
    -->
344
    -->
344
    <span id="addsingle">
345
    <span id="addsingle">
345
        <input type="submit" name="add_submit" value="Add item" onclick="return Check(this.form)" />
346
        <input type="submit" name="add_submit" value="Add item" onclick="return Check(this.form)" />
346
        <input type="submit" name="add_duplicate_submit" value="Add &amp; duplicate" onclick="return Check(this.form)" />
347
        <input type="submit" name="add_duplicate_submit" value="Add & duplicate" onclick="return Check(this.form)" />
347
    </span>
348
    </span>
348
    <span id="addmultiple">
349
    <span id="addmultiple">
349
        <input type="button" name="add_multiple_copies" id="add_multiple_copies" value="Add multiple copies of this item" />
350
        <input type="button" name="add_multiple_copies" id="add_multiple_copies" value="Add multiple copies of this item" />
350
    </span>
351
    </span>
351
    <fieldset id="add_multiple_copies_span">
352
    <fieldset id="add_multiple_copies_span">
352
        <label for="number_of_copies">Number of copies of this item to add: </label>
353
        <label for="number_of_copies">[% t('Number of copies of this item to add:') %] </label>
353
        <input type="text" id="number_of_copies" name="number_of_copies" value="" size="2" />
354
        <input type="text" id="number_of_copies" name="number_of_copies" value="" size="2" />
354
        <input type="submit" id="add_multiple_copies_submit" name="add_multiple_copies_submit" value="Add" onclick="javascript:return Check(this.form) && CheckMultipleAdd(this.form.number_of_copies.value);" /> <a href="#" id="cancel_add_multiple" class="cancel">Cancel</a>
355
        <input type="submit" id="add_multiple_copies_submit" name="add_multiple_copies_submit" value="Add" onclick="javascript:return Check(this.form) && CheckMultipleAdd(this.form.number_of_copies.value);" /> <a href="#" id="cancel_add_multiple" class="cancel">[% t('Cancel') %]</a>
355
        <div class="hint"><p>The barcode you enter will be incremented for each additional item.</p></div>
356
        <div class="hint"><p>[% t('The barcode you enter will be incremented for each additional item.') %]</p></div>
356
    </fieldset>
357
    </fieldset>
357
358
358
    [% ELSE %]
359
    [% ELSE %]
Lines 361-367 function confirm_deletion() { Link Here
361
    <input type="hidden" name="field_value" value="[% itemnumber %]" />
362
    <input type="hidden" name="field_value" value="[% itemnumber %]" />
362
    <input type="submit" value="Save changes" onclick="return Check(this.form)">
363
    <input type="submit" value="Save changes" onclick="return Check(this.form)">
363
    <input type="button" id="addnewitem" value="Add a new item">
364
    <input type="button" id="addnewitem" value="Add a new item">
364
    <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]">Cancel</a>
365
    <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblionumber %]">[% t('Cancel') %]</a>
365
    [% END %]</fieldset>
366
    [% END %]</fieldset>
366
    
367
    
367
    [%# Fields for fast cataloging %]
368
    [%# Fields for fast cataloging %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/editor.tt (-81 / +82 lines)
Lines 1-6 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Cataloging &rsaquo; Editor</title>
4
<title>[% t('Koha › Cataloging › Editor') %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
5
[% Asset.css("css/cateditor.css") %]
6
[% Asset.css("css/cateditor.css") %]
6
[% Asset.css("css/datatables.css") %]
7
[% Asset.css("css/datatables.css") %]
Lines 15-69 Link Here
15
<body id="cat_addbiblio" class="cat">
16
<body id="cat_addbiblio" class="cat">
16
17
17
   <div id="loading">
18
   <div id="loading">
18
       <div>Loading, please wait...</div>
19
       <div>[% t('Loading, please wait...') %]</div>
19
   </div>
20
   </div>
20
21
21
[% INCLUDE 'header.inc' %]
22
[% INCLUDE 'header.inc' %]
22
23
23
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a> &rsaquo; Editor</div>
24
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/cataloguing/addbooks.pl">[% t('Cataloging') %]</a> [% t('› Editor') %]</div>
24
25
25
<div id="doc3" class="yui-t2">
26
<div id="doc3" class="yui-t2">
26
<div id="bd">
27
<div id="bd">
27
28
28
<h1 id="title">Cataloging editor</h1>
29
<h1 id="title">[% t('Cataloging editor') %]</h1>
29
30
30
<div id="yui-main"><div class="yui-b">
31
<div id="yui-main"><div class="yui-b">
31
32
32
<div id="editor">
33
<div id="editor">
33
    <input id="import-records-input" type="file" style="display: none">
34
    <input id="import-records-input" type="file" style="display: none">
34
    <div id="toolbar" class="btn-toolbar">
35
    <div id="toolbar" class="btn-toolbar">
35
        <button class="btn btn-default btn-sm" id="new-record" title="Open fresh record"><i class="fa fa-plus"></i> <span>New record</span></button>
36
        <button class="btn btn-default btn-sm" id="new-record" title="[% t('Open fresh record') %]"><i class="fa fa-plus"></i> <span>[% t('New record') %]</span></button>
36
        <div class="btn-group">
37
        <div class="btn-group">
37
            <button class="btn btn-default btn-sm" id="save-record" title="Save current record (Ctrl-S)"><i class="fa fa-hdd-o"></i> <span>Save</span></button>
38
            <button class="btn btn-default btn-sm" id="save-record" title="[% t('Save current record (Ctrl-S)') %]"><i class="fa fa-hdd-o"></i> <span>[% t('Save') %]</span></button>
38
            <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown">
39
            <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown">
39
            <span class="caret"></span>
40
            <span class="caret"></span>
40
            </button>
41
            </button>
41
            <ul class="dropdown-menu" id="save-dropdown">
42
            <ul class="dropdown-menu" id="save-dropdown">
42
            </ul>
43
            </ul>
43
        </div>
44
        </div>
44
        <button class="btn btn-default btn-sm" id="import-records" title="Import an ISO2709 or MARCXML record"><i class="fa fa-download"></i> <span>Import record...</span></button>
45
        <button class="btn btn-default btn-sm" id="import-records" title="[% t('Import an ISO2709 or MARCXML record') %]"><i class="fa fa-download"></i> <span>[% t('Import record...') %]</span></button>
45
        <button class="btn btn-default btn-sm" id="open-macros" title="Run and edit macros"><i class="fa fa-play"></i> <span>Macros...</span></button>
46
        <button class="btn btn-default btn-sm" id="open-macros" title="[% t('Run and edit macros') %]"><i class="fa fa-play"></i> <span>[% t('Macros...') %]</span></button>
46
        <div class="btn-group">
47
        <div class="btn-group">
47
            <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-cog"></i> Settings <span class="caret"></span></button>
48
            <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>
48
            <ul id="prefs-menu" class="dropdown-menu">
49
            <ul id="prefs-menu" class="dropdown-menu">
49
                <li><a id="switch-editor" href="#">Switch to basic editor</a></li>
50
                <li><a id="switch-editor" href="#">[% t('Switch to basic editor') %]</a></li>
50
                <li><a id="set-field-widgets" href="#"></a></li>
51
                <li><a id="set-field-widgets" href="#"></a></li>
51
                <li class="divider"></li>
52
                <li class="divider"></li>
52
                <li><a class="set-fontSize" style="font-size: .92em" href="#">Small text</a></li>
53
                <li><a class="set-fontSize" style="font-size: .92em" href="#">[% t('Small text') %]</a></li>
53
                <li><a class="set-fontSize" style="font-size: 1em" href="#">Normal text</a></li>
54
                <li><a class="set-fontSize" style="font-size: 1em" href="#">[% t('Normal text') %]</a></li>
54
                <li><a class="set-fontSize" style="font-size: 1.08em" href="#">Large text</a></li>
55
                <li><a class="set-fontSize" style="font-size: 1.08em" href="#">[% t('Large text') %]</a></li>
55
                <li><a class="set-fontSize" style="font-size: 1.18em" href="#">Huge text</a></li>
56
                <li><a class="set-fontSize" style="font-size: 1.18em" href="#">[% t('Huge text') %]</a></li>
56
                <li class="divider"></li>
57
                <li class="divider"></li>
57
                <li><a class="set-font" style="font-family: monospace" href="#">Default font</a></li>
58
                <li><a class="set-font" style="font-family: monospace" href="#">[% t('Default font') %]</a></li>
58
                <li><a class="set-font" style="font-family: Consolas" href="#">Consolas</a></li>
59
                <li><a class="set-font" style="font-family: Consolas" href="#">[% t('Consolas') %]</a></li>
59
                <li><a class="set-font" style="font-family: 'Courier New'" href="#">Courier New</a></li>
60
                <li><a class="set-font" style="font-family: 'Courier New'" href="#">[% t('Courier New') %]</a></li>
60
                <li><a class="set-font" style="font-family: 'DejaVu Sans Mono'" href="#">DejaVu Sans Mono</a></li>
61
                <li><a class="set-font" style="font-family: 'DejaVu Sans Mono'" href="#">[% t('DejaVu Sans Mono') %]</a></li>
61
                <li><a class="set-font" style="font-family: 'Lucida Console'" href="#">Lucida Console</a></li>
62
                <li><a class="set-font" style="font-family: 'Lucida Console'" href="#">[% t('Lucida Console') %]</a></li>
62
                <li><a class="set-font" style="font-family: Monaco" href="#">Monaco</a></li>
63
                <li><a class="set-font" style="font-family: Monaco" href="#">[% t('Monaco') %]</a></li>
63
            </ul>
64
            </ul>
64
        </div>
65
        </div>
65
        <button class="btn btn-default btn-sm" id="show-alerts" title="Previous alerts"><i class="fa fa-bell"></i> Alerts <span class="caret"></span></button>
66
        <button class="btn btn-default btn-sm" id="show-alerts" title="[% t('Previous alerts') %]"><i class="fa fa-bell"></i> [% t('Alerts') %] <span class="caret"></span></button>
66
        <button class="btn btn-default btn-sm" id="show-shortcuts" title="Supported keyboard shortcuts"><i class="fa fa-keyboard-o"></i> Keyboard shortcuts <span class="caret"></span></button>
67
        <button class="btn btn-default btn-sm" id="show-shortcuts" title="[% t('Supported keyboard shortcuts') %]"><i class="fa fa-keyboard-o"></i> [% t('Keyboard shortcuts') %] <span class="caret"></span></button>
67
    </div>
68
    </div>
68
    [%# CodeMirror instance will be inserted here %]
69
    [%# CodeMirror instance will be inserted here %]
69
    <div id="statusbar">
70
    <div id="statusbar">
Lines 78-96 Link Here
78
79
79
<div class="yui-b" id="sidebar">
80
<div class="yui-b" id="sidebar">
80
81
81
<h3>Search</h3>
82
<h3>[% t('Search') %]</h3>
82
<form id="quicksearch">
83
<form id="quicksearch">
83
    <fieldset class="brief">
84
    <fieldset class="brief">
84
    <ol>
85
    <ol>
85
        <li><label for="search-by-keywords">Keywords:</label></li>
86
        <li><label for="search-by-keywords">[% t('Keywords:') %]</label></li>
86
        <li><input class="search-box" data-qualifier="term" id="search-by-keywords" placeholder="(Ctrl-Alt-K)" /></li>
87
        <li><input class="search-box" data-qualifier="term" id="search-by-keywords" placeholder="[% t('(Ctrl-Alt-K)') %]" /></li>
87
        <li><label for="search-by-author">Author:</label></li>
88
        <li><label for="search-by-author">[% t('Author:') %]</label></li>
88
        <li><input class="search-box" data-qualifier="author" id="search-by-author" placeholder="(Ctrl-Alt-A)" /></li>
89
        <li><input class="search-box" data-qualifier="author" id="search-by-author" placeholder="[% t('(Ctrl-Alt-A)') %]" /></li>
89
        <li><label for="search-by-isbn">ISBN:</label></li>
90
        <li><label for="search-by-isbn">[% t('ISBN:') %]</label></li>
90
        <li><input class="search-box" data-qualifier="isbn" id="search-by-isbn" placeholder="(Ctrl-Alt-I)" /></li>
91
        <li><input class="search-box" data-qualifier="isbn" id="search-by-isbn" placeholder="[% t('(Ctrl-Alt-I)') %]" /></li>
91
        <li><label for="search-by-title">Title:</label></li>
92
        <li><label for="search-by-title">[% t('Title:') %]</label></li>
92
        <li><input class="search-box" data-qualifier="title" id="search-by-title" placeholder="(Ctrl-Alt-T)" /></li>
93
        <li><input class="search-box" data-qualifier="title" id="search-by-title" placeholder="[% t('(Ctrl-Alt-T)') %]" /></li>
93
        <li><a href="#" id="show-advanced-search" title="Show advanced search (Ctrl-Alt-S)">Advanced &raquo;</a></li>
94
        <li><a href="#" id="show-advanced-search" title="[% t('Show advanced search (Ctrl-Alt-S)') %]">[% t('Advanced »') %]</a></li>
94
    </fieldset>
95
    </fieldset>
95
</form>
96
</form>
96
97
Lines 105-111 Link Here
105
106
106
<div class="modal-header">
107
<div class="modal-header">
107
    <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
108
    <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
108
    <h3 id="advanced-search-title">Advanced search</h3>
109
    <h3 id="advanced-search-title">[% t('Advanced search') %]</h3>
109
</div>
110
</div>
110
<div class="modal-body">
111
<div class="modal-body">
111
  <form id="advanced-search">
112
  <form id="advanced-search">
Lines 113-174 Link Here
113
    <div class="col-md-3">
114
    <div class="col-md-3">
114
        <div id="search-facets">
115
        <div id="search-facets">
115
            <ul>
116
            <ul>
116
                <li>Servers:<ul id="advanced-search-servers"></ul></li>
117
                <li>[% t('Servers:') %]<ul id="advanced-search-servers"></ul></li>
117
            </ul>
118
            </ul>
118
        </div>
119
        </div>
119
    </div>
120
    </div>
120
    <div class="col-md-9">
121
    <div class="col-md-9">
121
        <div id="toolbar" class="btn-toolbar">
122
        <div id="toolbar" class="btn-toolbar">
122
            <button class="btn btn-default btn-sm" type="submit"><i class="fa fa-search"></i> <span>Search</span></button>
123
            <button class="btn btn-default btn-sm" type="submit"><i class="fa fa-search"></i> <span>[% t('Search') %]</span></button>
123
            <button class="btn btn-default btn-sm" type="reset"><i class="fa fa-trash"></i> <span>Clear</span></button>
124
            <button class="btn btn-default btn-sm" type="reset"><i class="fa fa-trash"></i> <span>[% t('Clear') %]</span></button>
124
        </div>
125
        </div>
125
        <ul id="advanced-search-fields">
126
        <ul id="advanced-search-fields">
126
            <li>
127
            <li>
127
                <label for="advanced-search-by-isbn">ISBN:</label>
128
                <label for="advanced-search-by-isbn">[% t('ISBN:') %]</label>
128
                <input class="search-box" data-qualifier="isbn" id="advanced-search-by-isbn" />
129
                <input class="search-box" data-qualifier="isbn" id="advanced-search-by-isbn" />
129
            </li>
130
            </li>
130
            <li>
131
            <li>
131
                <label for="advanced-search-by-issn">ISSN:</label>
132
                <label for="advanced-search-by-issn">[% t('ISSN:') %]</label>
132
                <input class="search-box" data-qualifier="issn" id="advanced-search-by-issn" />
133
                <input class="search-box" data-qualifier="issn" id="advanced-search-by-issn" />
133
            </li>
134
            </li>
134
            <li>
135
            <li>
135
                <label for="advanced-search-by-title">Title:</label>
136
                <label for="advanced-search-by-title">[% t('Title:') %]</label>
136
                <input class="search-box" data-qualifier="title" id="advanced-search-by-title" />
137
                <input class="search-box" data-qualifier="title" id="advanced-search-by-title" />
137
            </li>
138
            </li>
138
            <li>
139
            <li>
139
                <label for="advanced-search-by-author">Author:</label>
140
                <label for="advanced-search-by-author">[% t('Author:') %]</label>
140
                <input class="search-box" data-qualifier="author" id="advanced-search-by-author" />
141
                <input class="search-box" data-qualifier="author" id="advanced-search-by-author" />
141
            </li>
142
            </li>
142
            <li>
143
            <li>
143
                <label for="advanced-search-by-subject">Subject:</label>
144
                <label for="advanced-search-by-subject">[% t('Subject:') %]</label>
144
                <input class="search-box" data-qualifier="subject" id="advanced-search-by-subject" />
145
                <input class="search-box" data-qualifier="subject" id="advanced-search-by-subject" />
145
            </li>
146
            </li>
146
            <li>
147
            <li>
147
                <label for="advanced-search-by-lc-number">LC call number:</label>
148
                <label for="advanced-search-by-lc-number">[% t('LC call number:') %]</label>
148
                <input class="search-box" data-qualifier="cn_lc" id="advanced-search-by-lc-number" />
149
                <input class="search-box" data-qualifier="cn_lc" id="advanced-search-by-lc-number" />
149
            </li>
150
            </li>
150
            <li>
151
            <li>
151
                <label for="advanced-search-by-lccn">LCCN:</label>
152
                <label for="advanced-search-by-lccn">[% t('LCCN:') %]</label>
152
                <input class="search-box" data-qualifier="lccn" id="advanced-search-by-lccn" />
153
                <input class="search-box" data-qualifier="lccn" id="advanced-search-by-lccn" />
153
            </li>
154
            </li>
154
            <li>
155
            <li>
155
                <label for="advanced-search-by-control-number">Control number:</label>
156
                <label for="advanced-search-by-control-number">[% t('Control number:') %]</label>
156
                <input class="search-box" data-qualifier="local_number" id="advanced-search-by-control-number" />
157
                <input class="search-box" data-qualifier="local_number" id="advanced-search-by-control-number" />
157
            </li>
158
            </li>
158
            <li>
159
            <li>
159
                <label for="advanced-search-by-dewey">Dewey number:</label>
160
                <label for="advanced-search-by-dewey">[% t('Dewey number:') %]</label>
160
                <input class="search-box" data-qualifier="cn_dewey" id="advanced-search-by-dewey" />
161
                <input class="search-box" data-qualifier="cn_dewey" id="advanced-search-by-dewey" />
161
            </li>
162
            </li>
162
            <li>
163
            <li>
163
                <label for="advanced-search-by-standard-number">Standard number:</label>
164
                <label for="advanced-search-by-standard-number">[% t('Standard number:') %]</label>
164
                <input class="search-box" data-qualifier="standard_identifier" id="advanced-search-by-standard-number" />
165
                <input class="search-box" data-qualifier="standard_identifier" id="advanced-search-by-standard-number" />
165
            </li>
166
            </li>
166
            <li>
167
            <li>
167
                <label for="advanced-search-by-publisher-number">Publisher number:</label>
168
                <label for="advanced-search-by-publisher-number">[% t('Publisher number:') %]</label>
168
                <input class="search-box" data-qualifier="music_identifier" id="advanced-search-by-publisher-number" />
169
                <input class="search-box" data-qualifier="music_identifier" id="advanced-search-by-publisher-number" />
169
            </li>
170
            </li>
170
            <li>
171
            <li>
171
                <label for="advanced-search-by-publication-date">Publication date:</label>
172
                <label for="advanced-search-by-publication-date">[% t('Publication date:') %]</label>
172
                <input class="search-box" data-qualifier="date" id="advanced-search-by-publication-date" />
173
                <input class="search-box" data-qualifier="date" id="advanced-search-by-publication-date" />
173
            </li>
174
            </li>
174
        </ul>
175
        </ul>
Lines 186-192 Link Here
186
187
187
<div class="modal-header">
188
<div class="modal-header">
188
    <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
189
    <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
189
    <h3 id="search-results-title">Results</h3>
190
    <h3 id="search-results-title">[% t('Results') %]</h3>
190
</div>
191
</div>
191
192
192
<div class="modal-body">
193
<div class="modal-body">
Lines 194-200 Link Here
194
    <div class="col-md-3">
195
    <div class="col-md-3">
195
        <div id="search-facets">
196
        <div id="search-facets">
196
            <ul>
197
            <ul>
197
                <li>Servers:<ul id="search-serversinfo"></ul></li>
198
                <li>[% t('Servers:') %]<ul id="search-serversinfo"></ul></li>
198
            </ul>
199
            </ul>
199
        </div>
200
        </div>
200
    </div>
201
    </div>
Lines 220-226 Link Here
220
        </div>
221
        </div>
221
    </div>
222
    </div>
222
    </div>
223
    </div>
223
    <div id="search-overlay"><span>Loading...</span><div class="progress"><div class="progress-bar progress-bar-striped active" style="width: 100%"></div></div></div>
224
    <div id="search-overlay"><span>[% t('Loading...') %]</span><div class="progress"><div class="progress-bar progress-bar-striped active" style="width: 100%"></div></div></div>
224
</div>
225
</div>
225
</div>
226
</div>
226
</div>
227
</div>
Lines 233-239 Link Here
233
234
234
<div class="modal-header">
235
<div class="modal-header">
235
    <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
236
    <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
236
    <h3 id="macro-title">Macros</h3>
237
    <h3 id="macro-title">[% t('Macros') %]</h3>
237
</div>
238
</div>
238
239
239
<div class="modal-body">
240
<div class="modal-body">
Lines 241-249 Link Here
241
    <div class="col-md-3"><ul id="macro-list"></ul></div>
242
    <div class="col-md-3"><ul id="macro-list"></ul></div>
242
    <div class="col-md-9" id="macro-editor">
243
    <div class="col-md-9" id="macro-editor">
243
        <div id="macro-toolbar" class="btn-toolbar">
244
        <div id="macro-toolbar" class="btn-toolbar">
244
            <button class="btn btn-default btn-sm" id="run-macro" title="Run and edit macros"><i class="fa fa-play"></i> Run macro</button>
245
            <button class="btn btn-default btn-sm" id="run-macro" title="[% t('Run and edit macros') %]"><i class="fa fa-play"></i> [% t('Run macro') %]</button>
245
            <button class="btn btn-default btn-sm" id="delete-macro" title="Delete macro"><i class="fa fa-trash"></i> Delete macro</button>
246
            <button class="btn btn-default btn-sm" id="delete-macro" title="[% t('Delete macro') %]"><i class="fa fa-trash"></i> [% t('Delete macro') %]</button>
246
            <label for="macro-format">Format: </label> <select id="macro-format"></select>
247
            <label for="macro-format">[% t('Format:') %] </label> <select id="macro-format"></select>
247
            <div id="macro-save-message"></div>
248
            <div id="macro-save-message"></div>
248
        </div>
249
        </div>
249
    </div>
250
    </div>
Lines 257-314 Link Here
257
<table class="table table-condensed">
258
<table class="table table-condensed">
258
    <thead>
259
    <thead>
259
        <tr>
260
        <tr>
260
            <th>Shortcut</th>
261
            <th>[% t('Shortcut') %]</th>
261
            <th>Behavior</th>
262
            <th>[% t('Behavior') %]</th>
262
        </tr>
263
        </tr>
263
    </thead>
264
    </thead>
264
    <tbody>
265
    <tbody>
265
        <tr>
266
        <tr>
266
            <td>Alt-C</td>
267
            <td>[% t('Alt-C') %]</td>
267
            <td>Insert copyright symbol (©)</td>
268
            <td>[% t('Insert copyright symbol (©)') %]</td>
268
        </tr>
269
        </tr>
269
        <tr>
270
        <tr>
270
            <td>Alt-P</td>
271
            <td>[% t('Alt-P') %]</td>
271
            <td>Insert copyright symbol (℗) (sound recordings)</td>
272
            <td>[% t('Insert copyright symbol (℗) (sound recordings)') %]</td>
272
        </tr>
273
        </tr>
273
        <tr>
274
        <tr>
274
            <td>Ctrl-D</td>
275
            <td>[% t('Ctrl-D') %]</td>
275
            <td>Insert delimiter (‡)</td>
276
            <td>[% t('Insert delimiter (‡)') %]</td>
276
        </tr>
277
        </tr>
277
        <tr>
278
        <tr>
278
            <td>Ctrl-H</td>
279
            <td>[% t('Ctrl-H') %]</td>
279
            <td>Get help on current subfield</td>
280
            <td>[% t('Get help on current subfield') %]</td>
280
        </tr>
281
        </tr>
281
        <tr>
282
        <tr>
282
            <td>Ctrl-Shift-L</td>
283
            <td>[% t('Ctrl-Shift-L') %]</td>
283
            <td>Link field to authorities</td>
284
            <td>[% t('Link field to authorities') %]</td>
284
        </tr>
285
        </tr>
285
        <tr>
286
        <tr>
286
            <td>Ctrl-S</td>
287
            <td>[% t('Ctrl-S') %]</td>
287
            <td>Save record</td>
288
            <td>[% t('Save record') %]</td>
288
        </tr>
289
        </tr>
289
        <tr>
290
        <tr>
290
            <td>Ctrl-X</td>
291
            <td>[% t('Ctrl-X') %]</td>
291
            <td>Delete current field</td>
292
            <td>[% t('Delete current field') %]</td>
292
        </tr>
293
        </tr>
293
        <tr>
294
        <tr>
294
            <td>Ctrl-Shift-X</td>
295
            <td>[% t('Ctrl-Shift-X') %]</td>
295
            <td>Delete current subfield</td>
296
            <td>[% t('Delete current subfield') %]</td>
296
        </tr>
297
        </tr>
297
        <tr>
298
        <tr>
298
            <td>Enter</td>
299
            <td>[% t('Enter') %]</td>
299
            <td>New field on next line</td>
300
            <td>[% t('New field on next line') %]</td>
300
        </tr>
301
        </tr>
301
        <tr>
302
        <tr>
302
            <td>Shift-Enter</td>
303
            <td>[% t('Shift-Enter') %]</td>
303
            <td>Insert line break</td>
304
            <td>[% t('Insert line break') %]</td>
304
        </tr>
305
        </tr>
305
        <tr>
306
        <tr>
306
            <td>Tab</td>
307
            <td>[% t('Tab') %]</td>
307
            <td>Move to next position</td>
308
            <td>[% t('Move to next position') %]</td>
308
        </tr>
309
        </tr>
309
        <tr>
310
        <tr>
310
            <td>Shift-Tab</td>
311
            <td>[% t('Shift-Tab') %]</td>
311
            <td>Move to previous position</td>
312
            <td>[% t('Move to previous position') %]</td>
312
        </tr>
313
        </tr>
313
    </tbody>
314
    </tbody>
314
</table>
315
</table>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/linkitem.tt (-9 / +10 lines)
Lines 1-17 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Cataloging &rsquo; Link to host item</title>
3
<title>[% t('Koha › Cataloging ’ Link to host item') %]</title>
3
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
4
</head>
5
</head>
5
<body id="catalog_linkitem" class="catalog">
6
<body id="catalog_linkitem" class="catalog">
6
[% INCLUDE 'header.inc' %]
7
[% INCLUDE 'header.inc' %]
7
[% INCLUDE 'cat-search.inc' %]
8
[% INCLUDE 'cat-search.inc' %]
8
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>  &rsaquo; Link a host item to <i>[% bibliotitle |html %]</i></div>
9
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/cataloguing/addbooks.pl">[% t('Cataloging') %]</a>  [% t('› Link a host item to') %] <i>[% bibliotitle |html %]</i></div>
9
<div id="doc3" class="yui-t2">
10
<div id="doc3" class="yui-t2">
10
11
11
[% IF ( error ) %]
12
[% IF ( error ) %]
12
    <div class="dialog alert">
13
    <div class="dialog alert">
13
	[% IF ( errornomodbiblio ) %]ERROR: Unable to modify the bibliographic record.[% END %]
14
	[% IF ( errornomodbiblio ) %][% t('ERROR: Unable to modify the bibliographic record.') %][% END %]
14
	[% IF ( errornohostitemnumber ) %]ERROR: Unable to get the item number from this barcode.[% END %]
15
	[% IF ( errornohostitemnumber ) %][% t('ERROR: Unable to get the item number from this barcode.') %][% END %]
15
    </div>
16
    </div>
16
    <form action="/cgi-bin/koha/catalogue/MARCdetail.pl" method="post">
17
    <form action="/cgi-bin/koha/catalogue/MARCdetail.pl" method="post">
17
	<input type="submit" value="OK" />
18
	<input type="submit" value="OK" />
Lines 19-25 Link Here
19
    </form>
20
    </form>
20
[% ELSE %]
21
[% ELSE %]
21
    [% IF ( success ) %]
22
    [% IF ( success ) %]
22
	<div class="dialog">The item has successfully been linked to <i>[% bibliotitle |html %]</i>.</div>    
23
	<div class="dialog">[% t('The item has successfully been linked to') %] <i>[% bibliotitle |html %]</i>.</div>    
23
	<form action="/cgi-bin/koha/catalogue/MARCdetail.pl" method="post">
24
	<form action="/cgi-bin/koha/catalogue/MARCdetail.pl" method="post">
24
	    <input type="submit" value="OK" />
25
	    <input type="submit" value="OK" />
25
	    <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
26
	    <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
Lines 29-36 Link Here
29
	<form method="post" action="/cgi-bin/koha/cataloguing/linkitem.pl">
30
	<form method="post" action="/cgi-bin/koha/cataloguing/linkitem.pl">
30
	    [% IF ( missingbiblionumber ) %]
31
	    [% IF ( missingbiblionumber ) %]
31
	    <fieldset id="biblionumber_fieldset">
32
	    <fieldset id="biblionumber_fieldset">
32
		<label for="biblionumber_fieldset">Select the biblionumber to link the item to</label>
33
		<label for="biblionumber_fieldset">[% t('Select the biblionumber to link the item to') %]</label>
33
		    <div class="hint">Enter biblionumber:</div>
34
		    <div class="hint">[% t('Enter biblionumber:') %]</div>
34
		    <input type="text" name="biblionumber" id="biblionumber" class="focus" size="14" /> 
35
		    <input type="text" name="biblionumber" id="biblionumber" class="focus" size="14" /> 
35
	    </fieldset>
36
	    </fieldset>
36
	    [% ELSE %]
37
	    [% ELSE %]
Lines 39-46 Link Here
39
40
40
    	    [% IF ( missingbarcode ) %]
41
    	    [% IF ( missingbarcode ) %]
41
	    <fieldset id="barcode_fieldset">
42
	    <fieldset id="barcode_fieldset">
42
		<label for="barcode_fieldset">Select the host item to link[% IF ( bibliotitle ) %] to <i>[% bibliotitle |html %]</i>[% END %]</label>
43
		<label for="barcode_fieldset">[% t('Select the host item to link') %][% IF ( bibliotitle ) %] [% t('to') %] <i>[% bibliotitle |html %]</i>[% END %]</label>
43
		    <div class="hint">Enter item barcode:</div>
44
		    <div class="hint">[% t('Enter item barcode:') %]</div>
44
		    <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" /> 
45
		    <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" /> 
45
	    </fieldset>
46
	    </fieldset>
46
	    [% ELSE %]
47
	    [% ELSE %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt (-19 / +20 lines)
Lines 1-9 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% PROCESS 'merge-record.inc' %]
4
[% PROCESS 'merge-record.inc' %]
4
5
5
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Koha &rsaquo; Cataloging &rsaquo; Merging records</title>
7
<title>[% t('Koha › Cataloging › Merging records') %]</title>
7
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
8
<style type="text/css">
9
<style type="text/css">
9
div.record ul, div.record li { float:none; display:block; }
10
div.record ul, div.record li { float:none; display:block; }
Lines 16-22 div#result { margin-top: 1em; } Link Here
16
<body id="cat_merge" class="cat">
17
<body id="cat_merge" class="cat">
17
[% INCLUDE 'header.inc' %]
18
[% INCLUDE 'header.inc' %]
18
[% INCLUDE 'cataloging-search.inc' %]
19
[% INCLUDE 'cataloging-search.inc' %]
19
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>  &rsaquo; Merging records</div>
20
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/cataloguing/addbooks.pl">[% t('Cataloging') %]</a>  [% t('› Merging records') %]</div>
20
21
21
<div id="doc" class="yui-t7">
22
<div id="doc" class="yui-t7">
22
23
Lines 24-51 div#result { margin-top: 1em; } Link Here
24
        <div id="yui-main">
25
        <div id="yui-main">
25
26
26
27
27
<h1>Merging records</h1>
28
<h1>[% t('Merging records') %]</h1>
28
[% IF ( result ) %]
29
[% IF ( result ) %]
29
    [% IF ( errors.size ) %]
30
    [% IF ( errors.size ) %]
30
       [% FOREACH error IN errors %]
31
       [% FOREACH error IN errors %]
31
           <div class="dialog alert">
32
           <div class="dialog alert">
32
                [% IF error.code == 'CANNOT_MOVE' %]
33
                [% IF error.code == 'CANNOT_MOVE' %]
33
                    The following items could not be moved from the old record to the new one: [% error.value %]
34
                    [% t('The following items could not be moved from the old record to the new one:') %] [% error.value %]
34
                [% ELSE %]
35
                [% ELSE %]
35
                    [% error %]
36
                    [% error %]
36
                [% END %]
37
                [% END %]
37
                <br />
38
                <br />
38
                Therefore, the record to be merged has not been deleted.
39
                [% t('Therefore, the record to be merged has not been deleted.') %]
39
            </div>
40
            </div>
40
       [% END %]
41
       [% END %]
41
42
42
    [% ELSE %]
43
    [% ELSE %]
43
        <p>The merge was successful. <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% ref_biblionumber %]">Click here to see the merged record.</a></p>
44
        <p>[% t('The merge was successful.') %] <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% ref_biblionumber %]">[% t('Click here to see the merged record.') %]</a></p>
44
        <h3>Report</h3>
45
        <h3>[% t('Report') %]</h3>
45
        <table>
46
        <table>
46
            <thead>
47
            <thead>
47
                <tr>
48
                <tr>
48
                    <th>Biblionumber</th>
49
                    <th>[% t('Biblionumber') %]</th>
49
                    [% FOREACH key IN report_header.keys.sort %]
50
                    [% FOREACH key IN report_header.keys.sort %]
50
                        [% tag = key.substr(0, 3) %]
51
                        [% tag = key.substr(0, 3) %]
51
                        [% code = key.substr(3, 1) %]
52
                        [% code = key.substr(3, 1) %]
Lines 64-70 div#result { margin-top: 1em; } Link Here
64
                        <td>
65
                        <td>
65
                            [% record.biblionumber %]
66
                            [% record.biblionumber %]
66
                            [% IF loop.first %]
67
                            [% IF loop.first %]
67
                                (record kept)
68
                                [% t('(record kept)') %]
68
                            [% END %]
69
                            [% END %]
69
                        </td>
70
                        </td>
70
                        [% FOREACH key IN report_header.keys.sort %]
71
                        [% FOREACH key IN report_header.keys.sort %]
Lines 87-96 div#result { margin-top: 1em; } Link Here
87
[% ELSE %]
88
[% ELSE %]
88
89
89
[% IF ( choosereference ) %]
90
[% IF ( choosereference ) %]
90
<p>Please choose which record will be the reference for the merge. The record chosen as reference will be kept, and the other will be deleted.</p>
91
<p>[% t('Please choose which record will be the reference for the merge. The record chosen as reference will be kept, and the other will be deleted.') %]</p>
91
<form id="mergeform" action="/cgi-bin/koha/cataloguing/merge.pl" method="post">
92
<form id="mergeform" action="/cgi-bin/koha/cataloguing/merge.pl" method="post">
92
    <fieldset class="rows">
93
    <fieldset class="rows">
93
    <legend>Merge reference</legend>
94
    <legend>[% t('Merge reference') %]</legend>
94
    <ol>
95
    <ol>
95
        [% FOREACH record IN records %]
96
        [% FOREACH record IN records %]
96
            <li class="radio">
97
            <li class="radio">
Lines 104-118 div#result { margin-top: 1em; } Link Here
104
                    [% FOREACH subtitle IN record.subtitles %]
105
                    [% FOREACH subtitle IN record.subtitles %]
105
                        [% subtitle.subfield %]
106
                        [% subtitle.subfield %]
106
                    [% END %]
107
                    [% END %]
107
                    ([% record.biblionumber %]) <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% record.biblionumber %]" class="previewData">View MARC</a>
108
                    ([% record.biblionumber %]) <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% record.biblionumber %]" class="previewData">[% t('View MARC') %]</a>
108
                </label>
109
                </label>
109
            </li>
110
            </li>
110
        [% END %]
111
        [% END %]
111
112
112
            <li>
113
            <li>
113
                <label for="frameworkcode">Using framework:</label>
114
                <label for="frameworkcode">[% t('Using framework:') %]</label>
114
                <select name="frameworkcode" id="frameworkcode">
115
                <select name="frameworkcode" id="frameworkcode">
115
                    <option value="">Default</option>
116
                    <option value="">[% t('Default') %]</option>
116
                    [% FOREACH framework IN frameworks %]
117
                    [% FOREACH framework IN frameworks %]
117
                        <option value="[% framework.frameworkcode %]">[% framework.frameworktext %]</option>
118
                        <option value="[% framework.frameworkcode %]">[% framework.frameworktext %]</option>
118
                    [% END %]
119
                    [% END %]
Lines 134-146 div#result { margin-top: 1em; } Link Here
134
    <div class="modal-content">
135
    <div class="modal-content">
135
    <div class="modal-header">
136
    <div class="modal-header">
136
        <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
137
        <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
137
        <h3 id="dataPreviewLabel">Preview</h3>
138
        <h3 id="dataPreviewLabel">[% t('Preview') %]</h3>
138
    </div>
139
    </div>
139
    <div class="modal-body">
140
    <div class="modal-body">
140
        <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> Loading </div>
141
        <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> [% t('Loading') %] </div>
141
    </div>
142
    </div>
142
    <div class="modal-footer">
143
    <div class="modal-footer">
143
        <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
144
        <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">[% t('Close') %]</button>
144
    </div>
145
    </div>
145
    </div>
146
    </div>
146
    </div>
147
    </div>
Lines 172-180 div#result { margin-top: 1em; } Link Here
172
173
173
<fieldset class="action">
174
<fieldset class="action">
174
    <input type="submit" name="merge" value="Merge" />
175
    <input type="submit" name="merge" value="Merge" />
175
    <label for="report_fields">Fields to display in report:</label>
176
    <label for="report_fields">[% t('Fields to display in report:') %]</label>
176
    <input type="text" name="report_fields" id="report_fields" value="[% MergeReportFields %]" />
177
    <input type="text" name="report_fields" id="report_fields" value="[% MergeReportFields %]" />
177
    <span class="hint">(Example: "001,245ab,600")
178
    <span class="hint">[% t('(Example: &#34;001,245ab,600&#34;)') %]
178
</fieldset>
179
</fieldset>
179
</div>
180
</div>
180
</form>
181
</form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/moveitem.tt (-15 / +16 lines)
Lines 1-11 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Attach an item to [% bibliotitle |html %]</title>
3
<title>[% t('Attach an item to') %] [% bibliotitle |html %]</title>
3
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
4
</head>
5
</head>
5
<body id="catalog_moveitem" class="catalog">
6
<body id="catalog_moveitem" class="catalog">
6
[% INCLUDE 'header.inc' %]
7
[% INCLUDE 'header.inc' %]
7
[% INCLUDE 'cat-search.inc' %]
8
[% INCLUDE 'cat-search.inc' %]
8
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>  &rsaquo; Attach an item to <i>[% bibliotitle |html %][% IF ( itemsloo.subtitle ) %][% itemsloo.subtitle %][% END %]</i></div>
9
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/cataloguing/addbooks.pl">[% t('Cataloging') %]</a>  [% t('› Attach an item to') %] <i>[% bibliotitle |html %][% IF ( itemsloo.subtitle ) %][% itemsloo.subtitle %][% END %]</i></div>
9
<div id="doc" class="yui-t7">
10
<div id="doc" class="yui-t7">
10
11
11
[% BLOCK actions %]
12
[% BLOCK actions %]
Lines 21-31 Link Here
21
[% END %]
22
[% END %]
22
23
23
[% BLOCK fail %]
24
[% BLOCK fail %]
24
        <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> OK</button>
25
        <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> [% t('OK') %]</button>
25
                                <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
26
                                <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
26
                        </form>
27
                        </form>
27
                                <form method="get" action="/cgi-bin/koha/cataloguing/moveitem.pl?biblionumber=[% biblionumber %]">
28
                                <form method="get" action="/cgi-bin/koha/cataloguing/moveitem.pl?biblionumber=[% biblionumber %]">
28
        <button type="submit" class="new"><i class="fa fa-fw fa-plus"></i> Try again with a different barcode</button>
29
        <button type="submit" class="new"><i class="fa fa-fw fa-plus"></i> [% t('Try again with a different barcode') %]</button>
29
                                <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
30
                                <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
30
                        </form>
31
                        </form>
31
[% END %]
32
[% END %]
Lines 33-45 Link Here
33
[% IF ( error ) %]
34
[% IF ( error ) %]
34
    <div class="dialog alert">
35
    <div class="dialog alert">
35
36
36
		[% IF ( errornonewitem ) %]ERROR: Unable to create the new item.<p>
37
		[% IF ( errornonewitem ) %][% t('ERROR: Unable to create the new item.') %]<p>
37
			[% INCLUDE actions %]
38
			[% INCLUDE actions %]
38
			[% INCLUDE fail %]
39
			[% INCLUDE fail %]
39
        </p>
40
        </p>
40
		[% END %]
41
		[% END %]
41
42
42
		[% IF ( errornoitem ) %]ERROR: Unable to get the item.<p>
43
		[% IF ( errornoitem ) %][% t('ERROR: Unable to get the item.') %]<p>
43
			[% INCLUDE actions %]
44
			[% INCLUDE actions %]
44
			[% INCLUDE fail %]
45
			[% INCLUDE fail %]
45
		</p>
46
		</p>
Lines 48-61 Link Here
48
49
49
	[% ELSE %]
50
	[% ELSE %]
50
	    [% IF ( success ) %]
51
	    [% IF ( success ) %]
51
			<div class="dialog message">The item has successfully been attached to [% INCLUDE 'biblio-default-view.inc' %]<i>[% bibliotitle |html %]</i></a>.
52
			<div class="dialog message">[% t('The item has successfully been attached to') %] [% INCLUDE 'biblio-default-view.inc' %]<i>[% bibliotitle |html %]</i></a>.
52
			<p>
53
			<p>
53
			[% INCLUDE actions %]
54
			[% INCLUDE actions %]
54
                    <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> OK</button>
55
                    <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> [% t('OK') %]</button>
55
                                <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
56
                                <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
56
                        </form>
57
                        </form>
57
                                <form method="get" action="/cgi-bin/koha/cataloguing/moveitem.pl?biblionumber=[% biblionumber %]"/>
58
                                <form method="get" action="/cgi-bin/koha/cataloguing/moveitem.pl?biblionumber=[% biblionumber %]" />
58
                    <button type="submit" class="new"><i class="fa fa-fw fa-plus"></i> Attach another item</button>
59
                    <button type="submit" class="new"><i class="fa fa-fw fa-plus"></i> [% t('Attach another item') %]</button>
59
                                <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
60
                                <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
60
                        </form>
61
                        </form>
61
	                </p>
62
	                </p>
Lines 65-72 Link Here
65
	<form method="post" action="/cgi-bin/koha/cataloguing/moveitem.pl">
66
	<form method="post" action="/cgi-bin/koha/cataloguing/moveitem.pl">
66
	    [% IF ( missingbiblionumber ) %]
67
	    [% IF ( missingbiblionumber ) %]
67
	    <fieldset id="biblionumber_fieldset">
68
	    <fieldset id="biblionumber_fieldset">
68
		<label for="biblionumber">Select the biblionumber to attach the item to</label>
69
		<label for="biblionumber">[% t('Select the biblionumber to attach the item to') %]</label>
69
			<div class="hint">Enter biblionumber:</div>
70
			<div class="hint">[% t('Enter biblionumber:') %]</div>
70
		    <input type="text" name="biblionumber" id="biblionumber" class="focus" size="14" />
71
		    <input type="text" name="biblionumber" id="biblionumber" class="focus" size="14" />
71
		    <fieldset class="action"><input type="submit" value="Submit" /></fieldset>
72
		    <fieldset class="action"><input type="submit" value="Submit" /></fieldset>
72
	    </fieldset>
73
	    </fieldset>
Lines 75-84 Link Here
75
	    [% END %]
76
	    [% END %]
76
77
77
		[% IF ( missingbarcode ) %]
78
		[% IF ( missingbarcode ) %]
78
		<h3>Attach an item[% IF ( bibliotitle ) %] to <i>[% bibliotitle |html %]</i>[% END %]</h3>
79
		<h3>[% t('Attach an item') %][% IF ( bibliotitle ) %] [% t('to') %] <i>[% bibliotitle |html %]</i>[% END %]</h3>
79
	    <fieldset id="barcode_fieldset">
80
	    <fieldset id="barcode_fieldset">
80
		<label for="barcode">Enter the barcode of the item to attach:</label>
81
		<label for="barcode">[% t('Enter the barcode of the item to attach:') %]</label>
81
		    <p class="hint">The item you select will be moved to the target record.</p>
82
		    <p class="hint">[% t('The item you select will be moved to the target record.') %]</p>
82
		    <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" />
83
		    <input type="text" name="barcode" id="barcode" class="barcode focus" size="14" />
83
		    <fieldset class="action"><input type="submit" value="Submit" /></fieldset>
84
		    <fieldset class="action"><input type="submit" value="Submit" /></fieldset>
84
	    </fieldset>
85
	    </fieldset>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt (-43 / +44 lines)
Lines 1-10 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
[% IF ( opsearch ) %]
5
[% IF ( opsearch ) %]
5
    <title>Koha &rsaquo; Z39.50 authority search points</title>
6
    <title>[% t('Koha › Z39.50 authority search points') %]</title>
6
[% ELSE %]
7
[% ELSE %]
7
    <title>Koha &rsaquo; Z39.50 authority search results</title>
8
    <title>[% t('Koha › Z39.50 authority search results') %]</title>
8
    [% END %]
9
    [% END %]
9
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
10
[% Asset.css("css/datatables.css") %]
11
[% Asset.css("css/datatables.css") %]
Lines 16-22 Link Here
16
    <div class="container-fluid">
17
    <div class="container-fluid">
17
18
18
    [% IF ( opsearch ) %]
19
    [% IF ( opsearch ) %]
19
        <h2>Z39.50 authority search points</h2>
20
        <h2>[% t('Z39.50 authority search points') %]</h2>
20
        <form method="post" action="z3950_auth_search.pl" name="f" class="checkboxed">
21
        <form method="post" action="z3950_auth_search.pl" name="f" class="checkboxed">
21
        <input type="hidden" name="op" id="op" value="do_search" />
22
        <input type="hidden" name="op" id="op" value="do_search" />
22
        <input type="hidden" name="authid" value="[% authid %]" />
23
        <input type="hidden" name="authid" value="[% authid %]" />
Lines 24-35 Link Here
24
            <div class="col-xs-6">
25
            <div class="col-xs-6">
25
                <fieldset class="rows">
26
                <fieldset class="rows">
26
                <ol>
27
                <ol>
27
                    <li><label for="srchany">Keyword (any): </label> <input type="text" id="srchany" name="srchany" value="" /></li>
28
                    <li><label for="srchany">[% t('Keyword (any):') %] </label> <input type="text" id="srchany" name="srchany" value="" /></li>
28
                    <li><label for="nameany">Name (any): </label> <input type="text" id="nameany" name="nameany" value="" /></li>
29
                    <li><label for="nameany">[% t('Name (any):') %] </label> <input type="text" id="nameany" name="nameany" value="" /></li>
29
                    <li><label for="authorany">Author (any): </label> <input type="text" id="authorany" name="authorany" value="" /></li>
30
                    <li><label for="authorany">[% t('Author (any):') %] </label> <input type="text" id="authorany" name="authorany" value="" /></li>
30
                    <li><label for="authorpersonal">Author (personal): </label> <input type="text" id="authorpersonal" name="authorpersonal" value="[% authorpersonal | html %]" /></li>
31
                    <li><label for="authorpersonal">[% t('Author (personal):') %] </label> <input type="text" id="authorpersonal" name="authorpersonal" value="[% authorpersonal | html %]" /></li>
31
                    <li><label for="authorcorp">Author (corporate): </label> <input type="text" id="authorcorp" name="authorcorp" value="[% authorcorp | html %]" /></li>
32
                    <li><label for="authorcorp">[% t('Author (corporate):') %] </label> <input type="text" id="authorcorp" name="authorcorp" value="[% authorcorp | html %]" /></li>
32
                    <li><label for="authormeetingcon">Author (meeting / conference): </label> <input type="text" id="authormeetingcon" name="authormeetingcon" value="[% authormeetingcon | html %]" /></li>
33
                    <li><label for="authormeetingcon">[% t('Author (meeting / conference):') %] </label> <input type="text" id="authormeetingcon" name="authormeetingcon" value="[% authormeetingcon | html %]" /></li>
33
                </ol>
34
                </ol>
34
                </fieldset>
35
                </fieldset>
35
            </div>
36
            </div>
Lines 37-55 Link Here
37
                <div class="row">
38
                <div class="row">
38
                    <fieldset class="rows">
39
                    <fieldset class="rows">
39
                    <ol>
40
                    <ol>
40
                        <li><label for="subject">Subject heading: </label> <input type="text" id="subject" name="subject" value="" /></li>
41
                        <li><label for="subject">[% t('Subject heading:') %] </label> <input type="text" id="subject" name="subject" value="" /></li>
41
                        <li><label for="subjectsubdiv">Subject sub-division: </label> <input type="text" id="subjectsubdiv" name="subjectsubdiv" value="" /></li>
42
                        <li><label for="subjectsubdiv">[% t('Subject sub-division:') %] </label> <input type="text" id="subjectsubdiv" name="subjectsubdiv" value="" /></li>
42
                        <li><label for="title">Title (any): </label> <input type="text" id="title"  name="title" value="[% title | html %]" /></li>
43
                        <li><label for="title">[% t('Title (any):') %] </label> <input type="text" id="title" name="title" value="[% title | html %]" /></li>
43
                        <li><label for="uniformtitle">Title (uniform): </label> <input type="text" id="uniformtitle"  name="uniformtitle" value="[% uniformtitle | html %]" /></li>
44
                        <li><label for="uniformtitle">[% t('Title (uniform):') %] </label> <input type="text" id="uniformtitle" name="uniformtitle" value="[% uniformtitle | html %]" /></li>
44
                        <li><a id="resetZ3950Search" href="#"><i class="fa fa-trash"></i> Clear search form</a></li>
45
                        <li><a id="resetZ3950Search" href="#"><i class="fa fa-trash"></i> [% t('Clear search form') %]</a></li>
45
                    </ol>
46
                    </ol>
46
                    </fieldset>
47
                    </fieldset>
47
                </div>
48
                </div>
48
49
49
                <div class="row">
50
                <div class="row">
50
                    <h2>Search targets</h2>
51
                    <h2>[% t('Search targets') %]</h2>
51
                    <div id="z3950_search_targets_auth">
52
                    <div id="z3950_search_targets_auth">
52
                        <span class="z3950checks"><span class="checkall"><a id="CheckAll" href="#"><i class="fa fa-check"></i> Select all</a></span> | <span class="clearall"><a id="CheckNone" href="#"><i class="fa fa-remove"></i> Clear all</a></span></span>
53
                        <span class="z3950checks"><span class="checkall"><a id="CheckAll" href="#"><i class="fa fa-check"></i> [% t('Select all') %]</a></span> | <span class="clearall"><a id="CheckNone" href="#"><i class="fa fa-remove"></i> [% t('Clear all') %]</a></span></span>
53
                    [% FOREACH serverloo IN serverloop %]
54
                    [% FOREACH serverloo IN serverloop %]
54
                        <p>
55
                        <p>
55
                        [% IF ( serverloo.checked ) %]
56
                        [% IF ( serverloo.checked ) %]
Lines 66-84 Link Here
66
            </div>
67
            </div>
67
            <nav class="navbar navbar-default navbar-fixed-bottom">
68
            <nav class="navbar navbar-default navbar-fixed-bottom">
68
                <div class="container-fluid">
69
                <div class="container-fluid">
69
                     <fieldset class="action"><input type="submit"  class="submit" value="Search" /> <a class="cancel close" href="#">Cancel</a></fieldset>
70
                     <fieldset class="action"><input type="submit" class="submit" value="Search" /> <a class="cancel close" href="#">[% t('Cancel') %]</a></fieldset>
70
                </div>
71
                </div>
71
            </nav>
72
            </nav>
72
        </form>
73
        </form>
73
[% ELSE %]
74
[% ELSE %]
74
    <h2>Results for authority records</h2>
75
    <h2>[% t('Results for authority records') %]</h2>
75
    [% IF ( breeding_loop ) %]
76
    [% IF ( breeding_loop ) %]
76
    <table id="resultst">
77
    <table id="resultst">
77
<thead>    <tr>
78
<thead>    <tr>
78
        <th>Server</th>
79
        <th>[% t('Server') %]</th>
79
        <th>Heading</th>
80
        <th>[% t('Heading') %]</th>
80
        <th>Authority Type</th>
81
        <th>[% t('Authority Type') %]</th>
81
        <th>Actions</th>
82
        <th>[% t('Actions') %]</th>
82
    </tr></thead>
83
    </tr></thead>
83
    <tbody>[% FOREACH breeding_loo IN breeding_loop %]
84
    <tbody>[% FOREACH breeding_loo IN breeding_loop %]
84
        [% IF ( breeding_loo.breedingid ) %]
85
        [% IF ( breeding_loo.breedingid ) %]
Lines 89-99 Link Here
89
            <td class="actions">
90
            <td class="actions">
90
                <div class="dropdown">
91
                <div class="dropdown">
91
                    <a class="btn btn-default btn-xs dropdown-toggle" id="cataloguesearchactions[% breeding_loo.breedingid %]" role="button" data-toggle="dropdown" href="#">
92
                    <a class="btn btn-default btn-xs dropdown-toggle" id="cataloguesearchactions[% breeding_loo.breedingid %]" role="button" data-toggle="dropdown" href="#">
92
                      Actions <b class="caret"></b>
93
                      [% t('Actions') %] <b class="caret"></b>
93
                    </a>
94
                    </a>
94
                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="cataloguesearchactions[% breeding_loo.breedingid %]">
95
                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="cataloguesearchactions[% breeding_loo.breedingid %]">
95
                        <li><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid %]" class="previewMARC"><i class="fa fa-eye"></i> MARC preview</a></li>
96
                        <li><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid %]" class="previewMARC"><i class="fa fa-eye"></i> [% t('MARC preview') %]</a></li>
96
                        <li><a href="#" class="import_record" data-breedingid="[% breeding_loo.breedingid %]" data-heading_code="[% breeding_loo.heading_code %]" data-authid="[% breeding_loo.authid %]"><i class="fa fa-download"></i> Import</a></li>
97
                        <li><a href="#" class="import_record" data-breedingid="[% breeding_loo.breedingid %]" data-heading_code="[% breeding_loo.heading_code %]" data-authid="[% breeding_loo.authid %]"><i class="fa fa-download"></i> [% t('Import') %]</a></li>
97
                    </ul>
98
                    </ul>
98
                </div>
99
                </div>
99
            </td>
100
            </td>
Lines 107-116 Link Here
107
        <div class="modal-content">
108
        <div class="modal-content">
108
        <div class="modal-header">
109
        <div class="modal-header">
109
            <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
110
            <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
110
            <h3 id="marcPreviewLabel">MARC preview</h3>
111
            <h3 id="marcPreviewLabel">[% t('MARC preview') %]</h3>
111
        </div>
112
        </div>
112
        <div class="modal-body">
113
        <div class="modal-body">
113
            <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> Loading </div>
114
            <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> [% t('Loading') %] </div>
114
        </div>
115
        </div>
115
        </div>
116
        </div>
116
        </div>
117
        </div>
Lines 119-134 Link Here
119
    <form method="post" action="z3950_auth_search.pl" id="page_form" name="page_form" class="checkboxed">
120
    <form method="post" action="z3950_auth_search.pl" id="page_form" name="page_form" class="checkboxed">
120
        <input type="hidden" name="op" id="op" value="do_search" />
121
        <input type="hidden" name="op" id="op" value="do_search" />
121
        <input type="hidden" name="current_page" id="current_page" value="[% current_page %]" />
122
        <input type="hidden" name="current_page" id="current_page" value="[% current_page %]" />
122
        <input type="hidden" id="nameany"  name="nameany" value="[% nameany %]" />
123
        <input type="hidden" id="nameany" name="nameany" value="[% nameany %]" />
123
        <input type="hidden" id="authorany"  name="authorany" value="[% authorany %]" />
124
        <input type="hidden" id="authorany" name="authorany" value="[% authorany %]" />
124
        <input type="hidden" id="authorcorp"  name="authorcorp" value="[% authorcorp %]" />
125
        <input type="hidden" id="authorcorp" name="authorcorp" value="[% authorcorp %]" />
125
        <input type="hidden" id="authorpersonal"  name="authorpersonal" value="[% authorpersonal %]" />
126
        <input type="hidden" id="authorpersonal" name="authorpersonal" value="[% authorpersonal %]" />
126
        <input type="hidden" id="authormeetingcon"  name="authormeetingcon" value="[% authormeetingcon %]" />
127
        <input type="hidden" id="authormeetingcon" name="authormeetingcon" value="[% authormeetingcon %]" />
127
        <input type="hidden" id="title"  name="title" value="[% title %]" />
128
        <input type="hidden" id="title" name="title" value="[% title %]" />
128
        <input type="hidden" id="uniformtitle"  name="uniformtitle" value="[% uniformtitle %]" />
129
        <input type="hidden" id="uniformtitle" name="uniformtitle" value="[% uniformtitle %]" />
129
        <input type="hidden" id="subject" name="subject" value="[% subject %]" />
130
        <input type="hidden" id="subject" name="subject" value="[% subject %]" />
130
        <input type="hidden" id="subjectsubdiv" name="subjectsubdiv" value="[% subjectsubdiv %]" />
131
        <input type="hidden" id="subjectsubdiv" name="subjectsubdiv" value="[% subjectsubdiv %]" />
131
        <input type="hidden" id="heading"  name="heading" value="[% heading %]" />
132
        <input type="hidden" id="heading" name="heading" value="[% heading %]" />
132
        <input type="hidden" id="srchany" name="srchany" value="[% srchany %]" />
133
        <input type="hidden" id="srchany" name="srchany" value="[% srchany %]" />
133
        <input type="hidden" name="authid" value="[% authid %]" />
134
        <input type="hidden" name="authid" value="[% authid %]" />
134
135
Lines 139-170 Link Here
139
        [% IF ( show_prevbutton ) %]
140
        [% IF ( show_prevbutton ) %]
140
            <input type="button" name="changepage_prev" value="Previous page" data-currentpage="[% current_page %]" />
141
            <input type="button" name="changepage_prev" value="Previous page" data-currentpage="[% current_page %]" />
141
        [% END %]
142
        [% END %]
142
        Page [% current_page %] / [% total_pages %]
143
        [% t('Page') %] [% current_page %] / [% total_pages %]
143
        [% IF ( show_nextbutton ) %]
144
        [% IF ( show_nextbutton ) %]
144
            <input type="button" name="changepage_next" value="Next page" data-currentpage="[% current_page %]" />
145
            <input type="button" name="changepage_next" value="Next page" data-currentpage="[% current_page %]" />
145
        [% END %]
146
        [% END %]
146
        <br />Go to page : <input id="goto_page" name="goto_page" value="[% current_page %]" size="4" /><input type="submit" name="changepage_goto" value="Go" />
147
        <br />[% t('Go to page :') %] <input id="goto_page" name="goto_page" value="[% current_page %]" size="4" /><input type="submit" name="changepage_goto" value="Go" />
147
    </form>
148
    </form>
148
149
149
<p><form method="get" action="/cgi-bin/koha/cataloguing/z3950_auth_search.pl"><input type="hidden" name="authid" value="[% authid %]" /><input type="submit" value="Try another search"/></form></p>
150
<p><form method="get" action="/cgi-bin/koha/cataloguing/z3950_auth_search.pl"><input type="hidden" name="authid" value="[% authid %]" /><input type="submit" value="Try another search" /></form></p>
150
    [% ELSE %]
151
    [% ELSE %]
151
        [% IF ( errconn ) %]
152
        [% IF ( errconn ) %]
152
            <div class="dialog alert">
153
            <div class="dialog alert">
153
                <ul>
154
                <ul>
154
                [% FOREACH errcon IN errconn %]
155
                [% FOREACH errcon IN errconn %]
155
                    [% IF ( errcon.error == '10000' ) %]<li>Connection failed to [% errcon.server %]</li>
156
                    [% IF ( errcon.error == '10000' ) %]<li>[% t('Connection failed to') %] [% errcon.server %]</li>
156
                    [% ELSIF ( errcon.error == '10007' ) %]<li>Connection timeout to [% errcon.server %]</li>[% END %]
157
                    [% ELSIF ( errcon.error == '10007' ) %]<li>[% t('Connection timeout to') %] [% errcon.server %]</li>[% END %]
157
                [% END %]
158
                [% END %]
158
                </ul>
159
                </ul>
159
            </div>
160
            </div>
160
         [% END %]
161
         [% END %]
161
   <div class="dialog message">Nothing found.</div>
162
   <div class="dialog message">[% t('Nothing found.') %]</div>
162
    <p><form method="get" action="/cgi-bin/koha/cataloguing/z3950_auth_search.pl"><input type="hidden" name="authid" value="[% authid %]" /><input type="submit" value="Try another search"/></form></p>
163
    <p><form method="get" action="/cgi-bin/koha/cataloguing/z3950_auth_search.pl"><input type="hidden" name="authid" value="[% authid %]" /><input type="submit" value="Try another search" /></form></p>
163
    [% END %]
164
    [% END %]
164
165
165
[% END %]
166
[% END %]
166
167
167
[% IF ( numberpending ) %]<h3 align="center">Still [% numberpending %] servers to search</h3>[% END %]
168
[% IF ( numberpending ) %]<h3 align="center">[% t('Still') %] [% numberpending %] [% t('servers to search') %]</h3>[% END %]
168
169
169
[% MACRO jsinclude BLOCK %]
170
[% MACRO jsinclude BLOCK %]
170
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %]
171
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt (-53 / +53 lines)
Lines 1-7 Link Here
1
[% PROCESS 'i18n.inc' %]
1
[% USE Asset %]
2
[% USE Asset %]
2
[% SET footerjs = 1 %]
3
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Koha &rsaquo; Z39.50/SRU search results</title>
5
<title>[% t('Koha › Z39.50/SRU search results') %]</title>
5
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
6
[% Asset.css("css/datatables.css") %]
7
[% Asset.css("css/datatables.css") %]
7
<style type="text/css">
8
<style type="text/css">
Lines 13-44 Link Here
13
    <div class="container-fluid">
14
    <div class="container-fluid">
14
15
15
	  [% IF ( opsearch ) %]
16
	  [% IF ( opsearch ) %]
16
<h2>Z39.50/SRU search</h2>
17
<h2>[% t('Z39.50/SRU search') %]</h2>
17
    <form method="post" action="z3950_search.pl" name="f" class="checkboxed">
18
    <form method="post" action="z3950_search.pl" name="f" class="checkboxed">
18
        <div class="row">
19
        <div class="row">
19
            <div class="col-xs-6">
20
            <div class="col-xs-6">
20
    <input type="hidden" name="op" id="op" value="do_search" />
21
    <input type="hidden" name="op" id="op" value="do_search" />
21
	    <fieldset class="rows"> 
22
	    <fieldset class="rows"> 
22
        <ol>
23
        <ol>
23
        <li><label for="isbn">ISBN: </label> <input type="text" id="isbn" name="isbn" value="[% isbn | html %]" /></li>
24
        <li><label for="isbn">[% t('ISBN:') %] </label> <input type="text" id="isbn" name="isbn" value="[% isbn | html %]" /></li>
24
        <li><label for="issn">ISSN: </label> <input type="text" id="issn" name="issn" value="[% issn | html %]" /></li>
25
        <li><label for="issn">[% t('ISSN:') %] </label> <input type="text" id="issn" name="issn" value="[% issn | html %]" /></li>
25
        <li><label for="title">Title: </label> <input type="text" id="title"  name="title" value="[% title |html %]" /></li>
26
        <li><label for="title">[% t('Title:') %] </label> <input type="text" id="title" name="title" value="[% title |html %]" /></li>
26
        <li><label for="author">Author: </label> <input type="text" id="author" name="author" value="[% author | html %]" /></li>
27
        <li><label for="author">[% t('Author:') %] </label> <input type="text" id="author" name="author" value="[% author | html %]" /></li>
27
        <li><label for="subject">Subject heading: </label> <input type="text" id="subject" name="subject" value="" /></li>
28
        <li><label for="subject">[% t('Subject heading:') %] </label> <input type="text" id="subject" name="subject" value="" /></li>
28
        <li><label for="srchany">Keyword (any): </label> <input type="text" id="srchany" name="srchany" value="" /></li>
29
        <li><label for="srchany">[% t('Keyword (any):') %] </label> <input type="text" id="srchany" name="srchany" value="" /></li>
29
        <li><label for="lccall">LC call number: </label> <input type="text" id="lccall" name="lccall" value="" /></li>
30
        <li><label for="lccall">[% t('LC call number:') %] </label> <input type="text" id="lccall" name="lccall" value="" /></li>
30
        <li><label for="controlnumber">Control no.: </label> <input type="text" id="controlnumber" name="controlnumber" value="" /></li>
31
        <li><label for="controlnumber">[% t('Control no.:') %] </label> <input type="text" id="controlnumber" name="controlnumber" value="" /></li>
31
        <li><label for="dewey">Dewey: </label> <input type="text" id="dewey" name="dewey" value="" /></li>
32
        <li><label for="dewey">[% t('Dewey:') %] </label> <input type="text" id="dewey" name="dewey" value="" /></li>
32
        <li><label for="stdid">Standard ID: </label> <input type="text" id="stdid" name="stdid" value="" /></li>
33
        <li><label for="stdid">[% t('Standard ID:') %] </label> <input type="text" id="stdid" name="stdid" value="" /></li>
33
        <li><a id="resetZ3950Search" href="#"><i class="fa fa-trash"></i> Clear search form</a></li>
34
        <li><a id="resetZ3950Search" href="#"><i class="fa fa-trash"></i> [% t('Clear search form') %]</a></li>
34
        </ol>
35
        </ol>
35
    <input type="hidden" name="biblionumber" value="[% biblionumber | html %]" />
36
    <input type="hidden" name="biblionumber" value="[% biblionumber | html %]" />
36
    <input type="hidden" name="frameworkcode" value="[% frameworkcode | html %]" />
37
    <input type="hidden" name="frameworkcode" value="[% frameworkcode | html %]" />
37
    </div>
38
    </div>
38
    <div class="col-xs-6">
39
    <div class="col-xs-6">
39
      <h2>Search targets</h2>
40
      <h2>[% t('Search targets') %]</h2>
40
      <div id="z3950_search_targets">
41
      <div id="z3950_search_targets">
41
        <span class="z3950checks"><span class="checkall"><a id="CheckAll" href="#"><i class="fa fa-check"></i> Select all</a></span> | <span class="clearall"><a id="CheckNone" href="#"><i class="fa fa-remove"></i> Clear all</a></span></span>
42
        <span class="z3950checks"><span class="checkall"><a id="CheckAll" href="#"><i class="fa fa-check"></i> [% t('Select all') %]</a></span> | <span class="clearall"><a id="CheckNone" href="#"><i class="fa fa-remove"></i> [% t('Clear all') %]</a></span></span>
42
    [% FOREACH serverloo IN serverloop %]
43
    [% FOREACH serverloo IN serverloop %]
43
        <p> 
44
        <p> 
44
            [% IF ( serverloo.checked ) %]
45
            [% IF ( serverloo.checked ) %]
Lines 55-61 Link Here
55
    </div>
56
    </div>
56
    <nav class="navbar navbar-default navbar-fixed-bottom">
57
    <nav class="navbar navbar-default navbar-fixed-bottom">
57
        <div class="container-fluid">
58
        <div class="container-fluid">
58
            <fieldset class="action"><input type="submit"  class="submit" value="Search" /> <a class="cancel close" href="#">Cancel</a></fieldset>
59
            <fieldset class="action"><input type="submit" class="submit" value="Search" /> <a class="cancel close" href="#">[% t('Cancel') %]</a></fieldset>
59
        </div>
60
        </div>
60
    </nav>
61
    </nav>
61
    </form>
62
    </form>
Lines 64-90 Link Here
64
[% ELSE %]
65
[% ELSE %]
65
    <div class="row">
66
    <div class="row">
66
        <div class="col-xs-12">
67
        <div class="col-xs-12">
67
    <h2>Results</h2>
68
    <h2>[% t('Results') %]</h2>
68
    <p>You searched for:
69
    <p>[% t('You searched for:') %]
69
        [% IF ( title ) %]<em>Title: </em><span class="term">[% title | html %]</span> [% END %]
70
        [% IF ( title ) %]<em>[% t('Title:') %] </em><span class="term">[% title | html %]</span> [% END %]
70
        [% IF ( author ) %]<em>Author: </em><span class="term">[% author | html %]</span> [% END %]
71
        [% IF ( author ) %]<em>[% t('Author:') %] </em><span class="term">[% author | html %]</span> [% END %]
71
        [% IF ( isbn ) %]<em>ISBN: </em><span class="term">[% isbn | html %]</span> [% END %]
72
        [% IF ( isbn ) %]<em>[% t('ISBN:') %] </em><span class="term">[% isbn | html %]</span> [% END %]
72
        [% IF ( issn ) %]<em>ISSN: </em><span class="term">[% issn | html %]</span> [% END %]
73
        [% IF ( issn ) %]<em>[% t('ISSN:') %] </em><span class="term">[% issn | html %]</span> [% END %]
73
        [% IF ( lccall ) %]<em>LC call number: </em><span class="term">[% lccall | html %]</span> [% END %]
74
        [% IF ( lccall ) %]<em>[% t('LC call number:') %] </em><span class="term">[% lccall | html %]</span> [% END %]
74
        [% IF ( subject ) %]<em>Subject heading: </em><span class="term">[% subject | html %]</span> [% END %]
75
        [% IF ( subject ) %]<em>[% t('Subject heading:') %] </em><span class="term">[% subject | html %]</span> [% END %]
75
        [% IF ( controlnumber ) %]<em>Control no: </em><span class="term">[% controlnumber | html %]</span> [% END %]
76
        [% IF ( controlnumber ) %]<em>[% t('Control no:') %] </em><span class="term">[% controlnumber | html %]</span> [% END %]
76
        [% IF ( dewey ) %]<em>Dewey: </em><span class="term">[% dewey | html %]</span> [%END %]
77
        [% IF ( dewey ) %]<em>[% t('Dewey:') %] </em><span class="term">[% dewey | html %]</span> [%END %]
77
        [% IF ( srchany ) %]<em>Raw (any): </em><span class="term">[% srchany | html %]</span> [% END %]
78
        [% IF ( srchany ) %]<em>[% t('Raw (any):') %] </em><span class="term">[% srchany | html %]</span> [% END %]
78
        [% IF ( stdid ) %]<em>Standard ID: </em><span class="term">[% stdid | html %]</span> [% END %]
79
        [% IF ( stdid ) %]<em>[% t('Standard ID:') %] </em><span class="term">[% stdid | html %]</span> [% END %]
79
    </p>
80
    </p>
80
    [% IF ( errconn ) %]
81
    [% IF ( errconn ) %]
81
            <div class="dialog alert">
82
            <div class="dialog alert">
82
                <ul>
83
                <ul>
83
                [% FOREACH errcon IN errconn %]
84
                [% FOREACH errcon IN errconn %]
84
                    [% IF ( errcon.error == '10000' ) %]<li>Connection failed to [% errcon.server %]</li>
85
                    [% IF ( errcon.error == '10000' ) %]<li>[% t('Connection failed to') %] [% errcon.server %]</li>
85
                    [% ELSIF ( errcon.error == '10007' ) %]<li>Connection timeout to [% errcon.server %]</li>
86
                    [% ELSIF ( errcon.error == '10007' ) %]<li>[% t('Connection timeout to') %] [% errcon.server %]</li>
86
                    [% ELSIF ( errcon.error == 'xslt_err' ) %]<li>[% errcon.server %]: Warning: XSLT error on search result [% errcon.seq %]</li>
87
                    [% ELSIF ( errcon.error == 'xslt_err' ) %]<li>[% errcon.server %][% t(': Warning: XSLT error on search result') %] [% errcon.seq %]</li>
87
                    [% ELSE %]<li>[% errcon.server %] record [% errcon.seq %]: [% errcon.error %]</li>
88
                    [% ELSE %]<li>[% errcon.server %] [% t('record') %] [% errcon.seq %]: [% errcon.error %]</li>
88
                    [% END %]
89
                    [% END %]
89
                [% END %]
90
                [% END %]
90
                </ul>
91
                </ul>
Lines 94-107 Link Here
94
    [% IF ( breeding_loop ) %]
95
    [% IF ( breeding_loop ) %]
95
    <table id="resultst">
96
    <table id="resultst">
96
<thead>    <tr>
97
<thead>    <tr>
97
        <th>Server</th>
98
        <th>[% t('Server') %]</th>
98
        <th>Title</th>
99
        <th>[% t('Title') %]</th>
99
        <th>Author</th>
100
        <th>[% t('Author') %]</th>
100
        <th>Date</th>
101
        <th>[% t('Date') %]</th>
101
        <th>Edition</th>
102
        <th>[% t('Edition') %]</th>
102
        <th>ISBN</th>
103
        <th>[% t('ISBN') %]</th>
103
        <th>LCCN</th>
104
        <th>[% t('LCCN') %]</th>
104
        <th>Actions</th>
105
        <th>[% t('Actions') %]</th>
105
    </tr></thead>
106
    </tr></thead>
106
    <tbody>[% FOREACH breeding_loo IN breeding_loop %]
107
    <tbody>[% FOREACH breeding_loo IN breeding_loop %]
107
        [% IF ( breeding_loo.breedingid ) %]
108
        [% IF ( breeding_loo.breedingid ) %]
Lines 118-129 Link Here
118
            <td>
119
            <td>
119
                <div class="dropdown">
120
                <div class="dropdown">
120
                    <a class="btn btn-default btn-xs dropdown-toggle" id="cataloguesearchactions[% breeding_loo.breedingid %]" role="button" data-toggle="dropdown" href="#">
121
                    <a class="btn btn-default btn-xs dropdown-toggle" id="cataloguesearchactions[% breeding_loo.breedingid %]" role="button" data-toggle="dropdown" href="#">
121
                      Actions <b class="caret"></b>
122
                      [% t('Actions') %] <b class="caret"></b>
122
                    </a>
123
                    </a>
123
                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="cataloguesearchactions[% breeding_loo.breedingid %]">
124
                    <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="cataloguesearchactions[% breeding_loo.breedingid %]">
124
                        <li><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid %]" title="MARC" class="previewData"><i class="fa fa-eye"></i> MARC preview</a></li>
125
                        <li><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid %]" title="[% t('MARC') %]" class="previewData"><i class="fa fa-eye"></i> [% t('MARC preview') %]</a></li>
125
                        <li><a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;importid=[% breeding_loo.breedingid %]" title="Card" class="previewData"><i class="fa fa-eye"></i> Card preview</a></li>
126
                        <li><a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&importid=[% breeding_loo.breedingid %]" title="[% t('Card') %]" class="previewData"><i class="fa fa-eye"></i> [% t('Card preview') %]</a></li>
126
                        <li><a href="#" class="import_record" data-breedingid="[% breeding_loo.breedingid %]" data-biblionumber="[% breeding_loo.biblionumber %]" data-frameworkcode="[% frameworkcode | uri %]"><i class="fa fa-download"></i> Import</a></li>
127
                        <li><a href="#" class="import_record" data-breedingid="[% breeding_loo.breedingid %]" data-biblionumber="[% breeding_loo.biblionumber %]" data-frameworkcode="[% frameworkcode | uri %]"><i class="fa fa-download"></i> [% t('Import') %]</a></li>
127
                    </ul>
128
                    </ul>
128
                </div>
129
                </div>
129
            </td>
130
            </td>
Lines 137-146 Link Here
137
    <div class="modal-content">
138
    <div class="modal-content">
138
    <div class="modal-header">
139
    <div class="modal-header">
139
        <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
140
        <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
140
        <h3 id="dataPreviewLabel">Preview</h3>
141
        <h3 id="dataPreviewLabel">[% t('Preview') %]</h3>
141
    </div>
142
    </div>
142
    <div class="modal-body">
143
    <div class="modal-body">
143
        <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> Loading </div>
144
        <div id="loading"> <img src="[% interface %]/[% theme %]/img/spinner-small.gif" alt="" /> [% t('Loading') %] </div>
144
    </div>
145
    </div>
145
    </div>
146
    </div>
146
    </div>
147
    </div>
Lines 150-156 Link Here
150
    <form method="post" action="z3950_search.pl" id="page_form" name="page_form" class="checkboxed">
151
    <form method="post" action="z3950_search.pl" id="page_form" name="page_form" class="checkboxed">
151
        <input type="hidden" name="op" id="op" value="do_search" />
152
        <input type="hidden" name="op" id="op" value="do_search" />
152
        <input type="hidden" name="current_page" id="current_page" value="[% current_page %]" />
153
        <input type="hidden" name="current_page" id="current_page" value="[% current_page %]" />
153
        <input type="hidden" id="title"  name="title" value="[% title | html %]" />
154
        <input type="hidden" id="title" name="title" value="[% title | html %]" />
154
        <input type="hidden" id="isbn" name="isbn" value="[% isbn | html %]" />
155
        <input type="hidden" id="isbn" name="isbn" value="[% isbn | html %]" />
155
        <input type="hidden" id="lccall" name="lccall" value="[% lccall | html %]" />
156
        <input type="hidden" id="lccall" name="lccall" value="[% lccall | html %]" />
156
        <input type="hidden" id="controlnumber" name="controlnumber" value="[% controlnumber | html %]" />
157
        <input type="hidden" id="controlnumber" name="controlnumber" value="[% controlnumber | html %]" />
Lines 169-191 Link Here
169
        [% IF ( show_prevbutton ) %]
170
        [% IF ( show_prevbutton ) %]
170
            <input type="button" name="changepage_prev" value="Previous page" data-currentpage="[% current_page %]" />
171
            <input type="button" name="changepage_prev" value="Previous page" data-currentpage="[% current_page %]" />
171
        [% END %]
172
        [% END %]
172
        Page [% current_page %] / [% total_pages %]
173
        [% t('Page') %] [% current_page %] / [% total_pages %]
173
        [% IF ( show_nextbutton ) %]
174
        [% IF ( show_nextbutton ) %]
174
            <input type="button" name="changepage_next" value="Next page" data-currentpage="[% current_page %]" />
175
            <input type="button" name="changepage_next" value="Next page" data-currentpage="[% current_page %]" />
175
        [% END %]
176
        [% END %]
176
        <br />Go to page : <input id="goto_page" name="goto_page" value="[% current_page %]" size="4" /><input type="submit" name="changepage_goto" value="Go" />
177
        <br />[% t('Go to page :') %] <input id="goto_page" name="goto_page" value="[% current_page %]" size="4" /><input type="submit" name="changepage_goto" value="Go" />
177
    </form>
178
    </form>
178
179
179
    [% ELSE %]
180
    [% ELSE %]
180
        <div class="dialog message">Nothing found.</div>
181
        <div class="dialog message">[% t('Nothing found.') %]</div>
181
    [% END %]
182
    [% END %]
182
<p><form method="get" action="/cgi-bin/koha/cataloguing/z3950_search.pl"><input type="hidden" name="biblionumber" value="[% biblionumber | html %]"/><input type="hidden" name="frameworkcode" value="[% frameworkcode | html %]"/><input type="submit" value="Try another search"/></form></p>
183
<p><form method="get" action="/cgi-bin/koha/cataloguing/z3950_search.pl"><input type="hidden" name="biblionumber" value="[% biblionumber | html %]" /><input type="hidden" name="frameworkcode" value="[% frameworkcode | html %]" /><input type="submit" value="Try another search" /></form></p>
183
184
184
[% END %]
185
[% END %]
185
186
186
</div>
187
</div>
187
</div>
188
</div>
188
[% IF ( numberpending ) %]<h3 align="center">Still [% numberpending %] servers to search</h3>[% END %]
189
[% IF ( numberpending ) %]<h3 align="center">[% t('Still') %] [% numberpending %] [% t('servers to search') %]</h3>[% END %]
189
190
190
[% MACRO jsinclude BLOCK %]
191
[% MACRO jsinclude BLOCK %]
191
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %]
192
    [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %]
192
- 

Return to bug 20988