visibility:visible; /* you propably don't need to change this one */
display:block;
}
-#newbiblio a, #addchild a, #newentry a, #newshelf a, #newmenuc .first-child, #newsupplier .first-child, #newlabel a, #newtemplate a, #newbatch a, #newsubscription a, #newdictionary a, #neworder a {
+#newbiblio a, #addchild a, #newentry a, #newshelf a, #newmenuc .first-child, #newsupplier .first-child, #newlabel a, #newtemplate a, #newbatch a, #newprofile a, #newsubscription a, #newdictionary a, #neworder a {
padding-left : 34px;
background-image: url("../../img/toolbar-new.gif");
background-position : center left;
--- /dev/null
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
+<title>Koha › 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> › <a href="/cgi-bin/koha/labels/label-home.pl">Labels</a> › <a href="/cgi-bin/koha/labels/label-profiles.pl">Printer Profiles</a> › 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" -->
--- /dev/null
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><title>Koha › Labels</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> › <a href="/cgi-bin/koha/labels/label-home.pl">Labels</a> › <a href="/cgi-bin/koha/labels/label-profiles.pl">Printer Profiles</a> › Edit 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-edit-profile.pl" method="get">
+
+<div class="yui-g">
+<h3>Edit Printer Profile</h3>
+<div class="yui-g first">
+<fieldset class="rows"><legend>Profile Settings</legend>
+
+<ol>
+<li>
+ <label>Printer Name:</label> <!-- TMPL_VAR NAME="printername" -->
+</li>
+<li>
+ <label>Paper Bin:</label> <!-- TMPL_VAR NAME="paper_bin" -->
+</li>
+<li>
+ <label>Template Name:</label> <!-- TMPL_VAR NAME="tmpl_code" -->
+</li>
+<li>
+ <label><h4>Offset:</h4></label>
+</li>
+<li>
+ <label for="offset_horz">Horizontal: </label><input type="text" size="4" name="offset_horz" id="offset_horz" value="<!-- TMPL_VAR NAME="offset_horz" -->" />
+</li>
+<li>
+ <label for="offset_vert">Vertical: </label><input type="text" size="4" name="offset_vert" id="offset_vert" value="<!-- TMPL_VAR NAME="offset_vert" -->" />
+</li>
+<li>
+ <label><h4>Creep:</h4></label>
+</li>
+<li>
+ <label for="creep_horz">Horizontal: </label><input type="text" size="4" name="creep_horz" id="creep_horz" value="<!-- TMPL_VAR NAME="creep_horz" -->" />
+</li>
+<li>
+ <label for="creep_vert">Vertical: </label><input type="text" size="4" name="creep_vert" id="creep_vert" value="<!-- TMPL_VAR NAME="creep_vert" -->" />
+</li>
+<li><label for="unit">Units: </label><select id="unit" name="unit">
+ <!-- TMPL_LOOP NAME="units" -->
+ <!-- TMPL_IF NAME="selected" -->
+ <option value="<!-- TMPL_VAR NAME="unit" -->" selected="selected">
+ <!-- TMPL_ELSE -->
+ <option value="<!-- TMPL_VAR NAME="unit" -->">
+ <!-- /TMPL_IF --><!-- TMPL_VAR NAME="desc" --></option>
+ <!-- /TMPL_LOOP -->
+</select>
+</li>
+<input type="hidden" name="prof_id" value="<!-- TMPL_VAR NAME="prof_id" -->" />
+</ol>
+</fieldset>
+<fieldset class="action">
+ <input type="submit" name ="op" value="Save" /> <input type="submit" name="op" value="Cancel" />
+</fieldset></div>
+</div>
+</div></form>
+
+</div>
+<div class="yui-b">
+<!-- TMPL_INCLUDE NAME="labels-menu.inc" -->
+</div>
+</div>
+<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
--- /dev/null
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
+<title>Koha › 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/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" -->
+
+<!-- TMPL_IF NAME="resultsloop" -->
+<h2>Printer Profiles</h2>
+<form name="input" action="/cgi-bin/koha/labels/label-profiles.pl" method="get">
+<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_IF -->
+
+
+</div>
+</div>
+<div class="yui-b">
+<!-- TMPL_INCLUDE NAME="labels-menu.inc" -->
+</div>
+</div>
+<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->