98 lines
2.7 KiB
Cheetah
98 lines
2.7 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
|
|
<title>Koha › Tools › Labels</title>
|
|
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
<script type="text/javascript">
|
|
//<![CDATA[
|
|
function confirm_deletion(prof_id) {
|
|
var original = $("#row"+prof_id).attr("class");
|
|
$("#row"+prof_id).attr("class","confirm");
|
|
var is_confirmed = confirm(_('Are you sure you want to delete this item?'));
|
|
if (is_confirmed) {
|
|
window.location = "label-profiles.pl?op=delete&prof_id="+prof_id;
|
|
} else {
|
|
$("#row"+prof_id).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>› <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › <a href="/cgi-bin/koha/labels/label-home.pl">Labels</a> › Printer Profiles</div>
|
|
|
|
<div id="doc3" class="yui-t2">
|
|
|
|
<div id="bd">
|
|
<div id="yui-main">
|
|
<div class="yui-b">
|
|
|
|
<!-- TMPL_INCLUDE NAME="tools-labels-toolbar.inc" -->
|
|
|
|
<div class="yui-g">
|
|
<div class="yui-u first">
|
|
<h2>Printer Profiles</h2>
|
|
<form name="input" action="/cgi-bin/koha/labels/label-profiles.pl" method="get">
|
|
<!-- TMPL_IF NAME="resultsloop" -->
|
|
<table>
|
|
<tr>
|
|
<th>Printer Name</th>
|
|
<th>Paper Bin</th>
|
|
<th>Template Name</th>
|
|
<th>Offset-Horizontal</th>
|
|
<th>Offset-Vertical</th>
|
|
<th>Creep-Horizontal</th>
|
|
<th>Creep-Vertical</th>
|
|
<th>Edit</th>
|
|
<th>Delete</th>
|
|
</tr>
|
|
<!-- TMPL_LOOP NAME="resultsloop" -->
|
|
<tr>
|
|
<td>
|
|
<!-- TMPL_VAR NAME="printername" -->
|
|
</td>
|
|
<td>
|
|
<!-- TMPL_VAR NAME="paper_bin" -->
|
|
</td>
|
|
<td>
|
|
<!-- TMPL_VAR NAME="tmpl_code" -->
|
|
</td>
|
|
<td>
|
|
<!-- TMPL_VAR NAME="offset_horz" -->
|
|
</td>
|
|
<td>
|
|
<!-- TMPL_VAR NAME="offset_vert" -->
|
|
</td>
|
|
<td>
|
|
<!-- TMPL_VAR NAME="creep_horz" -->
|
|
</td>
|
|
<td>
|
|
<!-- TMPL_VAR NAME="creep_vert" -->
|
|
</td>
|
|
<td>
|
|
<a href="/cgi-bin/koha/labels/label-edit-profile.pl?prof_id=<!-- TMPL_VAR NAME="prof_id" -->">Edit</a>
|
|
</td>
|
|
<td>
|
|
<a href="/cgi-bin/koha/labels/label-profiles.pl?" onclick="confirm_deletion(<!-- TMPL_VAR NAME="prof_id" -->); return false;">Delete</a>
|
|
</td>
|
|
</tr>
|
|
<!-- /TMPL_LOOP -->
|
|
</table>
|
|
</form>
|
|
<!-- TMPL_ELSE -->
|
|
No Printer Profiles currently defined.
|
|
</form>
|
|
<!-- /TMPL_IF -->
|
|
</div>
|
|
<div class="yui-u">
|
|
<!-- TMPL_INCLUDE NAME="label-status.inc" -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="yui-b">
|
|
<!-- TMPL_INCLUDE NAME="labels-menu.inc" -->
|
|
</div>
|
|
</div>
|
|
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|