koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/bookshelves addb


From: Paul POULAIN
Subject: [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/bookshelves addbookbybiblionumber.tmpl,1.1,1.2 shelves.tmpl,1.1,1.2
Date: Thu, 17 Jun 2004 01:21:00 -0700

Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/bookshelves
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14687/koha-tmpl/intranet-tmpl/default/en/bookshelves

Modified Files:
        shelves.tmpl 
Added Files:
        addbookbybiblionumber.tmpl 
Log Message:
bugfixes in bookshelves


Index: shelves.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/bookshelves/shelves.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** shelves.tmpl        10 Mar 2004 15:23:01 -0000      1.1
--- shelves.tmpl        17 Jun 2004 08:20:56 -0000      1.2
***************
*** 1,51 ****
  <!-- TMPL_INCLUDE Name="cat-top.inc" -->
  
  <!-- TMPL_IF Name="viewshelf" -->
! <center>
! <form>
!     <table border=0 cellpadding=2 cellspacing=0>
!               <tr>
!                       <th colspan=4 bgcolor="<!-- TMPL_VAR 
Name="headerbackgroundcolor" -->">
!                               <font color=white>Contents of <!-- TMPL_VAR 
Name="shelfname" --></font>
!                       </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" 
-->"><!-- TMPL_VAR Name="title" --></td>
!                               <td bgcolor="<!-- TMPL_VAR Name="color" 
-->"><!-- TMPL_VAR Name="author" --></td>
                        </tr>
!               <!-- /TMPL_LOOP -->
!       </table>
!       <br>
!       <a href="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" -->
--- 1,52 ----
  <!-- TMPL_INCLUDE Name="cat-top.inc" -->
  
+ <div id="mainbloc">
  <!-- TMPL_IF Name="viewshelf" -->
!       <form>
!               <table>
                        <tr>
!                               <th class="catalogue">
!                                       Contents of <!-- TMPL_VAR 
Name="shelfname" -->
!                               </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" 
-->"><!-- TMPL_VAR Name="title" --></td>
!                                       <td bgcolor="<!-- TMPL_VAR Name="color" 
-->"><!-- TMPL_VAR Name="author" --></td>
!                               </tr>
!                       <!-- /TMPL_LOOP -->
!               </table>
!               <br>
!               <a href="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" -->
***************
*** 58,141 ****
                        <!-- /TMPL_IF -->
                <!-- /TMPL_LOOP -->
!               <center>
!               <h1>Bookshelves</h1>
!               <table border=0 cellpadding=7>
!                       <tr>
!                               <td align=center valign="bottom">
!                                       <form>
!                                               <p>
!                                                       <a href="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 bgcolor="<!-- 
TMPL_VAR Name="headerbackgroundcolor" -->">
-                                                               <font 
color=white>Select Shelves to Delete</font>
-                                                       </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 bgcolor="<!-- 
TMPL_VAR Name="headerbackgroundcolor" -->">
-                                                               <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>
!                               <td bgcolor="<!-- TMPL_VAR 
Name="headerbackgroundcolor" -->">
!                                       <table border=0 cellpadding=5 
cellspacing=0 width=100%>
!                                               <tr>
!                                                       <th bgcolor="<!-- 
TMPL_VAR Name="headerbackgroundcolor" -->">
!                                                               <font 
color=white>Shelf List</font>
!                                                       </th>
!                                               </tr>
!                                       </table>
!                               </td>
                        </tr>
                        <!-- TMPL_LOOP Name="shelvesloop" -->
--- 59,112 ----
                        <!-- /TMPL_IF -->
                <!-- /TMPL_LOOP -->
!               <h1 class="catalogue">Bookshelves</h1>
!               <div id="bloc25">
!                                       <h2 class="catalogue">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>
                                                                <!-- TMPL_VAR 
Name="shelfname" --> (<!-- TMPL_VAR Name="shelfbookcount" --> books)
!                                               </p>
                                                <!-- /TMPL_IF -->
                                                <!-- /TMPL_LOOP -->
                                        <p>
!                                               <input type=submit 
value="Delete Shelves" class="button catalogue">
                                        </p>
                                        </form>
!               </div>
!               <div id="bloc25">
!                       <form method=post>
!                               <input type=hidden name=shelves value=1>
!                               <h2 class="catalogue">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>
!                               <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="Add New 
Shelf" class="button catalogue">
!                                       <a href="shelves.pl" class="button 
catalogue">back to shelf list</a>
!                               </p>
  
+                       </form>
+               </div>
        <!-- TMPL_ELSE -->
!               <table>
                        <tr>
!                               <th class="catalogue">
!                                       Shelf List
!                               </th>
                        </tr>
                        <!-- TMPL_LOOP Name="shelvesloop" -->
***************
*** 150,156 ****
                </table>
                <P>
!                       <a href="shelves.pl?shelves=1" class="button">Add or 
Remove Book Shelves</a>
                </p>
        <!-- /TMPL_IF -->
  <!-- /TMPL_IF -->
  <!-- TMPL_INCLUDE Name="cat-bottom.inc" -->
--- 121,128 ----
                </table>
                <P>
!                       <a href="shelves.pl?shelves=1" class="button 
catalogue">Add or Remove Book Shelves</a>
                </p>
        <!-- /TMPL_IF -->
  <!-- /TMPL_IF -->
+ </div>
  <!-- TMPL_INCLUDE Name="cat-bottom.inc" -->




reply via email to

[Prev in Thread] Current Thread [Next in Thread]