|
Lines 47-53
Link Here
|
| 47 |
|
47 |
|
| 48 |
<li> |
48 |
<li> |
| 49 |
<label for="budget_period_active">Make budget active: </label> |
49 |
<label for="budget_period_active">Make budget active: </label> |
| 50 |
[% IF ( budget_period_active ) %]<input type="checkbox" checked="checked" id="budget_period_active" name="budget_period_active" value="1" />[% ELSE %] <input type="checkbox" id="budget_period_active" name="budget_period_active" value="1"/> [% END %] |
50 |
<input type="checkbox" checked="checked" id="budget_period_active" name="budget_period_active" value="1" /> |
| 51 |
</li> |
51 |
</li> |
| 52 |
</ol> |
52 |
</ol> |
| 53 |
</fieldset> |
53 |
</fieldset> |
|
Lines 59-67
Link Here
|
| 59 |
</form> |
59 |
</form> |
| 60 |
</div> |
60 |
</div> |
| 61 |
[% ELSIF displayonboardscreen == "label" %] |
61 |
[% ELSIF displayonboardscreen == "label" %] |
| 62 |
<h2>testing</h2> |
62 |
<div id="onboardingModal"> |
| 63 |
|
63 |
<h2>Labels</h2> |
| 64 |
|
64 |
<form name="input" action="/cgi-bin/koha/labels/label-edit-layout.pl" method="get"> |
| 65 |
|
65 |
<fieldset class="rows"> |
|
|
66 |
<legend>[% IF ( layout_id ) %]Edit[% ELSE %]Create[% END %] label layout</legend> |
| 67 |
<ol> |
| 68 |
<li> |
| 69 |
<label for="layout_name">Layout name: </label> |
| 70 |
<input type="text" name="layout_name" id="layout_name" size="20" value="[% layout_name %]" /> |
| 71 |
</li> |
| 72 |
<li> |
| 73 |
<label for="barcode_type">Choose barcode type (encoding): </label> |
| 74 |
<select name="barcode_type" id="barcode_type"> |
| 75 |
[% FOREACH barcode_type IN barcode_types %] |
| 76 |
[% IF ( barcode_type.selected ) %] |
| 77 |
<option value="[% barcode_type.type %]" selected="selected">[% barcode_type.name %]</option> |
| 78 |
[% ELSE %] |
| 79 |
<option value="[% barcode_type.type %]">[% barcode_type.name %]</option> |
| 80 |
[% END %] |
| 81 |
[% END %] |
| 82 |
</select> |
| 83 |
</li> |
| 84 |
<li> |
| 85 |
<label for="printing_type">Choose layout type: </label> |
| 86 |
<select name="printing_type" id="printing_type"> |
| 87 |
[% FOREACH label_type IN label_types %] |
| 88 |
[% IF ( label_type.selected ) %] |
| 89 |
<option value="[% label_type.type %]" selected="selected">[% PROCESS translate_label_types type=label_type.type %]</option> |
| 90 |
[% ELSE %] |
| 91 |
<option value="[% label_type.type %]">[% PROCESS translate_label_types type=label_type.type %]</option> |
| 92 |
[% END %] |
| 93 |
[% END %] |
| 94 |
</select> |
| 95 |
</li> |
| 96 |
<li> |
| 97 |
<fieldset> |
| 98 |
<legend>Bibliographic data to print</legend> |
| 99 |
<ol> |
| 100 |
<li class="radio"> |
| 101 |
[% IF ( layout_string ) %] |
| 102 |
<input type="radio" name="layout_choice" id="layout_choice_order" value="layout_table" checked="che cked" /><label for="layout_choice_order">Choose order of text fields to print</label> |
| 103 |
[% ELSE %] |
| 104 |
<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> |
| 105 |
[% END %] |
| 106 |
<div id="layout_table"> |
| 107 |
<p> |
| 108 |
[% FOREACH text_field IN fields %] |
| 109 |
<select name="[% text_field.field_name %]" id="[% text_field.field_name |url %]"> |
| 110 |
<option value=""></option> |
| 111 |
[% FOREACH orde IN [1..field_count] %] |
| 112 |
[% IF ( orde == text_field.order ) %] |
| 113 |
<option value="[% orde %]" selected="1">[% orde %]</option> |
| 114 |
[% ELSE %] |
| 115 |
<option value="[% orde %]">[% orde %]</option> |
| 116 |
[% END %] |
| 117 |
[% END %] |
| 118 |
</select> <label for="[% text_field.field_name |url %]">[% text_field.field_la bel %]</label> |
| 66 |
|
119 |
|
| 67 |
[% END %] |
120 |
|
|
|
121 |
[% END %] |
| 122 |
</p> |
| 123 |
</div> |
| 124 |
</li> |
| 125 |
[% UNLESS ( layout_string ) %] |
| 126 |
<li class="radio"><input type="radio" id="layout_choice_list" name="layout_choice" value="layou t_string" checked="checked" /> <label for="layout_choice_list">List fields</label></li> |
| 127 |
[% ELSE %] |
| 128 |
<li class="radio"><input type="radio" id="layout_choice_list" name="layout_choice" value="layou t_string" /> <label for="layout_choice_list">List Fields</label></li> |
| 129 |
[% END %] |
| 130 |
[% END %] |