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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt (-28 / +8 lines)
Lines 496-521 function placeHold () { Link Here
496
   </div>
496
   </div>
497
[% END %]
497
[% END %]
498
498
499
[% IF can_add_biblios %]
500
<div class="yui-g">
501
<form action="/cgi-bin/koha/virtualshelves/shelves.pl" method="post">
502
 <fieldset class="brief noprint">
503
    <legend>Add an item to <i>[% shelf.shelfname | html %]</i></legend>
504
        <ol>
505
            <li>
506
                <label for="barcode">Barcode:</label>
507
                <input name="barcode" type="text" id="barcode" size="14" />
508
                <input type="hidden" name="op" value="add_biblio" />
509
                <input type="hidden" name="referer" value="view" />
510
                <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" />
511
                <input type="submit" value="Add" />
512
            </li>
513
        </ol>
514
 </fieldset>
515
</form>
516
</div>
517
[% END %]
518
519
[% IF op == 'add_form' OR op == 'edit_form' %]
499
[% IF op == 'add_form' OR op == 'edit_form' %]
520
<div class="yui-ge">
500
<div class="yui-ge">
521
    <div class="yui-u first">
501
    <div class="yui-u first">
Lines 675-691 function placeHold () { Link Here
675
</div>
655
</div>
676
</div>
656
</div>
677
657
678
[% IF ( allowaddingitem ) %]
658
[% IF ( can_add_biblios ) %]
679
<div class="yui-b">
659
<div class="yui-b">
680
  <form action="/cgi-bin/koha/virtualshelves/shelves.pl" method="post">
660
  <form action="/cgi-bin/koha/virtualshelves/shelves.pl" method="post">
681
    <fieldset class="brief">
661
    <fieldset class="brief noprint">
682
      <legend>Add an item</legend>
662
      <legend>Add an item</legend>
683
      <ol>
663
      <ol>
684
        <li>
664
        <li>
685
          <label for="addbarcode">Barcode:</label>
665
          <label for="barcode">Barcode:</label>
686
          <input name="addbarcode" type="text" id="addbarcode" class="focus" />
666
          <input name="barcode" type="text" id="barcode" class="focus" autocomplete="off" />
687
          <input type="hidden" name="viewshelf" value="[% shelfnumber %]" />
667
          <input type="hidden" name="op" value="add_biblio" />
688
          <input type="hidden" name="modifyshelfcontents" value="1" />
668
          <input type="hidden" name="referer" value="view" />
669
          <input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" />
689
        </li>
670
        </li>
690
      </ol>
671
      </ol>
691
      <fieldset class="action">
672
      <fieldset class="action">
Lines 694-700 function placeHold () { Link Here
694
    </fieldset>
675
    </fieldset>
695
  </form>
676
  </form>
696
</div>
677
</div>
697
[% END %]<!-- /allowaddingitem -->
678
[% END %]
698
679
699
</div>
680
</div>
700
[% INCLUDE 'intranet-bottom.inc' %]
681
[% INCLUDE 'intranet-bottom.inc' %]
701
- 

Return to bug 16897