koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] koha/koha-tmpl/intranet-tmpl/default/en/bookshe... [rel_2_2]


From: Antoine Farnault
Subject: [Koha-cvs] koha/koha-tmpl/intranet-tmpl/default/en/bookshe... [rel_2_2]
Date: Mon, 07 May 2007 09:04:54 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_2_2
Changes by:     Antoine Farnault <toins>        07/05/07 09:04:54

Modified files:
        koha-tmpl/intranet-tmpl/default/en/bookshelves: shelves.tmpl 

Log message:
        synching default and npl template

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/default/en/bookshelves/shelves.tmpl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.6.2.2&r2=1.6.2.3

Patches:
Index: shelves.tmpl
===================================================================
RCS file: 
/sources/koha/koha/koha-tmpl/intranet-tmpl/default/en/bookshelves/Attic/shelves.tmpl,v
retrieving revision 1.6.2.2
retrieving revision 1.6.2.3
diff -u -b -r1.6.2.2 -r1.6.2.3
--- shelves.tmpl        22 Aug 2005 20:14:15 -0000      1.6.2.2
+++ shelves.tmpl        7 May 2007 09:04:54 -0000       1.6.2.3
@@ -26,12 +26,27 @@
                        <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" -->
+                       <!-- TMPL_IF NAME="itemsloop" --><!-- TMPL_IF 
name="manageshelf" -->
                                <input type="submit" value="Remove Selected 
Items" class="button catalogue">
-                       <!-- /TMPL_IF -->
+                       <!-- /TMPL_IF --><!-- /TMPL_IF -->
                </div>
        </form>
 
+    <!-- TMPL_UNLESS NAME="itemsloop" -->
+    <div>
+        <form action="/cgi-bin/koha/bookshelves/shelves.pl" method="get">
+        <b>This shelf is empty.</b>
+        <input type="hidden" name="DEL-<!-- TMPL_VAR NAME="shelfnumber" -->" />
+        <input type="hidden" name="shelves" value="1" />
+        <input type="submit" class="submit"
+               value="Delete this Shelf"
+               onclick="return confirmDelete('Are you sure you want to delete 
this shelf?')"
+               class="button catalogue"
+        />
+    </form>
+    </div> <br />
+    <!-- /TMPL_UNLESS -->
+    
        <!-- TMPL_IF name="manageshelf" -->
        <div id="bloc25">
                <form action="/cgi-bin/koha/bookshelves/shelves.pl" 
method="post">
@@ -45,7 +60,7 @@
                        <input type="submit" value="Save" class="button 
catalogue">
                </form>
        </div>
-       <!-- /TMPL_IF -->
+<!-- /TMPL_IF -->
        <div id="bloc25">
                <a href="/cgi-bin/koha/bookshelves/shelves.pl" class="button 
catalogue">Shelf list</a>
        </div>




reply via email to

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