Various corrections, and addition of printers-admin search form

Signed-off-by: Chris Cormack <crc@liblime.com>
This commit is contained in:
Owen Leonard 2007-09-25 07:40:12 -05:00 committed by Chris Cormack
parent 549afc9647
commit 7febf4745b
4 changed files with 42 additions and 12 deletions

View File

@ -258,7 +258,7 @@ div#header_search ul.link-tabs li.off a {
padding : 0.1em .5em .2em .5em;
}
div#circ_search,div#catalog_search,div#patron_search,div#subscription_search,div#addbooks_search,div#notices_search {
div#circ_search,div#catalog_search,div#patron_search,div#subscription_search,div#addbooks_search,div#notices_search,div#printer_search {
border : 0;
border-bottom : 1px solid #FF9900;
padding : 0 0 .2em 0;

View File

@ -1,7 +1,7 @@
<div class="details" style="width: 43%">
<table>
<tr><th>Layout:</th><td><!-- TMPL_IF NAME="active_layout_name" --><!-- TMPL_VAR NAME="active_layout_name" --><!-- TMPL_ELSE --><span class="error">No Layout Specified: Select a Label Layout</span><!-- /TMPL_IF --> </td></tr>
<tr><th>Template: </th><td><!-- TMPL_IF NAME="active_template_name" --><!-- TMPL_VAR NAME="active_template_name" --><!-- TMPL_ELSE --><span class="error">No Template Specified: Select a Label Template</span><!-- /TMPL_IF --> </td></tr>
<tr><th>Batch: </th><td><!-- TMPL_IF NAME="batch_id" --><!-- TMPL_VAR NAME="batch_id" --><!-- TMPL_ELSE --><span class="error">No Batch Specified: Select items to print</span><!-- /TMPL_IF --> </td></tr>
<tr><th>Layout:</th><td><!-- TMPL_IF NAME="active_layout_name" --><!-- TMPL_VAR NAME="active_layout_name" --><!-- TMPL_ELSE --><span class="error">No Layout Specified: <a href="/cgi-bin/koha/labels/label-home.pl">Select a Label Layout</a></span><!-- /TMPL_IF --> </td></tr>
<tr><th>Template: </th><td><!-- TMPL_IF NAME="active_template_name" --><!-- TMPL_VAR NAME="active_template_name" --><!-- TMPL_ELSE --><span class="error">No Template Specified: <a href="/cgi-bin/koha/labels/label-templates.pl">Select a Label Template</a></span><!-- /TMPL_IF --> </td></tr>
<tr><th>Batch: </th><td><!-- TMPL_IF NAME="batch_id" --><!-- TMPL_VAR NAME="batch_id" --><!-- TMPL_ELSE --><span class="error">No Batch Specified: <a href="/cgi-bin/koha/labels/label-manager.pl">Select items to print</a></span><!-- /TMPL_IF --> </td></tr>
</table>
</div>

View File

@ -0,0 +1,33 @@
<!-- Begin Members Resident Search Box -->
<div id="header_search">
<div id="printer_search">
<p class="tip">Printer Search:</p>
<form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
<input type="text" size="40" name="description" value="<!-- TMPL_VAR NAME="searchfield" -->" />
<input type="submit" name="submit" value="Search" />
</form>
</div>
<div id="circ_search">
<p class="tip">Enter patron card number or partial name:</p>
<form action="/cgi-bin/koha/circ/circulation.pl" method="post">
<label for="findborrower"> </label>
<input id="findborrower" name="findborrower" size="40" class="focus" type="text" />
<input name="branch" value="<!-- TMPL_VAR name="branch" -->" type="hidden" />
<input name="printer" value="" type="hidden" />
<input value="Submit" type="submit" />
</form>
</div>
<div id="catalog_search">
<p class="tip">Enter search keywords:</p>
<form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block">
<input type="text" name="q" id="search-form" size="40" value="" title="Enter the terms you wish to search for." class="form-text" />
<input type="submit" name="op" id="opac-submit" value="Submit" class="form-submit" />
</form>
</div>
<ul>
<li><a href="/cgi-bin/koha/admin/printers.pl#printer_search">Search Printers</a></li>
<li><a href="/cgi-bin/koha/circ/circulation.pl#circ_search">Check Out</a></li>
<li><a href="/cgi-bin/koha/catalogue/advsearch.pl#catalog_search">Search the Catalog</a></li>
</ul>
</div>
<!-- End Members Resident Search Box -->

View File

@ -65,7 +65,7 @@
</head>
<body>
<!-- TMPL_INCLUDE NAME="header.inc" -->
<!-- TMPL_INCLUDE NAME="cat-search.inc" -->
<!-- TMPL_INCLUDE NAME="printers-admin-search.inc" -->
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; <!-- TMPL_IF NAME="add_form" --><!-- TMPL_IF NAME="searchfield" --> <a href="/cgi-bin/koha/admin/printers.pl">Printers</a> &rsaquo; Modify printer '<!-- TMPL_VAR NAME="searchfield" -->'<!-- TMPL_ELSE --> <a href="/cgi-bin/koha/admin/printers.pl">Printers</a> &rsaquo; Add printer<!-- /TMPL_IF --><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="add_validate" --> <a href="/cgi-bin/koha/admin/printers.pl">Printers</a> &rsaquo; Printer Added<!-- /TMPL_IF -->
@ -169,15 +169,12 @@
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="else" -->
<h2>Printer Admin</h2>
<h2>Printer Administration</h2>
<!-- TMPL_IF NAME="searchfield" -->
You searched for <!-- TMPL_VAR NAME="searchfield" --></span>
<!-- /TMPL_IF -->
<form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
<input type="text" name="description" value="<!-- TMPL_VAR NAME="searchfield" -->" />
<input type="submit" name="submit" value="Search" />
</form>
<table>
<!-- TMPL_IF NAME="loop" --><table>
<tr>
<th>Name</th>
<th>Queue</th>
@ -193,7 +190,7 @@
"op" value="delete_confirm" /><input type="hidden" name="searchfield" value="<!-- TMPL_VAR NAME="printername" -->" /><input type="submit" value="Delete" /></form></td>
</tr>
<!-- /TMPL_LOOP -->
</table>
</table><!-- TMPL_ELSE --><div class="notice">No printers defined.</div><!-- /TMPL_IF -->
<form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
<p> <input type="hidden" name="op" value="add_form" /><input type="submit" value="Add Printer" /></p></form>
<!-- TMPL_IF NAME="offsetgtzero" -->