5f4542992a
previously, it wasn't possible to insert anything into the <head> on an individual template unless it was the title of the page. Now, the structure is a bit more flexible to allow additional head elements to be included.
77 lines
2.8 KiB
Cheetah
77 lines
2.8 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
|
|
<title>Koha › Label and Barcode Printing</title>
|
|
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
<!-- TMPL_INCLUDE name="masthead.inc" -->
|
|
<!-- TMPL_INCLUDE NAME="label-topmenu.inc" -->
|
|
<!-- TMPL_INCLUDE name="intranet-nav.inc" -->
|
|
|
|
<div id="main">
|
|
<form name="input" action="/cgi-bin/koha/barcodes/label-save-template.pl" method="get">
|
|
|
|
<h3>
|
|
Edit Label Template
|
|
</h3>
|
|
|
|
|
|
|
|
<h3>Template Settings</h3>
|
|
<table>
|
|
|
|
Template ID: <!-- TMPL_VAR NAME="tmpl_id" --> <br>
|
|
Template Code: <input type="text" size="40" name="tmpl_code" value="<!-- TMPL_VAR NAME="tmpl_code" -->"><br>
|
|
Template Description: <textarea name="tmpl_desc" cols="40" rows="3" name="tmpl_desc" ><!-- TMPL_VAR NAME="tmpl_desc" --></TEXTAREA><br>
|
|
|
|
<tr>
|
|
<td>Page Width:</td><td><input type="text" size="2" name="page_width" value="<!-- TMPL_VAR NAME="page_width" -->"></td>
|
|
<td>Page Height:</td><td><input type="text" size="2" name="page_height" value="<!-- TMPL_VAR NAME="page_height" -->"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Label Width:</td><td><input type="text" size="2" name="label_width" value="<!-- TMPL_VAR NAME="label_width" -->"></td>
|
|
<td>Label Height:</td><td><input type="text" size="2" name="label_height" value="<!-- TMPL_VAR NAME="label_height" -->"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Top Page Margin:</td><td><input type="text" size="2" name="topmargin" value="<!-- TMPL_VAR NAME="topmargin" -->"></td>
|
|
<td>Left Page Margin:</td><td><input type="text" size="2" name="leftmargin" value="<!-- TMPL_VAR NAME="leftmargin" -->"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Number of Columns:</td><td><input type="text" size="2" name="cols" value="<!-- TMPL_VAR NAME="cols" -->"></td>
|
|
<td>Number of Rows:</td><td><input type="text" size="2" name="rows" value="<!-- TMPL_VAR NAME="rows" -->"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Gap between Columns:</td><td><input type="text" size="2" name="colgap" value="<!-- TMPL_VAR NAME="colgap" -->"></td>
|
|
<td>Gap between Rows:</td><td><input type="text" size="2" name="rowgap" value="<!-- TMPL_VAR NAME="rowgap" -->"></td>
|
|
|
|
|
|
|
|
</tr>
|
|
</table>
|
|
|
|
Units: <select name="units">
|
|
<!-- TMPL_LOOP NAME="units" -->
|
|
<option value="<!-- TMPL_VAR NAME="unit" -->"
|
|
<!-- TMPL_IF NAME="selected" --> selected <!-- /TMPL_IF -->
|
|
><!-- TMPL_VAR NAME="desc" --></option>
|
|
<!-- /TMPL_LOOP -->
|
|
</select>
|
|
|
|
<br>
|
|
<br>
|
|
Font Size: <input type="textbox" name="fontsize" SIZE="1"
|
|
value="<!-- TMPL_VAR NAME="fontsize" -->">
|
|
<br>
|
|
<br>
|
|
|
|
|
|
Active: <input type="checkbox" name="active"
|
|
<!-- TMPL_IF NAME="active" --> checked <!-- /TMPL_IF --> >
|
|
|
|
<input type="hidden" name="tmpl_id" value="<!-- TMPL_VAR NAME="tmpl_id" -->">
|
|
<p>
|
|
<p>
|
|
<input type="submit" value="Save">
|
|
<input type="reset" value="Reset">
|
|
</p>
|
|
</form>
|
|
</div>
|
|
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|
|
|