|
Lines 13-18
Link Here
|
| 13 |
} |
13 |
} |
| 14 |
</style> |
14 |
</style> |
| 15 |
|
15 |
|
|
|
16 |
[% BLOCK translate_justification_types %] |
| 17 |
[% SWITCH type %] |
| 18 |
[% CASE 'L' %]Left |
| 19 |
[% CASE 'C' %]Center |
| 20 |
[% CASE 'R' %]Right |
| 21 |
[% END %] |
| 22 |
[% END %] |
| 23 |
|
| 24 |
[% BLOCK translate_label_types %] |
| 25 |
[% SWITCH type %] |
| 26 |
[% CASE 'BIB' %]Biblio |
| 27 |
[% CASE 'BARBIB' %]Barcode/Biblio |
| 28 |
[% CASE 'BIBBAR' %]Biblio/Barcode |
| 29 |
[% CASE 'ALT' %]Alternating |
| 30 |
[% CASE 'BAR' %]Barcode |
| 31 |
[% END %] |
| 32 |
[% END %] |
| 33 |
|
| 34 |
[% IF displayonboarding =="acquisitions" %] |
| 16 |
<div id="onboardingModal"> |
35 |
<div id="onboardingModal"> |
| 17 |
<h2> Acquisition onboarding wizard</h2> |
36 |
<h2> Acquisition onboarding wizard</h2> |
| 18 |
<h3> This onboarding wizard will take you through the process of setting up Acquistions </h3> |
37 |
<h3> This onboarding wizard will take you through the process of setting up Acquistions </h3> |
|
Lines 57-59
Link Here
|
| 57 |
</fieldset> |
76 |
</fieldset> |
| 58 |
</form> |
77 |
</form> |
| 59 |
</div> |
78 |
</div> |
|
|
79 |
|
| 80 |
[% ELSIF displayonboarding == "label" %] |
| 81 |
<div id="onboardingModal"> |
| 82 |
<form name="input" action="/cgi-bin/koha/labels/label-edit-layout.pl" method="get"> |
| 83 |
<fieldset class="rows"> |
| 84 |
<legend>[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] label layout</legend> |
| 85 |
<ol> |
| 86 |
<li> |
| 87 |
<label for="layout_name">Layout name: </label> |
| 88 |
<input type="text" name="layout_name" id="layout_name" size="20" value="DEFAULT" /> |
| 89 |
</li> |
| 90 |
<li> |
| 91 |
<label for="barcode_type">Choose barcode type (encoding): </label> |
| 92 |
<select name="barcode_type" id="barcode_type"> |
| 93 |
[% FOREACH barcode_type IN barcode_types %] |
| 94 |
[% IF ( barcode_type.selected ) %] |
| 95 |
<option value="[% barcode_type.type %]" selected="selected">[% barcode_type.name %]</option> |
| 96 |
[% ELSE %] |
| 97 |
<option value="[% barcode_type. type %]">[% barcode_type.name %]</option> |
| 98 |
[% END %] |
| 99 |
[% END %] |
| 100 |
</select> |
| 101 |
</li> |
| 102 |
<li> |
| 103 |
<label for="printing_type">Choose layout type: </label> |
| 104 |
<select name="printing_type" id="printing_type"> |
| 105 |
[% FOREACH label_type IN label_types %] |
| 106 |
[% IF ( label_type.selected ) %] |
| 107 |
<option value="[% label_type.type %]" selected="selected">[% PROCESS translate_label_types type=label_type.type %]</option> |
| 108 |
[% ELSE %] |
| 109 |
<option value="[% label_type.type %]">[% PROCESS translate_label_types type=label_type.type %]</option> |
| 110 |
[% END %] |
| 111 |
[% END %] |
| 112 |
</select> |
| 113 |
</li> |
| 114 |
<li> |
| 115 |
<fieldset> |
| 116 |
<legend>Bibliographic data to print</legend> |
| 117 |
<ol> |
| 118 |
<li class="radio">[% IF ( layout_string ) %] |
| 119 |
<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> |
| 120 |
[% ELSE %] |
| 121 |
<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> |
| 122 |
[% END %] |
| 123 |
<div id="layout_table"> |
| 124 |
<p> |
| 125 |
[% FOREACH text_field IN fields %] |
| 126 |
<select name="[% text_field.field_name %]" id="[% text_field.field_name |url %]"> |
| 127 |
<option value=""></option> |
| 128 |
[% FOREACH orde IN [1..field_count] %] |
| 129 |
[% IF ( orde == text_field.order ) %] |
| 130 |
<option value="[% orde %]" selected="1">[% orde %]</option> |
| 131 |
[% ELSE %] |
| 132 |
<option value="[% orde %]">[% orde %]</option> |
| 133 |
[% END %] |
| 134 |
[% END %] |
| 135 |
</select> <label for="[% text_field.field_name |url %]">[% text_field.field_label %]</label> |
| 136 |
|
| 137 |
[% END %] |
| 138 |
</p> |
| 139 |
</div> |
| 140 |
</fieldset> |
| 141 |
</li> |
| 142 |
<li> |
| 143 |
<label for="guidebox">Draw guide boxes: </label> |
| 144 |
[% IF ( guidebox ) %] |
| 145 |
<input type="checkbox" name="guidebox" id="guidebox" value="1" checked="checked" /> |
| 146 |
[% ELSE %] |
| 147 |
<input type="checkbox" name="guidebox" id="guidebox" value="1" /> |
| 148 |
[% END %] |
| 149 |
</li> |
| 150 |
<li> |
| 151 |
<label for="callnum_split">Split call numbers: </label> |
| 152 |
[% IF ( callnum_split ) %] |
| 153 |
<input type="checkbox" name="callnum_split" id="callnum_split" value="1" checked="checked" /> |
| 154 |
[% ELSE %] |
| 155 |
<input type="checkbox" name="callnum_split" id="callnum_split" value="1" /> |
| 156 |
[% END %] |
| 157 |
</li> |
| 158 |
<li> |
| 159 |
<label for="text_justify">Text justification: </label> |
| 160 |
<select name="text_justify" id="text_justify"> |
| 161 |
[% FOREACH text_justification_type IN text_justification_types %] |
| 162 |
[% IF ( text_justification_type.selected ) %] |
| 163 |
<option value="[% text_justification_type.type %]" selected="selected">[% PROCESS translate_justification_types type=text_justification_type.type %]</option> |
| 164 |
[% ELSE %] |
| 165 |
<option value="[% text_justification_type.type %]">[% PROCESS translate_justification_types type=text_justification_type.type %]</option> |
| 166 |
[% END %] |
| 167 |
[% END %] |
| 168 |
</select> |
| 169 |
</li> |
| 170 |
<li> |
| 171 |
<label for="font">Font: </label> |
| 172 |
<select name="font" id="font"> |
| 173 |
[% FOREACH font_type IN font_types %] |
| 174 |
[% IF ( font_type.selected ) %] |
| 175 |
<option value="[% font_type.type %]" selected="selected">[% font_type.name %]</option> |
| 176 |
[% ELSE %] |
| 177 |
<option value="[% font_type.type %]">[% font_type.name %]</option> |
| 178 |
[% END %] |
| 179 |
[% END %] |
| 180 |
</select> |
| 181 |
</li> |
| 182 |
<li> |
| 183 |
<label for="font_size">Font size: </label> |
| 184 |
<input type="text" name="font_size" id="font_size" size="2" value="3" /> |
| 185 |
</li> |
| 186 |
<li> |
| 187 |
<label for="oblique_title">Oblique title: </label> |
| 188 |
[% IF ( oblique_title ) %] |
| 189 |
<input type="checkbox" name="oblique_title" id="oblique_title" value="1" checked="checked" /> |
| 190 |
[% ELSE %] |
| 191 |
<input type="checkbox" name="oblique_title" id="oblique_title" value="1" /> |
| 192 |
[% END %] |
| 193 |
</li> |
| 194 |
</ol> |
| 195 |
</fielset> |
| 196 |
<fieldset class="action"> |
| 197 |
<input type="submit" value="Save" /> |
| 198 |
<a class="cancel" href="/cgi-bin/koha/labels/label-manage.pl?label_element=layout">Cancel</a> |
| 199 |
<input type="hidden" name="op" value="save" /> |
| 200 |
<input type="hidden" name="layout_id" value="[% layout_id %]" /> |
| 201 |
<input type="hidden" name="layoutsubmitted" value=1 /> |
| 202 |
</fieldset> |
| 203 |
</form> |
| 204 |
</div> |
| 205 |
[% END %] |