Koha/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-create-profile.tmpl
Chris Nighswonger e09c0bb918 Finalizing work on Printer Profiles feature.
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-02-16 11:26:41 -06:00

103 lines
3.2 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha &rsaquo; Labels</title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<script type="text/javascript">
//<![CDATA[
function confirm_deletion(biblionumber,itemnumber) {
var original = $("#row"+itemnumber).attr("class");
$("#row"+itemnumber).attr("class","confirm");
var is_confirmed = confirm(_('Are you sure you want to delete this profile?'));
if (is_confirmed) {
window.location = "additem.pl?op=delitem&biblionumber="+biblionumber+"&itemnumber="+itemnumber;
} else {
$("#row"+itemnumber).attr("class","");
}
}
//]]>
</script>
</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/labels/label-home.pl">Labels</a> &rsaquo; <a href="/cgi-bin/koha/labels/label-profiles.pl">Printer Profiles</a> &rsaquo; Create Printer Profile</div>
<div id="doc3" class="yui-t2">
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<form name="input" action="/cgi-bin/koha/labels/label-create-profile.pl" method="get">
<div class="yui-g">
<h3>Create Printer Profile</h3>
<!-- TMPL_IF NAME="dberror" -->
<div class="yui-g first">
<fieldset class="rows"><legend>Error Creating Profile</legend>
<ol>
<li>
<!-- TMPL_VAR NAME="errmsg" -->
</li>
</ol>
</fieldset>
</div>
<!-- TMPL_ELSE -->
<div class="yui-g first">
<fieldset class="rows"><legend>Profile Settings</legend>
<ol>
<li>
<label for="printername">Printer Name:</label> <input type="text" size="40" name="printername" id="printername" />
</li>
<li>
<label for="paper_bin">Paper Bin:</label><input type="text" size="20" name="paper_bin" id="paper_bin" />
</li>
<li>
<label for="tmpl_id">Template Code: </label><select id="tmpl_id" name="tmpl_id" />
<!-- TMPL_LOOP NAME="tmpllist" -->
<option value="<!-- TMPL_VAR NAME="tmpl_id" -->"><!-- TMPL_VAR NAME="tmpl_code" --></option>
<!-- /TMPL_LOOP -->
</li>
<li>
<label><h4>Offset:</h4></label>
</li>
<li>
<label for="offset_horz">Horizontal:</label><input type="text" size="2" name="offset_horz" id="offset_horz" />
</li>
<li>
<label for="offset_vert">Vertical:</label><input type="text" size="2" name="offset_vert" id="offset_vert" />
</li>
<li>
<label><h4>Creep:</h4></label>
</li>
<li>
<label for="creep_horz">Horizontal:</label><input type="text" size="2" name="creep_horz" id="creep_horz" />
</li>
<li>
<label for="creep_vert">Vertical:</label><input type="text" size="2" name="creep_vert" id="creep_vert" />
</li>
<li><label for="unit">Units: </label><select id="unit" name="unit">
<!-- TMPL_LOOP NAME="unit" -->
<option value="<!-- TMPL_VAR NAME="unit" -->"><!-- TMPL_VAR NAME="desc" --></option>
<!-- /TMPL_LOOP -->
</select>
</li>
</ol>
</fieldset>
<fieldset class="action">
<input type="submit" name="op" value="Save" />
<input type="reset" name="op" value="Reset" />
<input type="submit" name="op" value="Cancel" />
</fieldset></div>
<!-- /TMPL_IF -->
</div>
</div></form>
</div>
<div class="yui-b">
<!-- TMPL_INCLUDE NAME="labels-menu.inc" -->
</div>
</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->