|
Lines 25-33
Link Here
|
| 25 |
<div id="breadcrumbs"> |
25 |
<div id="breadcrumbs"> |
| 26 |
<a href="/cgi-bin/koha/mainpage.pl">Home</a> › |
26 |
<a href="/cgi-bin/koha/mainpage.pl">Home</a> › |
| 27 |
<a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › |
27 |
<a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › |
| 28 |
<a href="/cgi-bin/koha/labels/label-home.pl">Labels Home</a> › |
28 |
<a href="/cgi-bin/koha/labels/label-home.pl">Labels home</a> › |
| 29 |
<a href="/cgi-bin/koha/labels/label-manage.pl?label_element=layout">Manage Label Layouts</a> › |
29 |
<a href="/cgi-bin/koha/labels/label-manage.pl?label_element=layout">Manage label layouts</a> › |
| 30 |
[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] Label Layout |
30 |
[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] Label layout |
| 31 |
</div> |
31 |
</div> |
| 32 |
<div id="doc3" class="yui-t2"> |
32 |
<div id="doc3" class="yui-t2"> |
| 33 |
<div id="bd"> |
33 |
<div id="bd"> |
|
Lines 35-48
Link Here
|
| 35 |
<div class="yui-b"> |
35 |
<div class="yui-b"> |
| 36 |
<form name="input" action="/cgi-bin/koha/labels/label-edit-layout.pl" method="get"> |
36 |
<form name="input" action="/cgi-bin/koha/labels/label-edit-layout.pl" method="get"> |
| 37 |
<fieldset class="rows"> |
37 |
<fieldset class="rows"> |
| 38 |
<legend>[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] Label Layout</legend> |
38 |
<legend>[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] Label layout</legend> |
| 39 |
<ol> |
39 |
<ol> |
| 40 |
<li> |
40 |
<li> |
| 41 |
<label for="layout_name">Layout Name</label> |
41 |
<label for="layout_name">Layout name</label> |
| 42 |
<input type="text" name="layout_name" id="layout_name" size="20" value="[% layout_name %]" /> |
42 |
<input type="text" name="layout_name" id="layout_name" size="20" value="[% layout_name %]" /> |
| 43 |
</li> |
43 |
</li> |
| 44 |
<li> |
44 |
<li> |
| 45 |
<label for="barcode_type">Choose Barcode Type (encoding)</label> |
45 |
<label for="barcode_type">Choose barcode type (encoding)</label> |
| 46 |
<select name="barcode_type" id="barcode_type"> |
46 |
<select name="barcode_type" id="barcode_type"> |
| 47 |
[% FOREACH barcode_type IN barcode_types %] |
47 |
[% FOREACH barcode_type IN barcode_types %] |
| 48 |
[% IF ( barcode_type.selected ) %] |
48 |
[% IF ( barcode_type.selected ) %] |
|
Lines 54-60
Link Here
|
| 54 |
</select> |
54 |
</select> |
| 55 |
</li> |
55 |
</li> |
| 56 |
<li> |
56 |
<li> |
| 57 |
<label for="printing_type">Choose Layout Type</label> |
57 |
<label for="printing_type">Choose layout type</label> |
| 58 |
<select name="printing_type" id="printing_type"> |
58 |
<select name="printing_type" id="printing_type"> |
| 59 |
[% FOREACH label_type IN label_types %] |
59 |
[% FOREACH label_type IN label_types %] |
| 60 |
[% IF ( label_type.selected ) %] |
60 |
[% IF ( label_type.selected ) %] |
|
Lines 67-76
Link Here
|
| 67 |
</li> |
67 |
</li> |
| 68 |
<li> |
68 |
<li> |
| 69 |
<fieldset> |
69 |
<fieldset> |
| 70 |
<legend>Bibliographic Data to Print</legend> |
70 |
<legend>Bibliographic data to print</legend> |
| 71 |
<ol> |
71 |
<ol> |
| 72 |
<li class="radio">[% IF ( layout_string ) %] |
72 |
<li class="radio">[% IF ( layout_string ) %] |
| 73 |
<input type="radio" name="layout_choice" id="layout_choice_order" value="layout_table" checked="checked" /><label for="layout_choice_order">Choose Order Of Text Fields to Print</label> |
73 |
<input type="radio" name="layout_choice" id="layout_choice_order" value="layout_table" checked="checked" /><label for="layout_choice_order">Choose order of text fields to print</label> |
| 74 |
[% ELSE %] |
74 |
[% ELSE %] |
| 75 |
<input type="radio" name="layout_choice" id="layout_choice_order" value="layout_table" /><label for="layout_choice_order">Choose Order Of Text Fields to Print</label> |
75 |
<input type="radio" name="layout_choice" id="layout_choice_order" value="layout_table" /><label for="layout_choice_order">Choose Order Of Text Fields to Print</label> |
| 76 |
[% END %] |
76 |
[% END %] |
|
Lines 95-106
Link Here
|
| 95 |
</div> |
95 |
</div> |
| 96 |
</li> |
96 |
</li> |
| 97 |
[% UNLESS ( layout_string ) %] |
97 |
[% UNLESS ( layout_string ) %] |
| 98 |
<li class="radio"><input type="radio" id="layout_choice_list" name="layout_choice" value="layout_string" checked="checked" /> <label for="layout_choice_list">List Fields</label></li> |
98 |
<li class="radio"><input type="radio" id="layout_choice_list" name="layout_choice" value="layout_string" checked="checked" /> <label for="layout_choice_list">List fields</label></li> |
| 99 |
[% ELSE %] |
99 |
[% ELSE %] |
| 100 |
<li class="radio"><input type="radio" id="layout_choice_list" name="layout_choice" value="layout_string" /> <label for="layout_choice_list">List Fields</label></li> |
100 |
<li class="radio"><input type="radio" id="layout_choice_list" name="layout_choice" value="layout_string" /> <label for="layout_choice_list">List Fields</label></li> |
| 101 |
[% END %] |
101 |
[% END %] |
| 102 |
<li> <fieldset id="layout_string" class="brief"> |
102 |
<li> <fieldset id="layout_string" class="brief"> |
| 103 |
<label for="format_string">Data Fields</label> |
103 |
<label for="format_string">Data fields</label> |
| 104 |
<input type="text" name="format_string" id="format_string" size="80" value="[% format_string |html %]" /> |
104 |
<input type="text" name="format_string" id="format_string" size="80" value="[% format_string |html %]" /> |
| 105 |
<div class="hint"> |
105 |
<div class="hint"> |
| 106 |
<p>Enter a comma separated list of fields to print. You may include any <em>Koha field</em> or MARC subfield.</p> |
106 |
<p>Enter a comma separated list of fields to print. You may include any <em>Koha field</em> or MARC subfield.</p> |
|
Lines 112-118
Link Here
|
| 112 |
</fieldset> |
112 |
</fieldset> |
| 113 |
</li> |
113 |
</li> |
| 114 |
<li> |
114 |
<li> |
| 115 |
<label for="guidebox">Draw Guide Boxes</label> |
115 |
<label for="guidebox">Draw guide boxes</label> |
| 116 |
[% IF ( guidebox ) %] |
116 |
[% IF ( guidebox ) %] |
| 117 |
<input type="checkbox" name="guidebox" id="guidebox" value="1" checked="checked" /> |
117 |
<input type="checkbox" name="guidebox" id="guidebox" value="1" checked="checked" /> |
| 118 |
[% ELSE %] |
118 |
[% ELSE %] |
|
Lines 120-126
Link Here
|
| 120 |
[% END %] |
120 |
[% END %] |
| 121 |
</li> |
121 |
</li> |
| 122 |
<li> |
122 |
<li> |
| 123 |
<label for="callnum_split">Split Call Numbers</label> |
123 |
<label for="callnum_split">Split call numbers</label> |
| 124 |
[% IF ( callnum_split ) %] |
124 |
[% IF ( callnum_split ) %] |
| 125 |
<input type="checkbox" name="callnum_split" id="callnum_split" value="1" checked="checked" /> |
125 |
<input type="checkbox" name="callnum_split" id="callnum_split" value="1" checked="checked" /> |
| 126 |
[% ELSE %] |
126 |
[% ELSE %] |
|
Lines 128-134
Link Here
|
| 128 |
[% END %] |
128 |
[% END %] |
| 129 |
</li> |
129 |
</li> |
| 130 |
<li> |
130 |
<li> |
| 131 |
<label for="text_justify">Text Justification</label> |
131 |
<label for="text_justify">Text justification</label> |
| 132 |
<select name="text_justify" id="text_justify"> |
132 |
<select name="text_justify" id="text_justify"> |
| 133 |
[% FOREACH text_justification_type IN text_justification_types %] |
133 |
[% FOREACH text_justification_type IN text_justification_types %] |
| 134 |
[% IF ( text_justification_type.selected ) %] |
134 |
[% IF ( text_justification_type.selected ) %] |
|
Lines 152-158
Link Here
|
| 152 |
</select> |
152 |
</select> |
| 153 |
</li> |
153 |
</li> |
| 154 |
<li> |
154 |
<li> |
| 155 |
<label for="font_size">Font Size</label> |
155 |
<label for="font_size">Font size</label> |
| 156 |
<input type="text" name="font_size" id="font_size" size="2" value="[% font_size |html %]" /> |
156 |
<input type="text" name="font_size" id="font_size" size="2" value="[% font_size |html %]" /> |
| 157 |
</li> |
157 |
</li> |
| 158 |
</ol> |
158 |
</ol> |