[Koha-patches] [PATCH] Minor markup corrections for quick spine label creator, adding tools menu

Owen Leonard oleonard at myacpl.org
Tue Dec 8 18:59:57 CET 2009


---
 .../intranet-tmpl/prog/en/includes/tools-menu.inc  |    3 +-
 .../prog/en/modules/labels/spinelabel-home.tmpl    |   21 ++++++++++++++-----
 .../prog/en/modules/tools/tools-home.tmpl          |    4 +-
 3 files changed, 19 insertions(+), 9 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc
index 31ac754..3409187 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc
+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc
@@ -15,7 +15,8 @@
 	<li><a href="/cgi-bin/koha/tools/koha-news.pl">News</a></li>
     <!-- /TMPL_IF -->
     <!-- TMPL_IF NAME="CAN_user_tools_label_creator" -->
-	<li><a href="/cgi-bin/koha/labels/label-home.pl">Labels (spine and barcode)</a></li>
+	<li><a href="/cgi-bin/koha/labels/label-home.pl">Label creator</a></li>
+	<li><a href="/cgi-bin/koha/labels/spinelabel-home.pl">Quick spine label creator</a></li>
     <!-- /TMPL_IF -->
     <!-- TMPL_IF NAME="CAN_user_tools_edit_calendar" -->
 	<li><a href="/cgi-bin/koha/tools/holidays.pl">Calendar</a></li>
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-home.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-home.tmpl
index c7c9879..50b7431 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-home.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-home.tmpl
@@ -1,24 +1,33 @@
-<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><title>Koha &rsaquo; Tools &rsaquo; Labels</title>
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><title>Koha &rsaquo; Tools &rsaquo; Quick spine label creator</title>
 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
 </head>
 <body>
 <!-- TMPL_INCLUDE NAME="header.inc" -->
 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
 
-<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; Spine Labels</div>
+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; Quick spine label creator</div>
 
 <div id="doc3" class="yui-t2">
    
 	<div id="bd">
 		<div id="yui-main">
 			<div class="yui-b">
+			<h2>Quick spine label creator</h2>
 				<form action="/cgi-bin/koha/labels/spinelabel-print.pl" method="post">
-					<label>Barcode: </label>
-					<input type="text" name="barcode" id="barcode" />
-					<input type="submit" value="View Spine Label" />
+				<fieldset class="brief">
+				<ol>
+					<li><label for="barcode">Barcode: </label>
+					<input type="text" name="barcode" id="barcode" class="focus" />
+					</li>
+				</ol>
+				<fieldset class="action"><input type="submit" value="View spine label" /></fieldset>
+				</fieldset>
 				</form>
 			</div>
 		</div>
-	</div>
+       <div class="yui-b">
+            <!-- TMPL_INCLUDE NAME="tools-menu.inc" -->
+        </div>
+
 </div>
 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tmpl
index 090e172..6eb1370 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tmpl
@@ -20,12 +20,12 @@
     <!-- /TMPL_IF -->
 	
     <!-- TMPL_IF NAME="CAN_user_tools_label_creator" -->
-    <dt><a href="/cgi-bin/koha/labels/label-home.pl">Label Creator</a></dt>
+    <dt><a href="/cgi-bin/koha/labels/label-home.pl">Label creator</a></dt>
     <dd>Create printable labels and barcodes from catalog data</dd>
     <!-- /TMPL_IF -->
 
     <!-- TMPL_IF NAME="CAN_user_tools_label_creator" -->
-    <dt><a href="/cgi-bin/koha/labels/spinelabel-home.pl">Quick Spine Label Creator</a></dt>
+    <dt><a href="/cgi-bin/koha/labels/spinelabel-home.pl">Quick spine label creator</a></dt>
     <dd>Enter a barcode to generate a printable spine label</dd>
     <div class="hint"><dd>For use with dedicated label printers</dd></div>
     <!-- /TMPL_IF -->
-- 
1.6.3.3




More information about the Koha-patches mailing list