Lines 1-9
Link Here
|
|
|
1 |
[% PROCESS 'i18n.inc' %] |
1 |
[% USE Asset %] |
2 |
[% USE Asset %] |
2 |
[% USE KohaDates %] |
3 |
[% USE KohaDates %] |
3 |
[% USE Branches %] |
4 |
[% USE Branches %] |
4 |
[% SET footerjs = 1 %] |
5 |
[% SET footerjs = 1 %] |
5 |
[% INCLUDE 'doc-head-open.inc' %] |
6 |
[% INCLUDE 'doc-head-open.inc' %] |
6 |
<title>Koha › Serials › [% IF ( modify ) %][% bibliotitle |html %] › Modify subscription[% ELSE %]New subscription[% END %]</title> |
7 |
<title>[% t('Koha › Serials ›') %] [% IF ( modify ) %][% bibliotitle |html %] [% t('› Modify subscription') %][% ELSE %][% t('New subscription') %][% END %]</title> |
7 |
[% INCLUDE 'doc-head-close.inc' %] |
8 |
[% INCLUDE 'doc-head-close.inc' %] |
8 |
<style type="text/css"> |
9 |
<style type="text/css"> |
9 |
fieldset.rows li.radio { width: 100%; } /* override staff-global.css */ |
10 |
fieldset.rows li.radio { width: 100%; } /* override staff-global.css */ |
Lines 17-28
fieldset.rows li.radio { width: 100%; } /* override staff-global.css */
Link Here
|
17 |
[% INCLUDE 'header.inc' %] |
18 |
[% INCLUDE 'header.inc' %] |
18 |
[% INCLUDE 'serials-search.inc' %] |
19 |
[% INCLUDE 'serials-search.inc' %] |
19 |
|
20 |
|
20 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/serials/serials-home.pl">Serials</a> › [% IF ( modify ) %]<a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscriptionid %]"><i>[% bibliotitle |html %]</i></a> › Modify subscription[% ELSE %]New subscription[% END %]</div> |
21 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/serials/serials-home.pl">[% t('Serials') %]</a> › [% IF ( modify ) %]<a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscriptionid %]"><i>[% bibliotitle |html %]</i></a> [% t('› Modify subscription') %][% ELSE %][% t('New subscription') %][% END %]</div> |
21 |
|
22 |
|
22 |
<div class="main container-fluid"> |
23 |
<div class="main container-fluid"> |
23 |
<div class="row"> |
24 |
<div class="row"> |
24 |
|
25 |
|
25 |
<h1>[% IF ( modify ) %] Modify subscription for <i>[% bibliotitle |html %]</i>[% ELSE %]Add a new subscription[% END %] (<span id="page_number">1/2</span>)</h1> |
26 |
<h1>[% IF ( modify ) %] [% t('Modify subscription for') %] <i>[% bibliotitle |html %]</i>[% ELSE %][% t('Add a new subscription') %][% END %] (<span id="page_number">[% t('1/2') %]</span>)</h1> |
26 |
<form method="post" id="subscription_add_form" name="f" action="/cgi-bin/koha/serials/subscription-add.pl" class="validated"> |
27 |
<form method="post" id="subscription_add_form" name="f" action="/cgi-bin/koha/serials/subscription-add.pl" class="validated"> |
27 |
[% IF ( modify ) %] |
28 |
[% IF ( modify ) %] |
28 |
<input type="hidden" name="op" value="modsubscription" /> |
29 |
<input type="hidden" name="op" value="modsubscription" /> |
Lines 36-97
fieldset.rows li.radio { width: 100%; } /* override staff-global.css */
Link Here
|
36 |
<div id="page_1"> |
37 |
<div id="page_1"> |
37 |
<div class="col-md-6"> |
38 |
<div class="col-md-6"> |
38 |
<fieldset id="subscription_add_information" class="rows"> |
39 |
<fieldset id="subscription_add_information" class="rows"> |
39 |
<legend>Subscription details</legend> |
40 |
<legend>[% t('Subscription details') %]</legend> |
40 |
<ol> |
41 |
<ol> |
41 |
[% IF ( subscriptionid ) %] |
42 |
[% IF ( subscriptionid ) %] |
42 |
<li><span class="label">Subscription #</span> [% subscriptionid %]</li> |
43 |
<li><span class="label">[% t('Subscription #') %]</span> [% subscriptionid %]</li> |
43 |
[% END %] |
44 |
[% END %] |
44 |
<li> |
45 |
<li> |
45 |
<label for="aqbooksellerid">Vendor: </label> |
46 |
<label for="aqbooksellerid">[% t('Vendor:') %] </label> |
46 |
<input type="text" name="aqbooksellerid" id="aqbooksellerid" value="[% aqbooksellerid %]" size="8" /> (<input type="text" name="aqbooksellername" id="aqbooksellername" value="[% aqbooksellername %]" disabled="disabled" readonly="readonly" />) <a href="#" id="vendor_search"><i class="fa fa-search"></i> Search for a vendor</a> |
47 |
<input type="text" name="aqbooksellerid" id="aqbooksellerid" value="[% aqbooksellerid %]" size="8" /> (<input type="text" name="aqbooksellername" id="aqbooksellername" value="[% aqbooksellername %]" disabled="disabled" readonly="readonly" />) <a href="#" id="vendor_search"><i class="fa fa-search"></i> [% t('Search for a vendor') %]</a> |
47 |
</li> |
48 |
</li> |
48 |
<li> |
49 |
<li> |
49 |
<label for="biblionumber" class="required" title="Subscriptions must be associated with a bibliographic record">Record:</label> |
50 |
<label for="biblionumber" class="required" title="[% t('Subscriptions must be associated with a bibliographic record') %]">[% t('Record:') %]</label> |
50 |
<input type="text" name="biblionumber" id="biblionumber" value="[% bibnum %]" size="8" /> |
51 |
<input type="text" name="biblionumber" id="biblionumber" value="[% bibnum %]" size="8" /> |
51 |
(<input type="text" name="title" value="[% bibliotitle %]" disabled="disabled" readonly="readonly" />) <span class="required" title="Subscriptions must be associated with a bibliographic record">Required</span> |
52 |
(<input type="text" name="title" value="[% bibliotitle %]" disabled="disabled" readonly="readonly" />) <span class="required" title="[% t('Subscriptions must be associated with a bibliographic record') %]">[% t('Required') %]</span> |
52 |
<div class="inputnote"> <a href="#" id="record_search"><i class="fa fa-search"></i> Search for record</a> |
53 |
<div class="inputnote"> <a href="#" id="record_search"><i class="fa fa-search"></i> [% t('Search for record') %]</a> |
53 |
[% IF ( CAN_user_editcatalogue ) %] |
54 |
[% IF ( CAN_user_editcatalogue ) %] |
54 |
[% IF ( modify ) %] |
55 |
[% IF ( modify ) %] |
55 |
| <a href="#" id="biblio_add_edit" data-biblionumber="[% bibnum %]"><i class="fa fa-pencil"></i> Edit record</a> |
56 |
| <a href="#" id="biblio_add_edit" data-biblionumber="[% bibnum %]"><i class="fa fa-pencil"></i> [% t('Edit record') %]</a> |
56 |
[% ELSE %] |
57 |
[% ELSE %] |
57 |
| <a href="#" id="biblio_add_edit"><i class="fa fa-plus"></i> Create record</a> |
58 |
| <a href="#" id="biblio_add_edit"><i class="fa fa-plus"></i> [% t('Create record') %]</a> |
58 |
[% END %] |
59 |
[% END %] |
59 |
[% END %] |
60 |
[% END %] |
60 |
</div> |
61 |
</div> |
61 |
</li> |
62 |
</li> |
62 |
<li class="radio"> |
63 |
<li class="radio"> |
63 |
[% IF ( serialsadditems ) %] |
64 |
[% IF ( serialsadditems ) %] |
64 |
<p><input type="radio" id="serialsadditems-yes" name="serialsadditems" value="1" checked="checked" /><label class="widelabel" for="serialsadditems-yes">create an item record when receiving this serial</label></p> |
65 |
<p><input type="radio" id="serialsadditems-yes" name="serialsadditems" value="1" checked="checked" /><label class="widelabel" for="serialsadditems-yes">[% t('create an item record when receiving this serial') %]</label></p> |
65 |
<p><input type="radio" id="serialsadditems-no" name="serialsadditems" value="0" /><label class="widelabel" for="serialsadditems-no">do not create an item record when receiving this serial </label></p> |
66 |
<p><input type="radio" id="serialsadditems-no" name="serialsadditems" value="0" /><label class="widelabel" for="serialsadditems-no">[% t('do not create an item record when receiving this serial') %] </label></p> |
66 |
[% ELSE %] |
67 |
[% ELSE %] |
67 |
<p><input type="radio" id="serialsadditems-yes" name="serialsadditems" value="1"/><label class="widelabel" for="serialsadditems-yes">create an item record when receiving this serial</label></p> |
68 |
<p><input type="radio" id="serialsadditems-yes" name="serialsadditems" value="1" /><label class="widelabel" for="serialsadditems-yes">[% t('create an item record when receiving this serial') %]</label></p> |
68 |
<p><input type="radio" id="serialsadditems-no" name="serialsadditems" value="0" checked="checked" /><label class="widelabel" for="serialsadditems-no">do not create an item record when receiving this serial</label></p> |
69 |
<p><input type="radio" id="serialsadditems-no" name="serialsadditems" value="0" checked="checked" /><label class="widelabel" for="serialsadditems-no">[% t('do not create an item record when receiving this serial') %]</label></p> |
69 |
[% END %] |
70 |
[% END %] |
70 |
</li> |
71 |
</li> |
71 |
<li class="radio"> |
72 |
<li class="radio"> |
72 |
<p>When there is an irregular issue:</p> |
73 |
<p>[% t('When there is an irregular issue:') %]</p> |
73 |
[% IF (skip_serialseq) %] |
74 |
[% IF (skip_serialseq) %] |
74 |
<p> |
75 |
<p> |
75 |
<input type="radio" id="skip_serialseq_yes" name="skip_serialseq" value="1" checked="checked" /> |
76 |
<input type="radio" id="skip_serialseq_yes" name="skip_serialseq" value="1" checked="checked" /> |
76 |
<label for="skip_serialseq_yes">Skip issue number</label> |
77 |
<label for="skip_serialseq_yes">[% t('Skip issue number') %]</label> |
77 |
</p> |
78 |
</p> |
78 |
<p> |
79 |
<p> |
79 |
<input type="radio" id="skip_serialseq_no" name="skip_serialseq" value="0" /> |
80 |
<input type="radio" id="skip_serialseq_no" name="skip_serialseq" value="0" /> |
80 |
<label for="skip_serialseq_no">Keep issue number</label> |
81 |
<label for="skip_serialseq_no">[% t('Keep issue number') %]</label> |
81 |
</p> |
82 |
</p> |
82 |
[% ELSE %] |
83 |
[% ELSE %] |
83 |
<p> |
84 |
<p> |
84 |
<input type="radio" id="skip_serialseq_yes" name="skip_serialseq" value="1" /> |
85 |
<input type="radio" id="skip_serialseq_yes" name="skip_serialseq" value="1" /> |
85 |
<label for="skip_serialseq_yes">Skip issue number</label> |
86 |
<label for="skip_serialseq_yes">[% t('Skip issue number') %]</label> |
86 |
</p> |
87 |
</p> |
87 |
<p> |
88 |
<p> |
88 |
<input type="radio" id="skip_serialseq_no" name="skip_serialseq" value="0" checked="checked" /> |
89 |
<input type="radio" id="skip_serialseq_no" name="skip_serialseq" value="0" checked="checked" /> |
89 |
<label for="skip_serialseq_no">Keep issue number</label> |
90 |
<label for="skip_serialseq_no">[% t('Keep issue number') %]</label> |
90 |
</p> |
91 |
</p> |
91 |
[% END %] |
92 |
[% END %] |
92 |
</li> |
93 |
</li> |
93 |
<li> |
94 |
<li> |
94 |
<label for="manualhistory">Manual history:</label> |
95 |
<label for="manualhistory">[% t('Manual history:') %]</label> |
95 |
[% IF (manualhistory) %] |
96 |
[% IF (manualhistory) %] |
96 |
<input type="checkbox" id="manualhistory" name="manualhist" checked="checked" /> |
97 |
<input type="checkbox" id="manualhistory" name="manualhist" checked="checked" /> |
97 |
[% ELSE %] |
98 |
[% ELSE %] |
Lines 99-133
fieldset.rows li.radio { width: 100%; } /* override staff-global.css */
Link Here
|
99 |
[% END %] |
100 |
[% END %] |
100 |
</li> |
101 |
</li> |
101 |
<li> |
102 |
<li> |
102 |
<label for="callnumber">Call number:</label> |
103 |
<label for="callnumber">[% t('Call number:') %]</label> |
103 |
<input type="text" name="callnumber" id="callnumber" value="[% callnumber %]" size="20" /> |
104 |
<input type="text" name="callnumber" id="callnumber" value="[% callnumber %]" size="20" /> |
104 |
</li> |
105 |
</li> |
105 |
<li> |
106 |
<li> |
106 |
<label for="branchcode">Library:</label> |
107 |
<label for="branchcode">[% t('Library:') %]</label> |
107 |
<select name="branchcode" id="branchcode" style="width: 20em;"> |
108 |
<select name="branchcode" id="branchcode" style="width: 20em;"> |
108 |
[% UNLESS ( Independentbranches ) %] |
109 |
[% UNLESS ( Independentbranches ) %] |
109 |
<option value="">None</option> |
110 |
<option value="">[% t('None') %]</option> |
110 |
[% END %] |
111 |
[% END %] |
111 |
[% IF CAN_user_serials_superserials %] |
112 |
[% IF CAN_user_serials_superserials %] |
112 |
[% PROCESS options_for_libraries libraries => Branches.all( selected => branchcode, unfiltered => 1 ) %] |
113 |
[% PROCESS options_for_libraries libraries => Branches.all( selected => branchcode, unfiltered => 1 ) %] |
113 |
[% ELSE %] |
114 |
[% ELSE %] |
114 |
[% PROCESS options_for_libraries libraries => Branches.all( selected => branchcode ) %] |
115 |
[% PROCESS options_for_libraries libraries => Branches.all( selected => branchcode ) %] |
115 |
[% END %] |
116 |
[% END %] |
116 |
</select> (select a library) |
117 |
</select> [% t('(select a library)') %] |
117 |
</li> |
118 |
</li> |
118 |
<li> |
119 |
<li> |
119 |
<label for="notes">Public note:</label> |
120 |
<label for="notes">[% t('Public note:') %]</label> |
120 |
<textarea name="notes" id="notes" cols="30" rows="2">[% notes %]</textarea> |
121 |
<textarea name="notes" id="notes" cols="30" rows="2">[% notes %]</textarea> |
121 |
</li> |
122 |
</li> |
122 |
<li> |
123 |
<li> |
123 |
<label for="internalnotes">Nonpublic note:</label> |
124 |
<label for="internalnotes">[% t('Nonpublic note:') %]</label> |
124 |
<textarea name="internalnotes" id="internalnotes" cols="30" rows="2">[% internalnotes %]</textarea> |
125 |
<textarea name="internalnotes" id="internalnotes" cols="30" rows="2">[% internalnotes %]</textarea> |
125 |
</li> |
126 |
</li> |
126 |
<li> |
127 |
<li> |
127 |
[% IF ( letterloop ) %] |
128 |
[% IF ( letterloop ) %] |
128 |
<label for="letter">Patron notification: </label> |
129 |
<label for="letter">[% t('Patron notification:') %] </label> |
129 |
<select name="letter" id="letter"> |
130 |
<select name="letter" id="letter"> |
130 |
<option value="">None</option> |
131 |
<option value="">[% t('None') %]</option> |
131 |
[% FOREACH letterloo IN letterloop %] |
132 |
[% FOREACH letterloo IN letterloop %] |
132 |
[% IF ( letterloo.selected ) %] |
133 |
[% IF ( letterloo.selected ) %] |
133 |
<option value="[% letterloo.value %]" selected="selected">[% letterloo.lettername %]</option> |
134 |
<option value="[% letterloo.value %]" selected="selected">[% letterloo.lettername %]</option> |
Lines 136-151
fieldset.rows li.radio { width: 100%; } /* override staff-global.css */
Link Here
|
136 |
[% END %] |
137 |
[% END %] |
137 |
[% END %] |
138 |
[% END %] |
138 |
</select> |
139 |
</select> |
139 |
<div class="hint">Selecting a notice will allow patrons to subscribe to notifications when a new issue is received.</div> |
140 |
<div class="hint">[% t('Selecting a notice will allow patrons to subscribe to notifications when a new issue is received.') %]</div> |
140 |
[% ELSE %] |
141 |
[% ELSE %] |
141 |
<span class="label">Patron notification: </span> |
142 |
<span class="label">[% t('Patron notification:') %] </span> |
142 |
<div class="hint">To notify patrons of new serial issues, you must <a href="/cgi-bin/koha/tools/letter.pl">define a notice</a>.</div> |
143 |
<div class="hint">[% t('To notify patrons of new serial issues, you must') %] <a href="/cgi-bin/koha/tools/letter.pl">[% t('define a notice') %]</a>.</div> |
143 |
[% END %] |
144 |
[% END %] |
144 |
</li> |
145 |
</li> |
145 |
<li> |
146 |
<li> |
146 |
<label for="location">Location:</label> |
147 |
<label for="location">[% t('Location:') %]</label> |
147 |
<select name="location" id="location"> |
148 |
<select name="location" id="location"> |
148 |
<option value="">None</option> |
149 |
<option value="">[% t('None') %]</option> |
149 |
[% FOREACH locations_loo IN locations_loop %] |
150 |
[% FOREACH locations_loo IN locations_loop %] |
150 |
[% IF locations_loo.authorised_value == location %] |
151 |
[% IF locations_loo.authorised_value == location %] |
151 |
<option value="[% locations_loo.authorised_value %]" selected="selected">[% locations_loo.lib %]</option> |
152 |
<option value="[% locations_loo.authorised_value %]" selected="selected">[% locations_loo.lib %]</option> |
Lines 156-162
fieldset.rows li.radio { width: 100%; } /* override staff-global.css */
Link Here
|
156 |
</select> |
157 |
</select> |
157 |
</li> |
158 |
</li> |
158 |
<li> |
159 |
<li> |
159 |
<label for="itemtype">Item type:</label> |
160 |
<label for="itemtype">[% t('Item type:') %]</label> |
160 |
<select name="itemtype" id="itemtype"> |
161 |
<select name="itemtype" id="itemtype"> |
161 |
<option value=""></option> |
162 |
<option value=""></option> |
162 |
[% FOREACH type IN typeloop %] |
163 |
[% FOREACH type IN typeloop %] |
Lines 170-176
fieldset.rows li.radio { width: 100%; } /* override staff-global.css */
Link Here
|
170 |
</li> |
171 |
</li> |
171 |
[%IF makePreviousSerialAvailable %] |
172 |
[%IF makePreviousSerialAvailable %] |
172 |
<li> |
173 |
<li> |
173 |
<label for="previousitemtype">item type for older issues:</label> |
174 |
<label for="previousitemtype">[% t('item type for older issues:') %]</label> |
174 |
<select name="previousitemtype" id="previousitemtype"> |
175 |
<select name="previousitemtype" id="previousitemtype"> |
175 |
<option value=""></option> |
176 |
<option value=""></option> |
176 |
[% FOREACH previous IN previoustypeloop %] |
177 |
[% FOREACH previous IN previoustypeloop %] |
Lines 184-204
fieldset.rows li.radio { width: 100%; } /* override staff-global.css */
Link Here
|
184 |
</li> |
185 |
</li> |
185 |
[% END %] |
186 |
[% END %] |
186 |
<li> |
187 |
<li> |
187 |
<label for="graceperiod">Grace period:</label> |
188 |
<label for="graceperiod">[% t('Grace period:') %]</label> |
188 |
<input type="text" name="graceperiod" id="graceperiod" value="[% graceperiod %]" size="5"/> day(s) |
189 |
<input type="text" name="graceperiod" id="graceperiod" value="[% graceperiod %]" size="5" /> [% t('day(s)') %] |
189 |
</li> |
190 |
</li> |
190 |
<li> |
191 |
<li> |
191 |
<label class="widelabel" for="staffdisplaycount">Number of issues to display to staff: </label> |
192 |
<label class="widelabel" for="staffdisplaycount">[% t('Number of issues to display to staff:') %] </label> |
192 |
<input type="text" name="staffdisplaycount" id="staffdisplaycount" value="[% staffdisplaycount %]" size="4"/> |
193 |
<input type="text" name="staffdisplaycount" id="staffdisplaycount" value="[% staffdisplaycount %]" size="4" /> |
193 |
</li> |
194 |
</li> |
194 |
<li> |
195 |
<li> |
195 |
<label class="widelabel" for="opacdisplaycount">Number of issues to display to the public: </label> |
196 |
<label class="widelabel" for="opacdisplaycount">[% t('Number of issues to display to the public:') %] </label> |
196 |
<input type="text" name="opacdisplaycount" id="opacdisplaycount" value="[% opacdisplaycount %]" size="4"/> |
197 |
<input type="text" name="opacdisplaycount" id="opacdisplaycount" value="[% opacdisplaycount %]" size="4" /> |
197 |
</li> |
198 |
</li> |
198 |
</ol> |
199 |
</ol> |
199 |
</fieldset> |
200 |
</fieldset> |
200 |
<fieldset class="action"> |
201 |
<fieldset class="action"> |
201 |
<input type="button" value="Next >>" id="subscription_add_next" style="float:right;" /> |
202 |
<input type="button" value="Next >>" id="subscription_add_next" style="float:right;" /> |
202 |
</fieldset> |
203 |
</fieldset> |
203 |
</div> |
204 |
</div> |
204 |
</div> |
205 |
</div> |
Lines 207-233
fieldset.rows li.radio { width: 100%; } /* override staff-global.css */
Link Here
|
207 |
<div class="col-md-6"> |
208 |
<div class="col-md-6"> |
208 |
<div id="subscription_form_planning"> |
209 |
<div id="subscription_form_planning"> |
209 |
<fieldset class="rows"> |
210 |
<fieldset class="rows"> |
210 |
<legend>Serials planning</legend> |
211 |
<legend>[% t('Serials planning') %]</legend> |
211 |
<ol> |
212 |
<ol> |
212 |
<li> |
213 |
<li> |
213 |
<label for="firstacquidate" class="required">First issue publication date:</label> |
214 |
<label for="firstacquidate" class="required">[% t('First issue publication date:') %]</label> |
214 |
[% UNLESS (more_than_one_serial) %] |
215 |
[% UNLESS (more_than_one_serial) %] |
215 |
<input type="text" size="10" id="acqui_date" name="firstacquidate" value="[% firstacquidate | $KohaDates %]" class="datepicker required" required="required" /> |
216 |
<input type="text" size="10" id="acqui_date" name="firstacquidate" value="[% firstacquidate | $KohaDates %]" class="datepicker required" required="required" /> |
216 |
[% ELSE %] |
217 |
[% ELSE %] |
217 |
[% firstacquidate | $KohaDates %] |
218 |
[% firstacquidate | $KohaDates %] |
218 |
<input type="hidden" size="10" id="acqui_date" name="firstacquidate" value="[% firstacquidate | $KohaDates %]"/> |
219 |
<input type="hidden" size="10" id="acqui_date" name="firstacquidate" value="[% firstacquidate | $KohaDates %]" /> |
219 |
[% END %] |
220 |
[% END %] |
220 |
</li> |
221 |
</li> |
221 |
[% IF (more_than_one_serial) %] |
222 |
[% IF (more_than_one_serial) %] |
222 |
<li> |
223 |
<li> |
223 |
<label for="nextacquidate">Next issue publication date:</label> |
224 |
<label for="nextacquidate">[% t('Next issue publication date:') %]</label> |
224 |
<input type="text" size="10" id="nextacquidate" name="nextacquidate" value="[% nextacquidate | $KohaDates %]" class="datepicker" /> |
225 |
<input type="text" size="10" id="nextacquidate" name="nextacquidate" value="[% nextacquidate | $KohaDates %]" class="datepicker" /> |
225 |
</li> |
226 |
</li> |
226 |
[% END %] |
227 |
[% END %] |
227 |
<li> |
228 |
<li> |
228 |
<label for="frequency" class="required">Frequency:</label> |
229 |
<label for="frequency" class="required">[% t('Frequency:') %]</label> |
229 |
<select name="frequency" size="1" id="frequency" class="required" required="required"> |
230 |
<select name="frequency" size="1" id="frequency" class="required" required="required"> |
230 |
<option value="">-- please choose --</option> |
231 |
<option value="">[% t('-- please choose --') %]</option> |
231 |
[% FOREACH frequency IN frequencies %] |
232 |
[% FOREACH frequency IN frequencies %] |
232 |
[% IF (frequency.selected) %] |
233 |
[% IF (frequency.selected) %] |
233 |
<option value="[% frequency.id %]" selected="selected"> |
234 |
<option value="[% frequency.id %]" selected="selected"> |
Lines 240-246
fieldset.rows li.radio { width: 100%; } /* override staff-global.css */
Link Here
|
240 |
</select> |
241 |
</select> |
241 |
</li> |
242 |
</li> |
242 |
<li> |
243 |
<li> |
243 |
<label for="subtype">Subscription length:</label> |
244 |
<label for="subtype">[% t('Subscription length:') %]</label> |
244 |
<select name="subtype" id="subtype"> |
245 |
<select name="subtype" id="subtype"> |
245 |
[% FOREACH st IN subtypes %] |
246 |
[% FOREACH st IN subtypes %] |
246 |
[% SWITCH st %] |
247 |
[% SWITCH st %] |
Lines 250-290
fieldset.rows li.radio { width: 100%; } /* override staff-global.css */
Link Here
|
250 |
[% ELSE %] |
251 |
[% ELSE %] |
251 |
<option value="issues"> |
252 |
<option value="issues"> |
252 |
[% END %] |
253 |
[% END %] |
253 |
issues |
254 |
[% t('issues') %] |
254 |
[% CASE 'weeklength' %] |
255 |
[% CASE 'weeklength' %] |
255 |
[% IF st == subtype %] |
256 |
[% IF st == subtype %] |
256 |
<option value="weeks" selected="selected"> |
257 |
<option value="weeks" selected="selected"> |
257 |
[% ELSE %] |
258 |
[% ELSE %] |
258 |
<option value="weeks"> |
259 |
<option value="weeks"> |
259 |
[% END %] |
260 |
[% END %] |
260 |
weeks |
261 |
[% t('weeks') %] |
261 |
[% CASE 'monthlength' %] |
262 |
[% CASE 'monthlength' %] |
262 |
[% IF st == subtype %] |
263 |
[% IF st == subtype %] |
263 |
<option value="months" selected="selected"> |
264 |
<option value="months" selected="selected"> |
264 |
[% ELSE %] |
265 |
[% ELSE %] |
265 |
<option value="months"> |
266 |
<option value="months"> |
266 |
[% END %] |
267 |
[% END %] |
267 |
months |
268 |
[% t('months') %] |
268 |
[% CASE %][% st %] |
269 |
[% CASE %][% st %] |
269 |
[% END %] |
270 |
[% END %] |
270 |
</option> |
271 |
</option> |
271 |
[% END %] |
272 |
[% END %] |
272 |
</select> |
273 |
</select> |
273 |
<input type="text" name="sublength" id="sublength" value="[% sublength %]" size="3" /> (enter amount in numerals) |
274 |
<input type="text" name="sublength" id="sublength" value="[% sublength %]" size="3" /> [% t('(enter amount in numerals)') %] |
274 |
<input type="hidden" name="issuelengthcount"> |
275 |
<input type="hidden" name="issuelengthcount"> |
275 |
</li> |
276 |
</li> |
276 |
<li> |
277 |
<li> |
277 |
<label for="startdate" class="required"> Subscription start date:</label> |
278 |
<label for="startdate" class="required"> [% t('Subscription start date:') %]</label> |
278 |
<input type="text" size="10" id="from" name="startdate" value="[% startdate | $KohaDates %]" class="datepickerfrom required" required="required" /> |
279 |
<input type="text" size="10" id="from" name="startdate" value="[% startdate | $KohaDates %]" class="datepickerfrom required" required="required" /> |
279 |
</li> |
280 |
</li> |
280 |
<li> |
281 |
<li> |
281 |
<label for="enddate">Subscription end date:</label> |
282 |
<label for="enddate">[% t('Subscription end date:') %]</label> |
282 |
<input type="text" size="10" id="to" name="enddate" value="[% enddate | $KohaDates %]" class="datepickerto" /> |
283 |
<input type="text" size="10" id="to" name="enddate" value="[% enddate | $KohaDates %]" class="datepickerto" /> |
283 |
</li> |
284 |
</li> |
284 |
<li> |
285 |
<li> |
285 |
<label for="numberpattern" class="required">Numbering pattern:</label> |
286 |
<label for="numberpattern" class="required">[% t('Numbering pattern:') %]</label> |
286 |
<select name="numbering_pattern" size="1" id="numberpattern" class="required" required="required"> |
287 |
<select name="numbering_pattern" size="1" id="numberpattern" class="required" required="required"> |
287 |
<option value="">-- please choose --</option> |
288 |
<option value="">[% t('-- please choose --') %]</option> |
288 |
[% FOREACH numberpattern IN numberpatterns %] |
289 |
[% FOREACH numberpattern IN numberpatterns %] |
289 |
[% IF (numberpattern.selected) %] |
290 |
[% IF (numberpattern.selected) %] |
290 |
<option value="[% numberpattern.id %]" selected="selected"> |
291 |
<option value="[% numberpattern.id %]" selected="selected"> |
Lines 297-303
fieldset.rows li.radio { width: 100%; } /* override staff-global.css */
Link Here
|
297 |
</select> |
298 |
</select> |
298 |
</li> |
299 |
</li> |
299 |
<li> |
300 |
<li> |
300 |
<label for="locale">Locale:</label> |
301 |
<label for="locale">[% t('Locale:') %]</label> |
301 |
<select id="locale" name="locale"> |
302 |
<select id="locale" name="locale"> |
302 |
<option value=""></option> |
303 |
<option value=""></option> |
303 |
[% FOREACH l IN locales %] |
304 |
[% FOREACH l IN locales %] |
Lines 308-332
fieldset.rows li.radio { width: 100%; } /* override staff-global.css */
Link Here
|
308 |
[% END %] |
309 |
[% END %] |
309 |
[% END %] |
310 |
[% END %] |
310 |
</select> |
311 |
</select> |
311 |
<span class="hint">If empty, English is used</span> |
312 |
<span class="hint">[% t('If empty, English is used') %]</span> |
312 |
</li> |
313 |
</li> |
313 |
<li id="more_options"> |
314 |
<li id="more_options"> |
314 |
<table id="moreoptionst"> |
315 |
<table id="moreoptionst"> |
315 |
<thead> |
316 |
<thead> |
316 |
<tr> |
317 |
<tr> |
317 |
<th> </th> |
318 |
<th> </th> |
318 |
<th id="headerX"> </th> |
319 |
<th id="headerX"> </th> |
319 |
<th id="headerY"> </th> |
320 |
<th id="headerY"> </th> |
320 |
<th id="headerZ"> </th> |
321 |
<th id="headerZ"> </th> |
321 |
</tr> |
322 |
</tr> |
322 |
</thead> |
323 |
</thead> |
323 |
<tbody> |
324 |
<tbody> |
324 |
<tr> |
325 |
<tr> |
325 |
<td> |
326 |
<td> |
326 |
[% IF (more_than_one_serial) %] |
327 |
[% IF (more_than_one_serial) %] |
327 |
Last value |
328 |
[% t('Last value') %] |
328 |
[% ELSE %] |
329 |
[% ELSE %] |
329 |
Begins with |
330 |
[% t('Begins with') %] |
330 |
[% END %] |
331 |
[% END %] |
331 |
</td> |
332 |
</td> |
332 |
<td id="beginsX"><input type="text" id="lastvaluetemp1" name="lastvaluetemp1" value="[% lastvalue1 %]" /></td> |
333 |
<td id="beginsX"><input type="text" id="lastvaluetemp1" name="lastvaluetemp1" value="[% lastvalue1 %]" /></td> |
Lines 334-340
fieldset.rows li.radio { width: 100%; } /* override staff-global.css */
Link Here
|
334 |
<td id="beginsZ"><input type="text" id="lastvaluetemp3" name="lastvaluetemp3" value="[% lastvalue3 %]" /></td> |
335 |
<td id="beginsZ"><input type="text" id="lastvaluetemp3" name="lastvaluetemp3" value="[% lastvalue3 %]" /></td> |
335 |
</tr> |
336 |
</tr> |
336 |
<tr> |
337 |
<tr> |
337 |
<td>Inner counter</td> |
338 |
<td>[% t('Inner counter') %]</td> |
338 |
<td id="innerX"><input type="text" id="innerlooptemp1" name="innerlooptemp1" value="[% innerloop1 %]" /></td> |
339 |
<td id="innerX"><input type="text" id="innerlooptemp1" name="innerlooptemp1" value="[% innerloop1 %]" /></td> |
339 |
<td id="innerY"><input type="text" id="innerlooptemp2" name="innerlooptemp2" value="[% innerloop2 %]" /></td> |
340 |
<td id="innerY"><input type="text" id="innerlooptemp2" name="innerlooptemp2" value="[% innerloop2 %]" /></td> |
340 |
<td id="innerZ"><input type="text" id="innerlooptemp3" name="innerlooptemp3" value="[% innerloop3 %]" /></td> |
341 |
<td id="innerZ"><input type="text" id="innerlooptemp3" name="innerlooptemp3" value="[% innerloop3 %]" /></td> |
Lines 343-411
fieldset.rows li.radio { width: 100%; } /* override staff-global.css */
Link Here
|
343 |
</table> |
344 |
</table> |
344 |
</li> |
345 |
</li> |
345 |
<li> |
346 |
<li> |
346 |
<a href="#" class="toggle_advanced_pattern show_advanced_pattern"><i class="fa fa-plus-square"></i> Show advanced pattern</a> |
347 |
<a href="#" class="toggle_advanced_pattern show_advanced_pattern"><i class="fa fa-plus-square"></i> [% t('Show advanced pattern') %]</a> |
347 |
<a href="#" style="display:none;" class="toggle_advanced_pattern hide_advanced_pattern"><i class="fa fa-minus-square"></i> Hide advanced pattern</a> |
348 |
<a href="#" style="display:none;" class="toggle_advanced_pattern hide_advanced_pattern"><i class="fa fa-minus-square"></i> [% t('Hide advanced pattern') %]</a> |
348 |
</li> |
349 |
</li> |
349 |
<div id="advancedpredictionpattern" style="display:none"> |
350 |
<div id="advancedpredictionpattern" style="display:none"> |
350 |
<li> |
351 |
<li> |
351 |
<label for="patternname" class="required">Pattern name:</label> |
352 |
<label for="patternname" class="required">[% t('Pattern name:') %]</label> |
352 |
<input id="patternname" name="patternname" type="text" readonly="readonly" class="required" required="required" /> |
353 |
<input id="patternname" name="patternname" type="text" readonly="readonly" class="required" required="required" /> |
353 |
</li> |
354 |
</li> |
354 |
<li> |
355 |
<li> |
355 |
<label for="numberingmethod">Numbering formula:</label> |
356 |
<label for="numberingmethod">[% t('Numbering formula:') %]</label> |
356 |
<input readonly="readonly" type="text" name="numberingmethod" id="numberingmethod" size="50" value="[% numberingmethod %]" /> |
357 |
<input readonly="readonly" type="text" name="numberingmethod" id="numberingmethod" size="50" value="[% numberingmethod %]" /> |
357 |
</li> |
358 |
</li> |
358 |
<table id="advancedpredictionpatternt"> |
359 |
<table id="advancedpredictionpatternt"> |
359 |
<thead> |
360 |
<thead> |
360 |
<tr> |
361 |
<tr> |
361 |
<th colspan="4">Advanced prediction pattern</th> |
362 |
<th colspan="4">[% t('Advanced prediction pattern') %]</th> |
362 |
</tr> |
363 |
</tr> |
363 |
<tr> |
364 |
<tr> |
364 |
<th> </th> |
365 |
<th> </th> |
365 |
<th>X</th> |
366 |
<th>[% t('X') %]</th> |
366 |
<th>Y</th> |
367 |
<th>[% t('Y') %]</th> |
367 |
<th>Z</th> |
368 |
<th>[% t('Z') %]</th> |
368 |
</tr> |
369 |
</tr> |
369 |
</thead> |
370 |
</thead> |
370 |
<tbody> |
371 |
<tbody> |
371 |
<tr> |
372 |
<tr> |
372 |
<td>Label</td> |
373 |
<td>[% t('Label') %]</td> |
373 |
<td><input type="text" readonly="readonly" id="label1" name="label1" /></td> |
374 |
<td><input type="text" readonly="readonly" id="label1" name="label1" /></td> |
374 |
<td><input type="text" readonly="readonly" id="label2" name="label2" /></td> |
375 |
<td><input type="text" readonly="readonly" id="label2" name="label2" /></td> |
375 |
<td><input type="text" readonly="readonly" id="label3" name="label3" /></td> |
376 |
<td><input type="text" readonly="readonly" id="label3" name="label3" /></td> |
376 |
</tr> |
377 |
</tr> |
377 |
<tr> |
378 |
<tr> |
378 |
<td>Begins with</td> |
379 |
<td>[% t('Begins with') %]</td> |
379 |
<td><input type="text" readonly="readonly" id="lastvalue1" name="lastvalue1" /></td> |
380 |
<td><input type="text" readonly="readonly" id="lastvalue1" name="lastvalue1" /></td> |
380 |
<td><input type="text" readonly="readonly" id="lastvalue2" name="lastvalue2" /></td> |
381 |
<td><input type="text" readonly="readonly" id="lastvalue2" name="lastvalue2" /></td> |
381 |
<td><input type="text" readonly="readonly" id="lastvalue3" name="lastvalue3" /></td> |
382 |
<td><input type="text" readonly="readonly" id="lastvalue3" name="lastvalue3" /></td> |
382 |
</tr> |
383 |
</tr> |
383 |
<tr> |
384 |
<tr> |
384 |
<td>Add</td> |
385 |
<td>[% t('Add') %]</td> |
385 |
<td><input type="text" readonly="readonly" id="add1" name="add1" /></td> |
386 |
<td><input type="text" readonly="readonly" id="add1" name="add1" /></td> |
386 |
<td><input type="text" readonly="readonly" id="add2" name="add2" /></td> |
387 |
<td><input type="text" readonly="readonly" id="add2" name="add2" /></td> |
387 |
<td><input type="text" readonly="readonly" id="add3" name="add3" /></td> |
388 |
<td><input type="text" readonly="readonly" id="add3" name="add3" /></td> |
388 |
</tr> |
389 |
</tr> |
389 |
<tr> |
390 |
<tr> |
390 |
<td>Every</td> |
391 |
<td>[% t('Every') %]</td> |
391 |
<td><input type="text" readonly="readonly" id="every1" name="every1" /></td> |
392 |
<td><input type="text" readonly="readonly" id="every1" name="every1" /></td> |
392 |
<td><input type="text" readonly="readonly" id="every2" name="every2" /></td> |
393 |
<td><input type="text" readonly="readonly" id="every2" name="every2" /></td> |
393 |
<td><input type="text" readonly="readonly" id="every3" name="every3" /></td> |
394 |
<td><input type="text" readonly="readonly" id="every3" name="every3" /></td> |
394 |
</tr> |
395 |
</tr> |
395 |
<tr> |
396 |
<tr> |
396 |
<td>Set back to</td> |
397 |
<td>[% t('Set back to') %]</td> |
397 |
<td><input type="text" readonly="readonly" id="setto1" name="setto1" /></td> |
398 |
<td><input type="text" readonly="readonly" id="setto1" name="setto1" /></td> |
398 |
<td><input type="text" readonly="readonly" id="setto2" name="setto2" /></td> |
399 |
<td><input type="text" readonly="readonly" id="setto2" name="setto2" /></td> |
399 |
<td><input type="text" readonly="readonly" id="setto3" name="setto3" /></td> |
400 |
<td><input type="text" readonly="readonly" id="setto3" name="setto3" /></td> |
400 |
</tr> |
401 |
</tr> |
401 |
<tr> |
402 |
<tr> |
402 |
<td>When more than</td> |
403 |
<td>[% t('When more than') %]</td> |
403 |
<td><input type="text" readonly="readonly" id="whenmorethan1" name="whenmorethan1" /></td> |
404 |
<td><input type="text" readonly="readonly" id="whenmorethan1" name="whenmorethan1" /></td> |
404 |
<td><input type="text" readonly="readonly" id="whenmorethan2" name="whenmorethan2" /></td> |
405 |
<td><input type="text" readonly="readonly" id="whenmorethan2" name="whenmorethan2" /></td> |
405 |
<td><input type="text" readonly="readonly" id="whenmorethan3" name="whenmorethan3" /></td> |
406 |
<td><input type="text" readonly="readonly" id="whenmorethan3" name="whenmorethan3" /></td> |
406 |
</tr> |
407 |
</tr> |
407 |
<tr> |
408 |
<tr> |
408 |
<td>Inner counter</td> |
409 |
<td>[% t('Inner counter') %]</td> |
409 |
<td><input type="text" readonly="readonly" id="innerloop1" name="innerloop1" /></td> |
410 |
<td><input type="text" readonly="readonly" id="innerloop1" name="innerloop1" /></td> |
410 |
<td><input type="text" readonly="readonly" id="innerloop2" name="innerloop2" /></td> |
411 |
<td><input type="text" readonly="readonly" id="innerloop2" name="innerloop2" /></td> |
411 |
<td><input type="text" readonly="readonly" id="innerloop3" name="innerloop3" /></td> |
412 |
<td><input type="text" readonly="readonly" id="innerloop3" name="innerloop3" /></td> |
Lines 414-428
fieldset.rows li.radio { width: 100%; } /* override staff-global.css */
Link Here
|
414 |
[% BLOCK numbering_select %] |
415 |
[% BLOCK numbering_select %] |
415 |
<select disabled="disabled" id="[% name %]" name="[% name %]"> |
416 |
<select disabled="disabled" id="[% name %]" name="[% name %]"> |
416 |
<option value=""></option> |
417 |
<option value=""></option> |
417 |
<option value="dayname">Name of day</option> |
418 |
<option value="dayname">[% t('Name of day') %]</option> |
418 |
<option value="dayabrv">Name of day (abbreviated)</option> |
419 |
<option value="dayabrv">[% t('Name of day (abbreviated)') %]</option> |
419 |
<option value="monthname">Name of month</option> |
420 |
<option value="monthname">[% t('Name of month') %]</option> |
420 |
<option value="monthabrv">Name of month (abbreviated)</option> |
421 |
<option value="monthabrv">[% t('Name of month (abbreviated)') %]</option> |
421 |
<option value="season">Name of season</option> |
422 |
<option value="season">[% t('Name of season') %]</option> |
422 |
<option value="seasonabrv">Name of season (abbreviated)</option> |
423 |
<option value="seasonabrv">[% t('Name of season (abbreviated)') %]</option> |
423 |
</select> |
424 |
</select> |
424 |
[% END %] |
425 |
[% END %] |
425 |
<td>Formatting</td> |
426 |
<td>[% t('Formatting') %]</td> |
426 |
<td>[% PROCESS numbering_select name="numbering1" %]</td> |
427 |
<td>[% PROCESS numbering_select name="numbering1" %]</td> |
427 |
<td>[% PROCESS numbering_select name="numbering2" %]</td> |
428 |
<td>[% PROCESS numbering_select name="numbering2" %]</td> |
428 |
<td>[% PROCESS numbering_select name="numbering3" %]</td> |
429 |
<td>[% PROCESS numbering_select name="numbering3" %]</td> |
Lines 439-445
fieldset.rows li.radio { width: 100%; } /* override staff-global.css */
Link Here
|
439 |
[% IF additional_fields_for_subscription %] |
440 |
[% IF additional_fields_for_subscription %] |
440 |
<div id="subscription_additional_fields"> |
441 |
<div id="subscription_additional_fields"> |
441 |
<fieldset class="rows"> |
442 |
<fieldset class="rows"> |
442 |
<legend>Additional fields</legend> |
443 |
<legend>[% t('Additional fields') %]</legend> |
443 |
<ol> |
444 |
<ol> |
444 |
[% FOR field IN additional_fields_for_subscription %] |
445 |
[% FOR field IN additional_fields_for_subscription %] |
445 |
<li> |
446 |
<li> |
Lines 453-463
fieldset.rows li.radio { width: 100%; } /* override staff-global.css */
Link Here
|
453 |
<option value="[% av.authorised_value %]">[% av.lib %]</option> |
454 |
<option value="[% av.authorised_value %]">[% av.lib %]</option> |
454 |
[% END %] |
455 |
[% END %] |
455 |
[% END %] |
456 |
[% END %] |
456 |
</select> (Authorised values for [% field.authorised_value_category %]) |
457 |
</select> [% t('(Authorised values for') %] [% field.authorised_value_category %]) |
457 |
[% ELSE %] |
458 |
[% ELSE %] |
458 |
[% IF field.marcfield %] |
459 |
[% IF field.marcfield %] |
459 |
<input type="text" value="[% additional_fields.${field.name} %]" id="additional_field_[% field.id %]" name="additional_field_[% field.id %]" readonly="readonly" /> |
460 |
<input type="text" value="[% additional_fields.${field.name} %]" id="additional_field_[% field.id %]" name="additional_field_[% field.id %]" readonly="readonly" /> |
460 |
This value will be filled with the [% field.marcfield %] subfield of the selected biblio. |
461 |
[% t('This value will be filled with the') %] [% field.marcfield %] [% t('subfield of the selected biblio.') %] |
461 |
[% ELSE %] |
462 |
[% ELSE %] |
462 |
<input type="text" value="[% additional_fields.${field.name} %]" id="additional_field_[% field.id %]" name="additional_field_[% field.id %]" /> |
463 |
<input type="text" value="[% additional_fields.${field.name} %]" id="additional_field_[% field.id %]" name="additional_field_[% field.id %]" /> |
463 |
[% END %] |
464 |
[% END %] |
Lines 470-476
fieldset.rows li.radio { width: 100%; } /* override staff-global.css */
Link Here
|
470 |
[% END %] |
471 |
[% END %] |
471 |
|
472 |
|
472 |
<fieldset class="action"> |
473 |
<fieldset class="action"> |
473 |
<input type="button" id="subscription_add_previous" value="<< Previous" style="float:left;"/> |
474 |
<input type="button" id="subscription_add_previous" value="<< Previous" style="float:left;" /> |
474 |
<input id="testpatternbutton" type="button" value="Test prediction pattern" /> |
475 |
<input id="testpatternbutton" type="button" value="Test prediction pattern" /> |
475 |
<input type="submit" value="Save subscription" style="float:right;" accesskey="w" /> |
476 |
<input type="submit" value="Save subscription" style="float:right;" accesskey="w" /> |
476 |
</fieldset> |
477 |
</fieldset> |