Koha/koha-tmpl/opac-tmpl/prog/en/opac-addbybiblionumber.tmpl
Joshua Ferraro 6cdf0832e2 new virtual shelves changes, keyed by biblionumber
Signed-off-by: Chris Cormack <crc@liblime.com>
2007-08-09 09:17:49 -05:00

62 lines
2.2 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<!-- TMPL_VAR NAME="LibraryNameTitle" --> Catalog -- Add to My Virtual Shelf
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<!-- TMPL_IF NAME="multiple"-->
<h1>Add these <!-- TMPL_VAR NAME="total"--> biblios to a shelf</h1>
<!-- TMPL_LOOP NAME="biblios"-->
<b><!-- TMPL_VAR NAME="title"--></b>
<!-- TMPL_IF NAME="author"-->by <!-- TMPL_VAR NAME="author"--><!-- /TMPL_IF -->
<br /><br />
<!-- /TMPL_LOOP -->
<!-- TMPL_ELSE -->
<h1>Add
<i><!-- TMPL_VAR NAME="title" --></i>
<!-- TMPL_IF NAME="author" -->
by <!-- TMPL_VAR NAME="author" -->
<!-- /TMPL_IF --> to a Virtual Shelf
</h1>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CGIvirtualshelves"-->
<form name="f1" action="/cgi-bin/koha/opac-addbybiblionumber.pl" method="POST">
<p><b>Select an Existing Virtualshelf</b></p>
<label>Add to virtual shelf</label> <!-- TMPL_VAR NAME="CGIvirtualshelves" -->
<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
<input type="hidden" name="modifyshelfcontents" value="1" />
<input type="submit" value="Add to virtual shelf" class="submit" />
</form>
<p>...or...</p>
<!-- /TMPL_IF -->
<form name="f2" method="POST" action="/cgi-bin/koha/opac-addbybiblionumber.pl">
<b>Add to a New Virtualshelf:</b>
<p>
<label for="newvirtualshelf">
Shelf Name:
</label>
<input type="text" name="newvirtualshelf" id="newvirtualshelf" size="40" />
</p>
<label for="category">Category:</label>
<select name="category" id="category">
<option value="1">Private</option>
<option value="2">Public</option>
</select>
<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
<input type="submit" value="Add to virtual shelf" class="submit" />
</form>
<p align="center">
<br /><br />
<a href="javascript:closePopup();">close this window.</a>
</p>
<script type="text/javascript" language="javascript">
function closePopup () {
window.close();
}
</script>
</body>
</html>