Koha/koha-tmpl/opac-tmpl/prog/en/opac-addbookbybiblionumber.tmpl
2007-03-09 14:41:32 +00:00

62 lines
2.2 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<!-- TMPL_VAR NAME="LibraryNameTitle" --> Catalog -- Add to My Book List
<!-- 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="CGIbookshelves"-->
<form name="f1" action="/cgi-bin/koha/opac-addbookbybiblionumber.pl" method="POST">
<p><b>Select an Existing Bookshelf</b></p>
<label>Add to virtual shelf</label> <!-- TMPL_VAR NAME="CGIbookshelves" -->
<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-addbookbybiblionumber.pl">
<b>Add to a New Bookshelf:</b>
<p>
<label for="newbookshelf">
Shelf Name:
</label>
<input type="text" name="newbookshelf" id="newbookshelf" 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>