[Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/css/en opac-addbookbybiblionumber.tmpl,NONE,1.1 opac-detail.tmpl,1.14,1.15 opac-ISBDdetail.tmpl,1.3,1.4 opac-main.tmpl,1.15,1.16 opac-MARCdetail.tmpl,1.4,1.5 opac-shelves.tmpl,1.1,1.2
Paul POULAIN
tipaul at users.sourceforge.net
Mon Jan 3 12:09:37 CET 2005
Update of /cvsroot/koha/koha/koha-tmpl/opac-tmpl/css/en
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23967/koha-tmpl/opac-tmpl/css/en
Modified Files:
opac-detail.tmpl opac-ISBDdetail.tmpl opac-main.tmpl
opac-MARCdetail.tmpl opac-shelves.tmpl
Added Files:
opac-addbookbybiblionumber.tmpl
Log Message:
synch'ing virtual shelves management in opac with the librarian one, that has more features
--- NEW FILE ---
<!-- TMPL_INCLUDE Name="popup-top.inc" -->
<div id="mainbloc">
<h1>Add book to bookshelf</h1>
<p><label>Title</label><!-- TMPL_VAR NAME="title" --></p>
<p><label>Author</label><!-- TMPL_VAR NAME="author" --></p>
<h2>Select bookshelf</h2>
<form>
<p><label>Add to virtual shelf</label><!-- TMPL_VAR NAME="CGIbookshelves" --></p>
</form>
<form>
<h2>or add to a new bookshelf</h2>
<p><input type="text" name="newbookshelf" maxlength=40 size=40>
<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->">
<select name="category">
<option value="1">Private</option>
<option value="2">Public</option>
<option value="3">Free</option>
</select>
</p>
<input type="submit" value="Add to virtual shelf" class="button catalogue">
</form>
<!-- TMPL_INCLUDE Name="popup-bottom.inc" -->
Index: opac-detail.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/opac-tmpl/css/en/opac-detail.tmpl,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** opac-detail.tmpl 22 Nov 2004 16:18:11 -0000 1.14
--- opac-detail.tmpl 3 Jan 2005 11:09:33 -0000 1.15
***************
*** 3,11 ****
<div id="bibliomenu">
<a href="opac-ISBDdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button catalogue">
ISBD
</a>
! <a href="opac-MARCdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button">
! MARC
</a>
<a href="javascript:Dopop('opac-detailprint.pl?bib=<!-- TMPL_VAR name="biblionumber" -->')" class="button catalogue">
--- 3,17 ----
<div id="bibliomenu">
+ <a href="opac-detail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button catalogue">
+ Simple
+ </a>
+ <a href="opac-MARCdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button">
+ Complete
+ </a>
<a href="opac-ISBDdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button catalogue">
ISBD
</a>
! <a href="javascript:Dopop('opac-addbookbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->')" class="button catalogue">
! Add to shelf
</a>
<a href="javascript:Dopop('opac-detailprint.pl?bib=<!-- TMPL_VAR name="biblionumber" -->')" class="button catalogue">
Index: opac-ISBDdetail.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/opac-tmpl/css/en/opac-ISBDdetail.tmpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** opac-ISBDdetail.tmpl 28 Nov 2004 08:58:04 -0000 1.3
--- opac-ISBDdetail.tmpl 3 Jan 2005 11:09:33 -0000 1.4
***************
*** 3,10 ****
<div id="bibliomenu">
<a href="opac-detail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button catalogue">
! Normal
</a>
<a href="opac-MARCdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button">
! MARC
</a>
<a href="javascript:Dopop('opac-detailprint.pl?bib=<!-- TMPL_VAR name="biblionumber" -->')" class="button catalogue">
--- 3,16 ----
<div id="bibliomenu">
<a href="opac-detail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button catalogue">
! Simple
</a>
<a href="opac-MARCdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button">
! Complete
! </a>
! <a href="opac-ISBDdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button catalogue">
! ISBD
! </a>
! <a href="javascript:Dopop('opac-addbookbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->')" class="button catalogue">
! Add to shelf
</a>
<a href="javascript:Dopop('opac-detailprint.pl?bib=<!-- TMPL_VAR name="biblionumber" -->')" class="button catalogue">
***************
*** 16,19 ****
--- 22,31 ----
</a>
<!-- /TMPL_UNLESS -->
+ <!-- TMPL_IF name="subscriptionid" -->
+ <a href="opac-serial-issues.pl?subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->" class="button catalogue" title="Serial issues">
+ Issues
+ </a>
+ <!-- /TMPL_IF -->
+ <a class="button" href="javascript:addRecord('<!-- TMPL_VAR NAME="biblionumber" ESCAPE=URL -->')">Add to basket</a>
</div>
Index: opac-main.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/opac-tmpl/css/en/opac-main.tmpl,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** opac-main.tmpl 8 Dec 2004 10:26:32 -0000 1.15
--- opac-main.tmpl 3 Jan 2005 11:09:33 -0000 1.16
***************
*** 4,14 ****
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
! <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang" -->/includes/opac.css" />
<title><!--TMPL_VAR name="LibraryName"--></title>
- <style type="text/css">
- input {
- background-color: #ACE6E6;
- }
- </style>
</head>
--- 4,13 ----
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
! <!-- TMPL_IF name="opacstylesheet" -->
! <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="opacstylesheet"-->" />
! <!-- TMPL_ELSE -->
! <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang"-->/includes/opac.css" />
! <!-- /TMPL_IF -->
<title><!--TMPL_VAR name="LibraryName"--></title>
</head>
Index: opac-MARCdetail.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/opac-tmpl/css/en/opac-MARCdetail.tmpl,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** opac-MARCdetail.tmpl 12 Nov 2004 16:28:10 -0000 1.4
--- opac-MARCdetail.tmpl 3 Jan 2005 11:09:33 -0000 1.5
***************
*** 1,20 ****
<!-- TMPL_INCLUDE NAME="opac-top.inc" -->
- <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang" -->/includes/marc-editor.css">
<div id="bibliomenu">
<a href="opac-detail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button catalogue">
! Normal
</a>
<a href="opac-ISBDdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button catalogue">
ISBD
</a>
<a href="javascript:Dopop('opac-detailprint.pl?bib=<!-- TMPL_VAR name="biblionumber" -->')" class="button catalogue">
Print
</a>
! <!-- TMPL_IF NAME="norequests" -->
! <!-- TMPL_ELSE -->
<a class="button" href="/cgi-bin/koha/opac-reserve.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE=URL -->">
Request
</a>
<!-- /TMPL_IF -->
</div>
--- 1,30 ----
<!-- TMPL_INCLUDE NAME="opac-top.inc" -->
<div id="bibliomenu">
<a href="opac-detail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button catalogue">
! Simple
! </a>
! <a href="opac-MARCdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button">
! Complete
</a>
<a href="opac-ISBDdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->" class="button catalogue">
ISBD
</a>
+ <a href="javascript:Dopop('opac-addbookbybiblionumber.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->')" class="button catalogue">
+ Add to shelf
+ </a>
<a href="javascript:Dopop('opac-detailprint.pl?bib=<!-- TMPL_VAR name="biblionumber" -->')" class="button catalogue">
Print
</a>
! <!-- TMPL_UNLESS NAME="norequests" -->
<a class="button" href="/cgi-bin/koha/opac-reserve.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE=URL -->">
Request
</a>
+ <!-- /TMPL_UNLESS -->
+ <!-- TMPL_IF name="subscriptionid" -->
+ <a href="opac-serial-issues.pl?subscriptionid=<!-- TMPL_VAR NAME="subscriptionid" -->" class="button catalogue" title="Serial issues">
+ Issues
+ </a>
<!-- /TMPL_IF -->
+ <a class="button" href="javascript:addRecord('<!-- TMPL_VAR NAME="biblionumber" ESCAPE=URL -->')">Add to basket</a>
</div>
Index: opac-shelves.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/opac-tmpl/css/en/opac-shelves.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** opac-shelves.tmpl 15 Mar 2004 15:01:49 -0000 1.1
--- opac-shelves.tmpl 3 Jan 2005 11:09:33 -0000 1.2
***************
*** 2,160 ****
<div id="mainbloc">
<!-- TMPL_IF Name="viewshelf" -->
! <form>
! <table>
! <tr>
! <th colspan=4>
! Contents of <!-- TMPL_VAR Name="shelfname" -->
! </th>
! </tr>
! <!-- TMPL_LOOP Name="itemsloop" -->
! <tr>
! <!-- TMPL_IF name="color" -->
! <td class="hilighted"><input type=checkbox name="REM-<!-- TMPL_VAR Name="itemnumber" -->"></td>
! <td class="hilighted"><a href="opac-detail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->"><!-- TMPL_VAR Name="barcode" --></a></td>
! <td class="hilighted"><!-- TMPL_VAR Name="title" --></td>
! <td class="hilighted"><!-- TMPL_VAR Name="author" --></td>
! <!-- TMPL_ELSE -->
! <td><input type=checkbox name="REM-<!-- TMPL_VAR Name="itemnumber" -->"></td>
! <td class="hilighted"><a href="opac-detail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->"><!-- TMPL_VAR Name="barcode" --></a></td>
! <td><!-- TMPL_VAR Name="title" --></td>
! <td><!-- TMPL_VAR Name="author" --></td>
! <!-- /TMPL_IF -->
! </tr>
! <!-- /TMPL_LOOP -->
! </table>
! <br>
! <a href="opac-shelves.pl" class="button">Shelf list</a>
! <input type=hidden name=shelfnumber value="<!-- TMPL_VAR Name="shelfnumber" -->">
! <input type=hidden name=modifyshelfcontents value=1>
! <input type=hidden name=viewshelf value="<!-- TMPL_VAR Name="shelfnumber" -->">
<!-- TMPL_IF name="manageshelf" -->
! <input type=submit value="Remove Selected Items" class="button">
<!-- /TMPL_IF -->
- </form>
- <!-- TMPL_IF name="manageshelf" -->
- <form>
- <input type=hidden name=shelfnumber value="<!-- TMPL_VAR Name="shelfnumber" -->">
- <input type=hidden name=modifyshelfcontents value=1>
- <input type=hidden name=viewshelf value="<!-- TMPL_VAR Name="shelfnumber" -->">
- <table>
- <tr>
- <td>
- Add a book by barcode in <!-- TMPL_VAR name="shelfname" -->:
- </td>
- <td>
- <input name="addbarcode">
- <input type=hidden name=modifyshelfcontents value=1>
- <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR Name="shelfnumber" -->">
- <input type="submit" value="Save" class="button">
- </td>
- </tr>
- </table>
- </form>
- <!-- /TMPL_IF -->
<!-- TMPL_ELSE -->
<!-- TMPL_IF Name="shelves" -->
<!-- TMPL_IF Name="status1" -->
! <font color=red><!-- TMPL_VAR Name="string1" --></font><p>
<!-- /TMPL_IF -->
<!-- TMPL_LOOP Name="paramsloop" -->
<!-- TMPL_IF Name="status" -->
! <font color=red><!-- TMPL_VAR Name="string" --></font><p>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
! <center>
! <h1>Bookshelves</h1>
! <table border=0 cellpadding=7>
! <tr>
! <td align=center valign="bottom">
! <form>
! <p>
! <a href="opac-shelves.pl" class="button">Shelf list</a>
! </p>
! </form>
! </td>
! <td align=center valign="bottom">
! <form method=post>
! <input type="hidden" name="shelves" value=1>
! <table border=0 cellpadding=0 cellspacing=0>
! <tr>
! <th>Select Shelves to Delete
! </th>
! </tr>
<!-- TMPL_LOOP Name="shelvesloop" -->
<!-- TMPL_IF name="canmanage" -->
! <tr>
! <td bgcolor="<!-- TMPL_VAR Name="color" -->">
! <input type=checkbox name="DEL-<!-- TMPL_VAR Name="shelf" -->">
! <!-- TMPL_VAR Name="shelfname" --> (<!-- TMPL_VAR Name="shelfbookcount" --> books)
! </td>
! </tr>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
- </table>
<p>
! <input type=submit value="Delete Shelves" class="button"></form>
</p>
- </td>
- <td align=center valign=bottom>
- <form method=post>
- <input type=hidden name=shelves value=1>
- <table border=0 cellpadding=0 cellspacing=0>
- <tr>
- <th>
- <font color=white>Add Shelf</font>
- </th>
- </tr>
- <tr>
- <td>
- <p>Name : <input type="text" name="addshelf" size="25"></p>
- <p>Owner : <input type="hidden" name="owner" value="<!-- TMPL_VAR name="loggedinuser" -->"><!-- TMPL_VAR name="loggedinusername" --></p>
- <p>Category : <select name="category">
- <option value="1">Private</option>
- <option value="2">Public</option>
- <option value="3">Free</option>
- </select>
- </p>
- <p> <li>a private bookshelf is managed by you & can be seen only by you.</li>
- <li> A public can be seen by everybody, but managed only by you.</li>
- <li> A free can be managed by any user.</li>
- </p>
- </td>
- </tr>
- </table>
- <p><input type=submit value="Add New Shelf" class="button"></p>
</form>
! </td>
! </tr>
! </table>
<!-- TMPL_ELSE -->
! <center>
! <table border=0 cellpadding=4 cellspacing=0>
! <tr>
! <th>
! Shelf List
! </th>
! </tr>
! <!-- TMPL_LOOP Name="shelvesloop" -->
! <tr>
! <!-- TMPL_IF name="color" -->
! <td class="hilighted">
! <!-- TMPL_ELSE -->
! <td>
! <!-- /TMPL_IF -->
! <a href="opac-shelves.pl?viewshelf=<!-- TMPL_VAR Name="shelf" -->">
! <!-- TMPL_VAR Name="shelfname" -->(<!-- TMPL_VAR Name="shelfbookcount" --> books)
! </a>
! </td>
! </tr>
! <!-- /TMPL_LOOP -->
! </table>
! <P>
<a href="opac-shelves.pl?shelves=1" class="button">Add or Remove Book Shelves</a>
! </p>
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
</div>
<!-- TMPL_INCLUDE Name="opac-bottom.inc" -->
--- 2,189 ----
<div id="mainbloc">
<!-- TMPL_IF Name="viewshelf" -->
! <form>
! <h1><!-- TMPL_VAR NAME="shelfname" --></h1>
!
! <div>
! <h2>Shelf content</h2>
! <table class="small">
! <tr colspan="4">
! <th>delete</th>
! <th>barcode</th>
! <th>title</th>
! <th>Author</th>
! </tr>
! <!-- TMPL_LOOP Name="itemsloop" -->
! <tr>
! <td bgcolor="<!-- TMPL_VAR NAME="color" -->"><input type="checkbox" name="REM-<!-- TMPL_VAR NAME="itemnumber" -->"></td>
! <td bgcolor="<!-- TMPL_VAR NAME="color" -->"><!-- TMPL_VAR NAME="barcode" --></td>
! <td bgcolor="<!-- TMPL_VAR NAME="color" -->"><a href="opac-MARCdetail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a></td>
! <td bgcolor="<!-- TMPL_VAR NAME="color" -->"><!-- TMPL_VAR NAME="author" --></td>
! </tr>
! <!-- /TMPL_LOOP -->
! </table>
! <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelfnumber" -->">
! <input type="hidden" name="modifyshelfcontents" value="1">
! <input type="hidden" name="viewshelf" value="<!-- TMPL_VAR NAME="shelfnumber" -->">
! <!-- TMPL_IF name="manageshelf" -->
! <input type="submit" value="Remove Selected Items" class="button">
! <!-- /TMPL_IF -->
! <a href="opac-shelves.pl" class="button">Shelf list</a>
! </div>
! </form>
!
<!-- TMPL_IF name="manageshelf" -->
! <div id="bloc20">
! <form>
! <h2>Add a book by barcode</h2>
! <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelfnumber" -->">
! <input type="hidden" name="modifyshelfcontents" value="1">
! <input type="hidden" name="viewshelf" value="<!-- TMPL_VAR NAME="shelfnumber" -->">
! <input name="addbarcode">
! <input type="hidden" name="modifyshelfcontents" value="1">
! <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelfnumber" -->">
! <input type="submit" value="Save" class="button">
! </form>
! </div>
<!-- /TMPL_IF -->
<!-- TMPL_ELSE -->
<!-- TMPL_IF Name="shelves" -->
+ <h1>Bookshelves</h1>
<!-- TMPL_IF Name="status1" -->
! <p class="problem"><!-- TMPL_VAR NAME="string1" --><p>
<!-- /TMPL_IF -->
<!-- TMPL_LOOP Name="paramsloop" -->
<!-- TMPL_IF Name="status" -->
! <p class="problem"><!-- TMPL_VAR NAME="string" --><p>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
! <div id="bloc20">
! <h2>Select Shelves to Delete</h2>
! <form method="post">
! <input type="hidden" name="shelves" value="1">
<!-- TMPL_LOOP Name="shelvesloop" -->
<!-- TMPL_IF name="canmanage" -->
! <p>
! <label>
! <input type="checkbox" name="DEL-<!-- TMPL_VAR NAME="shelf" -->">
! </label>
! <a href="opac-shelves.pl?viewshelf=<!-- TMPL_VAR name="shelf" -->"><!-- TMPL_VAR NAME="shelfname" --></a> (<!-- TMPL_VAR NAME="shelfbookcount" --> item(s))
! </p>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
<p>
! <input type="submit" value="Delete Shelves" class="button">
</p>
</form>
! </div>
! <div id="bloc60">
! <form method="post">
! <input type="hidden" name="shelves" value="1">
! <h2>Add Shelf</h2>
! <p><label>Name</label><input type="text" name="addshelf" size="25"></p>
! <p><label>Owner</label><input type="hidden" name="owner" value="<!-- TMPL_VAR NAME="loggedinuser" -->"><!-- TMPL_VAR NAME="loggedinusername" --></p>
! <p><label>Category</label>
! <select name="category">
! <option value="1">Private</option>
! <option value="2">Public</option>
! <option value="3">Free</option>
! </select>
! </p>
! <ul> <li>a private bookshelf is managed by you & can be seen only by you.</li>
! <li> A public can be seen by everybody, but managed only by you.</li>
! <li> A free can be managed by any user.</li>
! </ul>
! <p>
! <input type="submit" value="Add New Shelf" class="button">
! <a href="opac-shelves.pl" class="button">back to shelf list</a>
! </p>
+ </form>
+ </div>
<!-- TMPL_ELSE -->
! <div id="bloc20">
! <h2>Shelf list</h2>
! <table class="small">
! <tr>
! <th>Shelf name</th>
! <th>Category</th>
! <th>Content size</th>
! <th>Modify</th>
! </tr>
! <!-- TMPL_LOOP Name="shelvesloop" -->
! <tr>
! <td bgcolor="<!-- TMPL_VAR NAME="color" -->">
! <a href="opac-shelves.pl?viewshelf=<!-- TMPL_VAR NAME="shelf" -->">
! <!-- TMPL_VAR NAME="shelfname" -->
! </a>
! </td>
! <td bgcolor="<!-- TMPL_VAR NAME="color" -->">
! <!-- TMPL_IF NAME="category1" -->
! Private
! <!-- /TMPL_IF -->
! <!-- TMPL_IF NAME="category2" -->
! Public
! <!-- /TMPL_IF -->
! <!-- TMPL_IF NAME="category3" -->
! Free
! <!-- /TMPL_IF -->
! </td>
! <td bgcolor="<!-- TMPL_VAR NAME="color" -->">
! <!-- TMPL_VAR NAME="shelfbookcount" --> item(s)
! </td>
! <!-- TMPL_IF name="mine" -->
! <td bgcolor="<!-- TMPL_VAR NAME="color" -->">
! <a href="opac-shelves.pl?op=modif&shelf=<!-- TMPL_VAR NAME="shelf" -->" class="button">Modify</a>
! <!-- TMPL_VAR name="surname" --><!-- TMPL_VAR name="firstname" -->
! </td>
! <!-- /TMPL_IF -->
! </tr>
! <!-- /TMPL_LOOP -->
! </table>
! </div>
! <div id="bloc20">
<a href="opac-shelves.pl?shelves=1" class="button">Add or Remove Book Shelves</a>
! </div>
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
+
+ <!-- TMPL_IF name="edit" -->
+ <div id="bloc20">
+ <form method="post">
+ <input type="hidden" name="op" value="modifsave">
+ <h2>Modify shelf</h2>
+ <input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR name="shelfnumber" -->">
+ <p><label>Name</label><input type="text" name="shelfname" size="25" value="<!-- TMPL_VAR name="shelfname"-->"></p>
+ <p><label>Owner</label><input type="hidden" name="owner" value="<!-- TMPL_VAR NAME="loggedinuser" -->"><!-- TMPL_VAR NAME="loggedinusername" --></p>
+ <p><label>Category</label>
+ <select name="category">
+ <!-- TMPL_IF name="category1" -->
+ <option value="1" selected>Private</option>
+ <!-- TMPL_ELSE -->
+ <option value="1">Private</option>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="category2" -->
+ <option value="2" selected>Public</option>
+ <!-- TMPL_ELSE -->
+ <option value="2">Public</option>
+ <!-- /TMPL_IF -->
+ <!-- TMPL_IF name="category3" -->
+ <option value="3" selected>Free</option>
+ <!-- TMPL_ELSE -->
+ <option value="3">Free</option>
+ <!-- /TMPL_IF -->
+ </select>
+ </p>
+ <p> <li>a private bookshelf is managed by you & can be seen only by you.</li>
+ <li> A public can be seen by everybody, but managed only by you.</li>
+ <li> A free can be managed by any user.</li>
+ </p>
+ <p>
+ <input type="submit" value="Save" class="button">
+ </p>
+
+ </form>
+ </div>
+ <!-- /TMPL_IF -->
</div>
<!-- TMPL_INCLUDE Name="opac-bottom.inc" -->
More information about the Koha-cvs
mailing list