Merge commit 'origin/master' into labels_recon
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / labels / label-edit-template.tmpl
1     <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2     <title>Koha &rsaquo; Tools &rsaquo; Labels &rsaquo; Templates</title>
3     <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 </head>
5 <body>
6     <!-- TMPL_INCLUDE NAME="header.inc" -->
7     <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
8     <div id="breadcrumbs">
9         <a href="/cgi-bin/koha/mainpage.pl">Home</a>&rsaquo;
10         <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>&rsaquo;
11         <a href="/cgi-bin/koha/labels/label-home.pl">Labels</a>&rsaquo;
12         <a href="/cgi-bin/koha/labels/label-manage.pl?label_element=template">Label Templates</a>&rsaquo;
13         Edit Label Template
14     </div>
15     <div id="doc3" class="yui-t2">
16         <div id="bd">
17             <div id="yui-main">
18                 <div class="yui-b">
19                     <form name="input" action="/cgi-bin/koha/labels/label-edit-template.pl" method="get">
20                     <div class="yui-g">
21                         <h3>Edit Label Template</h3>
22                         <div class="yui-u first">
23                             <fieldset class="rows">
24                                 <ol>
25                                     <li>
26                                         <span class="label">Template ID:</span><!-- TMPL_IF NAME="template_id" --><!-- TMPL_VAR NAME="template_id" --><!-- TMPL_ELSE -->N/A<!-- /TMPL_IF -->
27                                     </li>
28                                     <li>
29                                         <label for="template_code">Template Code:</label>
30                                         <input type="text"  size="43" name="template_code" id="template_code" value="<!-- TMPL_VAR NAME="template_code" -->" />
31                                     </li>
32                                     <li>
33                                         <label for="template_desc">Template Description:</label>
34                                         <textarea cols="40" rows="3" id="template_desc" name="template_desc"><!-- TMPL_VAR NAME="template_desc" --></textarea>
35                                     </li>
36                                     <li>
37                                         <label for="page_height">Page Height:</label>
38                                         <input type="text" size="4" name="page_height" id="page_height" value="<!-- TMPL_VAR NAME="page_height" -->" />
39                                     </li>
40                                     <li>
41                                         <label for="page_width">Page Width:</label>
42                                         <input type="text" size="4" name="page_width" id="page_width" value="<!-- TMPL_VAR NAME="page_width" -->" />
43                                     </li>
44                                     <li>
45                                         <label for="label_width">Label Width:</label>
46                                         <input type="text" size="4" name="label_width" id="label_width" value="<!-- TMPL_VAR NAME="label_width" -->" />
47                                     </li>
48                                     <li>
49                                         <label for="label_height">Label Height:</label>
50                                         <input type="text" size="4" name="label_height" id="label_height" value="<!-- TMPL_VAR NAME="label_height" -->" />
51                                     </li>
52                                     <li>
53                                         <label for="top_margin">Top Page Margin:</label>
54                                         <input type="text" size="4" name="top_margin" id="top_margin" value="<!-- TMPL_VAR NAME="top_margin" -->" />
55                                     </li>
56                                     <li>
57                                         <label for="left_margin">Left Page Margin:</label>
58                                         <input type="text" size="4" name="left_margin" id="left_margin" value="<!-- TMPL_VAR NAME="left_margin" -->" />
59                                     </li>
60                                 </ol>
61                             </fieldset>
62                         </div>
63                         <div class="yui-u">
64                             <fieldset class="rows">
65                                 <ol>
66                                     <li>
67                                         <label for="top_text_margin">Top Text Margin:</label>
68                                         <input type="text" size="4" name="top_text_margin" id="top_text_margin" value="<!-- TMPL_VAR NAME="top_text_margin" -->" />
69                                     </li>
70                                     <li>
71                                         <label for="left_text_margin">Left Text Margin:</label>
72                                         <input type="text" size="4" name="left_text_margin" id="left_text_margin" value="<!-- TMPL_VAR NAME="left_text_margin" -->" />
73                                     </li>
74                                     <li>
75                                         <label for="cols">Number of Columns:</label>
76                                         <input type="text" size="4" name="cols" id="cols" value="<!-- TMPL_VAR NAME="cols" -->" />
77                                     </li>
78                                     <li>
79                                         <label for="rows">Number of Rows:</label>
80                                         <input type="text" size="4" name="rows" id="rows" value="<!-- TMPL_VAR NAME="rows" -->" />
81                                     </li>
82                                     <li>
83                                         <label for="col_gap">Gap between Columns:</label>
84                                         <input type="text" size="4" name="col_gap" id="col_gap" value="<!-- TMPL_VAR NAME="col_gap" -->" />
85                                     </li>
86                                     <li>
87                                         <label for="row_gap">Gap between Rows:</label>
88                                         <input type="text" size="4" name="row_gap" id="row_gap" value="<!-- TMPL_VAR NAME="row_gap" -->" />
89                                     </li>
90                                     <li>
91                                         <label for="units">Units:</label>
92                                         <select id="units" name="units">
93                                         <!-- TMPL_LOOP NAME="units" -->
94                                         <option value="<!-- TMPL_VAR NAME="type" -->"<!-- TMPL_IF NAME="selected" --> selected="selected"<!-- /TMPL_IF -->>
95                                         <!-- TMPL_VAR NAME="desc" -->
96                                         </option>
97                                         <!-- /TMPL_LOOP -->
98                                         </select>
99                                     </li>
100                                     <li>
101                                         <label for="profile_id">Profile:</label>
102                                         <!-- TMPL_IF NAME="profile_list" -->
103                                         <select id="profile_id" name="profile_id">
104                                         <!-- TMPL_LOOP NAME="profile_list" -->
105                                         <option value="<!-- TMPL_VAR NAME="profile_id" -->"<!-- TMPL_IF NAME="selected" --> selected="selected"<!-- /TMPL_IF -->>
106                                         <!-- TMPL_VAR NAME="printer_name" -->/<!-- TMPL_VAR NAME="paper_bin" -->
107                                         </option>
108                                         <!-- /TMPL_LOOP -->
109                                         </select>
110                                         <!-- TMPL_ELSE -->
111                                         <a href="/cgi-bin/koha/tools/tools-edit-profile.pl?op=new">Click here to define a printer profile.</a>
112                                         <!-- /TMPL_IF -->
113                                     </li>
114                                 </ol>
115                             </fieldset>
116                         </div>
117                     </div>
118                     <div class="yui-g">
119                         <fieldset class="action">
120                             <span class="yui-button yui-link-button"><span class="first-child"><input type="submit" value="Save" /></span></span>
121                             <span class="yui-button yui-link-button"><span class="first-child"><input type="button" value="Cancel" onclick="window.location='/cgi-bin/koha/labels/label-manage.pl?label_element=template';" /></span></span>
122                             <input type="hidden" name="op" value="save" />
123                             <!-- TMPL_IF NAME="template_id" -->
124                             <input type="hidden" name="template_id" value="<!-- TMPL_VAR NAME="template_id" -->" />
125                             <!-- /TMPL_IF -->
126                         </fieldset>
127                     </div>
128                 </form>
129             </div>
130         </div>
131         <div class="yui-b">
132             <!-- TMPL_INCLUDE NAME="labels-menu.inc" -->
133         </div>
134     </div>
135     <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->