Bug 7883 - Save and continue editing for cataloging
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / admin / printers.tt
index 4a551b8..6edc88f 100644 (file)
@@ -1,9 +1,9 @@
 [% INCLUDE 'doc-head-open.inc' %]
 <title>Koha &rsaquo; Administration &rsaquo;
 [% IF ( add_form ) %][% IF ( searchfield ) %] Printers &rsaquo; Modify printer '[% searchfield %]'[% ELSE %] Printers &rsaquo; New printer[% END %][% END %]
-[% IF ( add_validate ) %] Printers &rsaquo; Printer Added[% END %]
-[% IF ( delete_confirm ) %] Printers &rsaquo; Confirm Deletion of Printer '[% searchfield %]'[% END %]
-[% IF ( delete_confirmed ) %] Printers &rsaquo; Printer Deleted[% END %]
+[% IF ( add_validate ) %] Printers &rsaquo; Printer added[% END %]
+[% IF ( delete_confirm ) %] Printers &rsaquo; Confirm deletion of printer '[% searchfield %]'[% END %]
+[% IF ( delete_confirmed ) %] Printers &rsaquo; Printer deleted[% END %]
 [% IF ( else ) %]Printers[% END %]</title>
 [% INCLUDE 'doc-head-close.inc' %]
 [% IF ( add_form ) %]<script type="text/javascript">
 </script>
        [% END %]
 </head>
-<body>
+<body id="admin_printers" class="admin">
 [% INCLUDE 'header.inc' %]
 [% INCLUDE '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; [% IF ( add_form ) %][% IF ( searchfield ) %] <a href="/cgi-bin/koha/admin/printers.pl">Printers</a> &rsaquo; Modify printer '[% searchfield %]'[% ELSE %] <a href="/cgi-bin/koha/admin/printers.pl">Printers</a> &rsaquo; New printer[% END %][% END %]
-[% IF ( add_validate ) %] <a href="/cgi-bin/koha/admin/printers.pl">Printers</a> &rsaquo; Printer Added[% END %]
-[% IF ( delete_confirm ) %] <a href="/cgi-bin/koha/admin/printers.pl">Printers</a> &rsaquo; Confirm Deletion of Printer '[% searchfield %]'[% END %]
-[% IF ( delete_confirmed ) %] <a href="/cgi-bin/koha/admin/printers.pl">Printers</a> &rsaquo; Printer Deleted[% END %]
+[% IF ( add_validate ) %] <a href="/cgi-bin/koha/admin/printers.pl">Printers</a> &rsaquo; Printer added[% END %]
+[% IF ( delete_confirm ) %] <a href="/cgi-bin/koha/admin/printers.pl">Printers</a> &rsaquo; Confirm deletion of printer '[% searchfield %]'[% END %]
+[% IF ( delete_confirmed ) %] <a href="/cgi-bin/koha/admin/printers.pl">Printers</a> &rsaquo; Printer deleted[% END %]
 [% IF ( else ) %]Printers[% END %]</div>
 
 <div id="doc3" class="yui-t2">
        <fieldset class="rows">
 <ol>   [% IF ( searchfield ) %]
                <li>
-                       <span class="label">Printer Name: </span>
+            <span class="label">Printer name: </span>
                                <input type="hidden" name="printername" id="" value="[% searchfield %]" />[% searchfield %]
                </li>
        [% ELSE %]
                <li>
-                       <label for="printername">Printer Name: </label>
+            <label for="printername">Printer name: </label>
                                <input type="text" name="printername" id="printername" size="50" maxlength="50" />
                </li>
        [% END %]
 [% END %]
 
 [% IF ( add_validate ) %]
-<h3>Printer Added</h3>
+<h3>Printer added</h3>
 <form action="[% script_name %]" method="post">
        <fieldset class="action"> <input type="submit" value="OK" /></fieldset>
 </form>
 [% END %]
 
 [% IF ( delete_confirm ) %]
-<h3>Confirm Deletion of Printer <em>[% searchfield %]</em></h3>
+<h3>Confirm deletion of printer <em>[% searchfield %]</em></h3>
 <ul>
                <li>
                        <strong>Printer: </strong>
        <form action="[% script_name %]" method="post">
                        <input type="hidden" name="op" value="delete_confirmed" />
                        <input type="hidden" name="searchfield" value="[% searchfield %]" />
-                       <input type="submit" value="Delete this Printer" />
+                       <input type="submit" value="Delete this printer" />
                        </form> <form action="[% script_name %]" method="post">
                                <input type="submit" value="Do not Delete" />
                        </form>
 [% END %]
 
 [% IF ( delete_confirmed ) %]
-<h3>Printer Deleted</h3>
+<h3>Printer deleted</h3>
 <form action="[% script_name %]" method="post">
                <fieldset class="action"><input type="submit" value="OK" /></fieldset>
 </form>
 
 [% IF ( else ) %]
 
-<div id="toolbar">
-       <script type="text/javascript">
-       //<![CDATA[
-       // prepare DOM for YUI Toolbar
-        $(document).ready(function() {
-           new YAHOO.widget.Button("newprinter");
-        });
-       //]]>
-       </script>
-       <ul class="toolbar">
-       <li><a id="newprinter" href="/cgi-bin/koha/admin/printers.pl?op=add_form">New Printer</a></li>
-</ul></div>
+<div id="toolbar" class="btn-toolbar">
+    <a class="btn btn-small" id="newprinter" href="/cgi-bin/koha/admin/printers.pl?op=add_form"><i class="icon-plus"></i> New printer</a>
+</div>
 
 <h2>Printers</h2>
        [% IF ( searchfield ) %]