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/npl/en/bookshelves shelves.


From: Owen Leonard
Subject: [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/npl/en/bookshelves shelves.tmpl,1.1.2.2,1.1.2.3
Date: Wed, 30 Mar 2005 14:49:27 -0800

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

Modified Files:
      Tag: rel_2_2
        shelves.tmpl 
Log Message:
Reorganizing page for better clarity

Index: shelves.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/npl/en/bookshelves/shelves.tmpl,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -r1.1.2.2 -r1.1.2.3
*** shelves.tmpl        3 Feb 2005 18:15:21 -0000       1.1.2.2
--- shelves.tmpl        30 Mar 2005 22:49:25 -0000      1.1.2.3
***************
*** 6,23 ****
  <div id="main">
  <!-- TMPL_IF Name="viewshelf" -->
!       <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
                        <table>
!                       <caption><!-- TMPL_VAR NAME="shelfname" --></caption>
                                <tr>
!                                       <th>&nbsp;</th>
                                        <th>Title</th>
                                        <th>Author</th>
                                        <th>Barcode</th>
!                               </tr>
!                               <!-- TMPL_LOOP Name="itemsloop" -->
!                                       <tr>
!                                               <td><input type="checkbox" 
name="REM-<!-- TMPL_VAR NAME="itemnumber" -->" /></td>
                                                <td><a 
href="/cgi-bin/koha/detail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->"><!-- 
TMPL_VAR NAME="title" --></a></td>
                                                <td><!-- TMPL_VAR NAME="author" 
--></td> 
                                                <td><!-- TMPL_VAR 
NAME="barcode" --></td>
                                        </tr>
--- 6,24 ----
  <div id="main">
  <!-- TMPL_IF Name="viewshelf" -->
!       <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post" 
name="mainform">
                        <table>
!                       <caption>Contents of <em><!-- TMPL_VAR NAME="shelfname" 
--></em></caption>
                                <tr>
!                                       <!-- TMPL_IF name="manageshelf" 
--><th><a href="/cgi-bin/koha/shelves.pl" onclick="CheckAll(); return 
false;"><img src="<!-- TMPL_VAR NAME="themelang" -->/images/checkall.gif" 
height="18" width="18" alt="Check All" title="Check All" border="0" 
/></a></th><!-- /TMPL_IF -->
                                        <th>Title</th>
                                        <th>Author</th>
+                                       <th>Item Type</th>
+                                       <th>&copy;</th>
                                        <th>Barcode</th>
!                               </tr><!-- TMPL_LOOP Name="itemsloop" --><!-- 
TMPL_IF NAME="toggle" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- 
/TMPL_IF --><!-- TMPL_IF name="manageshelf" --><td><input type="checkbox" 
name="REM-<!-- TMPL_VAR NAME="itemnumber" -->" /></td><!-- /TMPL_IF -->
                                                <td><a 
href="/cgi-bin/koha/detail.pl?bib=<!-- TMPL_VAR name="biblionumber" -->"><!-- 
TMPL_VAR NAME="title" --></a></td>
                                                <td><!-- TMPL_VAR NAME="author" 
--></td> 
+                                               <td><!-- TMPL_VAR 
NAME="itemtype" --></td>
+                                               <td><!-- TMPL_VAR 
NAME="publicationyear" --></td>
                                                <td><!-- TMPL_VAR 
NAME="barcode" --></td>
                                        </tr>
***************
*** 33,44 ****
        <!-- TMPL_IF name="manageshelf" -->
                <form>
!               <table>
!               <caption>Add a book by barcode</caption>
!               <tr><td><label for="barcode">Barcode:</label></td><td><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 type="text" size="14" maxlength="14" 
id="barcode" 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="submit" /></td></tr></table>
                </form>
        <!-- /TMPL_IF -->
--- 34,45 ----
        <!-- TMPL_IF name="manageshelf" -->
                <form>
!               <div class="data"><table>
!               <caption>Add an item by barcode</caption>
!               <tr><th><label for="barcode">Barcode:</label></th><td><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 type="text" size="14" maxlength="14" 
id="barcode" 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="submit" /></td></tr></table></div>
                </form>
        <!-- /TMPL_IF -->
***************
*** 47,51 ****
  <!-- TMPL_ELSE -->
        <!-- TMPL_IF Name="shelves" -->
-               <h1>Bookshelves</h1>
                <!-- TMPL_IF Name="status1" -->
                        <p class="problem"><!-- TMPL_VAR NAME="string1" --><p>
--- 48,51 ----
***************
*** 56,105 ****
                        <!-- /TMPL_IF -->
                <!-- /TMPL_LOOP -->
-               <div id="bloc25">
-                                       <h2>Select Shelves to Delete</h2>
                                        <form method="post" action="<!-- 
TMPL_VAR NAME="script_name" -->">
!                                       <input type="hidden" name="shelves" 
value="1" />
                                                <!-- TMPL_LOOP 
Name="shelvesloop" -->
                                                <!-- TMPL_IF name="canmanage" 
-->
-                                               <p>
-                                                       <label></label>
-                                                               <input 
type="checkbox" name="DEL-<!-- TMPL_VAR NAME="shelf" -->" />
                                                        
!                                                               <a 
href="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="submit" />
                                        </p>
                                        </form>
!               </div>
!               <div id="bloc25">
!                       <form method="post" action="<!-- TMPL_VAR 
NAME="script_name" -->">
                                <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>
!                               <p> <li>a private bookshelf is managed by you 
&amp; 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="submit" />
!                                       <a href="shelves.pl">back to shelf 
list</a>
!                               </p>
! 
!                       </form>
!               </div>
        <!-- TMPL_ELSE -->
                        <table>
!                       <caption>Virtual Shelves</caption>
                                <tr>
                                        <th>Shelf Name</th>
--- 56,93 ----
                        <!-- /TMPL_IF -->
                <!-- /TMPL_LOOP -->
                                        <form method="post" action="<!-- 
TMPL_VAR NAME="script_name" -->">
!                                       <input type="hidden" name="shelves" 
value="1" /><table>
!                                               <caption>Bookshelves</caption>
!                                               
<th>&nbsp;</th><th>Title</th><th>Item Count</th>
                                                <!-- TMPL_LOOP 
Name="shelvesloop" -->
                                                <!-- TMPL_IF name="canmanage" 
-->
                                                        
!                                               <!-- TMPL_IF NAME="toggle" 
--><tr><!-- TMPL_ELSE --><tr class="highlight"><!-- /TMPL_IF --><td><!-- 
TMPL_IF NAME="shelfbookcount" --><input type="checkbox" name="DEL-<!-- TMPL_VAR 
NAME="shelf" -->" disabled="disabled" readonly="readonly" /><!-- TMPL_ELSE 
--><input type="checkbox" name="DEL-<!-- TMPL_VAR NAME="shelf" -->" /><!-- 
/TMPL_IF --></td><td><a href="shelves.pl?viewshelf=<!-- TMPL_VAR name="shelf" 
-->"><!-- TMPL_VAR NAME="shelfname" --></a></td><td><!-- TMPL_IF 
NAME="shelfbookcount" --><!-- TMPL_VAR NAME="shelfbookcount" --> 
item(s)<sup>*</sup><!-- TMPL_ELSE -->Empty<!-- /TMPL_IF --></td></tr>
                                                <!-- /TMPL_IF -->
!                                               <!-- /TMPL_LOOP --></table>
                                        <p>
!                                               <input type="submit" 
value="Delete Selected Shelves" class="submit" /> <sup>*</sup>Shelves must be 
empty before they can be deleted.
                                        </p>
                                        </form>
! 
!                       <form class="inline" method="post" action="<!-- 
TMPL_VAR NAME="script_name" -->">
                                <input type="hidden" name="shelves" value="1" />
!                               <div class="data"><table>
!                               <caption>Add Shelf</caption>
!                               <tr><th><label>Name</label></th><td><input 
type="text" name="addshelf" size="25" /></td></tr>
!                               <tr><th><label>Owner</label></th><td><input 
type="hidden" name="owner" value="<!-- TMPL_VAR NAME="loggedinuser" -->" /><!-- 
TMPL_VAR NAME="loggedinusername" --></td></tr>
!                               <tr><th><label>Category</label></th>
!                                       <td><select name="category">
                                                <option 
value="1">Private</option>
                                                <option 
value="2">Public</option>
!                                       </select></td></tr>
! </table></div>
! <ul><li>A private bookshelf is managed by you and can be seen only by 
you.</li>
!                                       <li> A public shelf can be seen by 
everybody, but managed only by you.</li></ul>
!                                       <input type="submit" value="Add New 
Shelf" class="submit" /></form>
!                                       <form action="shelves.pl" method="get" 
class="inline"><input type="submit" class="submit" value="Back to Shelf List" 
/></form>
        <!-- TMPL_ELSE -->
                        <table>
!                       <caption>My Virtual Shelves</caption>
                                <tr>
                                        <th>Shelf Name</th>
***************
*** 108,113 ****
                                        <th>&nbsp;</th>
                                </tr>
!                               <!-- TMPL_LOOP Name="shelvesloop" -->
!                               <tr>
                                        <td>
                                                <a 
href="shelves.pl?viewshelf=<!-- TMPL_VAR NAME="shelf" -->">
--- 96,101 ----
                                        <th>&nbsp;</th>
                                </tr>
!                               <!-- TMPL_LOOP Name="shelveslooppriv" -->
!                               <!-- TMPL_IF NAME="toggle" --><tr 
class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
                                        <td>
                                                <a 
href="shelves.pl?viewshelf=<!-- TMPL_VAR NAME="shelf" -->">
***************
*** 129,141 ****
                                                <!-- TMPL_VAR 
NAME="shelfbookcount" --> item(s)
                                        </td>
!                                       <!-- TMPL_IF name="mine" -->
                                                <td>
!                                                       <a 
href="shelves.pl?op=modif&amp;shelf=<!-- TMPL_VAR NAME="shelf" -->">Edit</a>
!                                                       <!-- TMPL_VAR 
name="surname" --><!-- TMPL_VAR name="firstname" -->                            
                  </td>
                                        <!-- /TMPL_IF -->
                                </tr>
                                <!-- /TMPL_LOOP -->
                        </table>
-                       <form action="shelves.pl" method="get"><input 
type="hidden" value="1" name="shelves" /><input type="submit" class="submit" 
value="Add or Remove Book Shelves" />
        <!-- /TMPL_IF -->
  <!-- /TMPL_IF -->
--- 117,158 ----
                                                <!-- TMPL_VAR 
NAME="shelfbookcount" --> item(s)
                                        </td>
!                                       
!                                               <td><!-- TMPL_IF name="mine" 
--><a href="shelves.pl?op=modif&amp;shelf=<!-- TMPL_VAR NAME="shelf" 
-->">Edit</a><!-- TMPL_VAR name="surname" --><!-- TMPL_VAR name="firstname" 
--><!-- TMPL_ELSE --><!-- /TMPL_IF --></td>
!                               </tr>
!                               <!-- /TMPL_LOOP -->
!                       </table>
!                       <form action="shelves.pl" method="get"><input 
type="hidden" value="1" name="shelves" /><input type="submit" class="submit" 
value="Add or Remove Book Shelves" />
!       
!                       <table>
!                       <caption>Public Virtual Shelves</caption>
!                               <tr>
!                                       <th>Shelf Name</th>
!                                       <th>Category</th>
!                                       <th>Content size</th>
!                               </tr>
!                               <!-- TMPL_LOOP Name="shelvesloop" -->
!                               <!-- TMPL_IF NAME="toggle" --><tr 
class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
!                                       <td>
!                                               <a 
href="shelves.pl?viewshelf=<!-- TMPL_VAR NAME="shelf" -->">
!                                                       <!-- TMPL_VAR 
NAME="shelfname" -->
!                                               </a>
!                                       </td>
                                                <td>
!                                               <!-- TMPL_IF NAME="category1" 
-->
!                                                       Private
                                        <!-- /TMPL_IF -->
+                                               <!-- TMPL_IF NAME="category2" 
-->
+                                                       Public
+                                               <!-- /TMPL_IF -->
+                                               <!-- TMPL_IF NAME="category3" 
-->
+                                                       Free
+                                               <!-- /TMPL_IF -->
+                                       </td>
+                                       <td>
+                                               <!-- TMPL_VAR 
NAME="shelfbookcount" --> item(s)
+                                       </td>
                                </tr>
                                <!-- /TMPL_LOOP -->
                        </table>
        <!-- /TMPL_IF -->
  <!-- /TMPL_IF -->




reply via email to

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