Lines 40-118
Link Here
|
40 |
<p>Please fill out this form to make a purchase suggestion. You will receive an email when the library processes your suggestion.</p> |
40 |
<p>Please fill out this form to make a purchase suggestion. You will receive an email when the library processes your suggestion.</p> |
41 |
<p>Only certain fields (marked in red) are required, but the more information you enter the easier it will be for the librarians to find the title you're requesting. The "Notes" field can be used to provide any additional information.</p> |
41 |
<p>Only certain fields (marked in red) are required, but the more information you enter the easier it will be for the librarians to find the title you're requesting. The "Notes" field can be used to provide any additional information.</p> |
42 |
|
42 |
|
|
|
43 |
[% FOR m IN messages %] |
44 |
<div class="alert alert-[% m.type %]"> |
45 |
[% SWITCH m.code %] |
46 |
[% CASE 'biblio_exists' %] |
47 |
A similar document already exists: <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% m.id %]">[% m.title %]</a>. Click on "Confirm your suggestion" to ignore this message. |
48 |
[% CASE %] |
49 |
[% m.code %] |
50 |
[% END %] |
51 |
</div> |
52 |
[% END %] |
53 |
|
43 |
<form action="/cgi-bin/koha/opac-suggestions.pl" method="post" id="add_suggestion_form"> |
54 |
<form action="/cgi-bin/koha/opac-suggestions.pl" method="post" id="add_suggestion_form"> |
44 |
<fieldset class="rows"> |
55 |
<fieldset class="rows"> |
45 |
<ol> |
56 |
<ol> |
46 |
<li> |
57 |
<li> |
47 |
[% IF ( title_required ) %] |
58 |
[% IF ( title_required ) %] |
48 |
<label for="title" class="required">Title:</label> |
59 |
<label for="title" class="required">Title:</label> |
49 |
<input type="text" id="title" name="title" class="span6" maxlength="255" required="required" /> |
60 |
<input type="text" id="title" name="title" class="span6" maxlength="255" value="[% title %]" required="required" /> |
50 |
<span class="required">Required</span> |
61 |
<span class="required">Required</span> |
51 |
[% ELSE %] |
62 |
[% ELSE %] |
52 |
<label for="title">Title:</label> |
63 |
<label for="title">Title:</label> |
53 |
<input type="text" id="title" name="title" class="span6" maxlength="255" /> |
64 |
<input type="text" id="title" name="title" class="span6" maxlength="255" value="[% title %]" /> |
54 |
[% END %] |
65 |
[% END %] |
55 |
</li> |
66 |
</li> |
56 |
<li> |
67 |
<li> |
57 |
[% IF ( author_required ) %] |
68 |
[% IF ( author_required ) %] |
58 |
<label for="author" class="required">Author:</label> |
69 |
<label for="author" class="required">Author:</label> |
59 |
<input type="text" id="author" name="author" class="span6" maxlength="80" required="required" /> |
70 |
<input type="text" id="author" name="author" class="span6" maxlength="80" value="[% author %]" required="required" /> |
60 |
<span class="required">Required</span> |
71 |
<span class="required">Required</span> |
61 |
[% ELSE %] |
72 |
[% ELSE %] |
62 |
<label for="author">Author:</label> |
73 |
<label for="author">Author:</label> |
63 |
<input type="text" id="author" name="author" class="span6" maxlength="80" /> |
74 |
<input type="text" id="author" name="author" class="span6" maxlength="80" value="[% author %]" /> |
64 |
[% END %] |
75 |
[% END %] |
65 |
</li> |
76 |
</li> |
66 |
<li> |
77 |
<li> |
67 |
<div title="Copyright or publication year, for example: 2016"> |
78 |
<div title="Copyright or publication year, for example: 2016"> |
68 |
[% IF ( copyrightdate_required ) %] |
79 |
[% IF ( copyrightdate_required ) %] |
69 |
<label for="copyrightdate" class="required">Copyright date:</label> |
80 |
<label for="copyrightdate" class="required">Copyright date:</label> |
70 |
<input type="text" id="copyrightdate" name="copyrightdate" pattern="[12]\d{3}" size="4" maxlength="4" required="required" /> |
81 |
<input type="text" id="copyrightdate" name="copyrightdate" pattern="[12]\d{3}" size="4" maxlength="4" value="[% copyrightdate %]" required="required" /> |
71 |
<span class="required">Required</span> |
82 |
<span class="required">Required</span> |
72 |
[% ELSE %] |
83 |
[% ELSE %] |
73 |
<label for="copyrightdate">Copyright date:</label> |
84 |
<label for="copyrightdate">Copyright date:</label> |
74 |
<input type="text" id="copyrightdate" name="copyrightdate" pattern="[12]\d{3}" size="4" maxlength="4" /> |
85 |
<input type="text" id="copyrightdate" name="copyrightdate" pattern="[12]\d{3}" size="4" maxlength="4" value="[% copyrightdate %]" /> |
75 |
[% END %] |
86 |
[% END %] |
76 |
</div> |
87 |
</div> |
77 |
</li> |
88 |
</li> |
78 |
<li> |
89 |
<li> |
79 |
[% IF ( isbn_required ) %] |
90 |
[% IF ( isbn_required ) %] |
80 |
<label for="isbn" class="required">Standard number (ISBN, ISSN or other):</label> |
91 |
<label for="isbn" class="required">Standard number (ISBN, ISSN or other):</label> |
81 |
<input type="text" id="isbn" name="isbn" maxlength="80" required="required" /> |
92 |
<input type="text" id="isbn" name="isbn" maxlength="80" value="[% isbn %]" required="required" /> |
82 |
<span class="required">Required</span> |
93 |
<span class="required">Required</span> |
83 |
[% ELSE %] |
94 |
[% ELSE %] |
84 |
<label for="isbn">Standard number (ISBN, ISSN or other):</label> |
95 |
<label for="isbn">Standard number (ISBN, ISSN or other):</label> |
85 |
<input type="text" id="isbn" name="isbn" maxlength="80" /> |
96 |
<input type="text" id="isbn" name="isbn" maxlength="80" value="[% isbn %]" /> |
86 |
[% END %] |
97 |
[% END %] |
87 |
</li> |
98 |
</li> |
88 |
<li> |
99 |
<li> |
89 |
[% IF ( publishercode_required ) %] |
100 |
[% IF ( publishercode_required ) %] |
90 |
<label for="publishercode" class="required">Publisher:</label> |
101 |
<label for="publishercode" class="required">Publisher:</label> |
91 |
<input type="text" id="publishercode" name="publishercode" class="span6" maxlength="80" required="required" /> |
102 |
<input type="text" id="publishercode" name="publishercode" class="span6" maxlength="80" value="[% publishercode %]" required="required" /> |
92 |
<span class="required">Required</span> |
103 |
<span class="required">Required</span> |
93 |
[% ELSE %] |
104 |
[% ELSE %] |
94 |
<label for="publishercode">Publisher:</label> |
105 |
<label for="publishercode">Publisher:</label> |
95 |
<input type="text" id="publishercode" name="publishercode" class="span6" maxlength="80" /> |
106 |
<input type="text" id="publishercode" name="publishercode" class="span6" maxlength="80" value="[% publishercode %]" /> |
96 |
[% END %] |
107 |
[% END %] |
97 |
</li> |
108 |
</li> |
98 |
<li> |
109 |
<li> |
99 |
[% IF ( collectiontitle_required ) %] |
110 |
[% IF ( collectiontitle_required ) %] |
100 |
<label for="collectiontitle" class="required">Collection title:</label> |
111 |
<label for="collectiontitle" class="required">Collection title:</label> |
101 |
<input type="text" id="collectiontitle" name="collectiontitle" class="span6" maxlength="80" required="required" /> |
112 |
<input type="text" id="collectiontitle" name="collectiontitle" class="span6" maxlength="80" value="[% collectiontitle %]" required="required" /> |
102 |
<span class="required">Required</span> |
113 |
<span class="required">Required</span> |
103 |
[% ELSE %] |
114 |
[% ELSE %] |
104 |
<label for="collectiontitle">Collection title:</label> |
115 |
<label for="collectiontitle">Collection title:</label> |
105 |
<input type="text" id="collectiontitle" name="collectiontitle" class="span6" maxlength="80" /> |
116 |
<input type="text" id="collectiontitle" name="collectiontitle" class="span6" maxlength="80" value="[% collectiontitle %]" /> |
106 |
[% END %] |
117 |
[% END %] |
107 |
</li> |
118 |
</li> |
108 |
<li> |
119 |
<li> |
109 |
[% IF ( place_required ) %] |
120 |
[% IF ( place_required ) %] |
110 |
<label for="place" class="required">Publication place:</label> |
121 |
<label for="place" class="required">Publication place:</label> |
111 |
<input type="text" id="place" name="place" required="required" maxlength="80" /> |
122 |
<input type="text" id="place" name="place" required="required" maxlength="80" value="[% place %]" /> |
112 |
<span class="required">Required</span> |
123 |
<span class="required">Required</span> |
113 |
[% ELSE %] |
124 |
[% ELSE %] |
114 |
<label for="place">Publication place:</label> |
125 |
<label for="place">Publication place:</label> |
115 |
<input type="text" id="place" name="place" maxlength="80" /> |
126 |
<input type="text" id="place" name="place" maxlength="80" value="[% place %]" /> |
116 |
[% END %] |
127 |
[% END %] |
117 |
</li> |
128 |
</li> |
118 |
<li id="opac-suggestion-quantity"> |
129 |
<li id="opac-suggestion-quantity"> |
Lines 181-186
Link Here
|
181 |
[% ELSE %] |
192 |
[% ELSE %] |
182 |
<label for="note">Notes:</label> |
193 |
<label for="note">Notes:</label> |
183 |
<textarea name="note" id="note" rows="5" cols="40"></textarea> |
194 |
<textarea name="note" id="note" rows="5" cols="40"></textarea> |
|
|
195 |
<textarea name="note" id="note" rows="5" cols="40">[% note %]</textarea> |
184 |
[% END %] |
196 |
[% END %] |
185 |
</li> |
197 |
</li> |
186 |
|
198 |
|
Lines 194-200
Link Here
|
194 |
<fieldset class="action"> |
206 |
<fieldset class="action"> |
195 |
<input type="hidden" name="suggested_by_anyone" value="[% suggested_by_anyone | html %]" /> |
207 |
<input type="hidden" name="suggested_by_anyone" value="[% suggested_by_anyone | html %]" /> |
196 |
<input type="hidden" name="op" value="add_confirm" /> |
208 |
<input type="hidden" name="op" value="add_confirm" /> |
197 |
<input type="submit" class="btn" value="Submit your suggestion" /> <a class="action" href="/cgi-bin/koha/opac-suggestions.pl">Cancel</a> |
209 |
[% IF ( need_confirm ) %] |
|
|
210 |
<input type="submit" onclick="this.form.op.value = 'add_confirm'; this.form.submit();" class="btn" value="Confirm your suggestion" /> |
211 |
[% ELSE %] |
212 |
<input type="submit" class="btn" value="Submit your suggestion" /> |
213 |
[% END %] |
214 |
<a class="action" href="/cgi-bin/koha/opac-suggestions.pl">Cancel</a> |
198 |
</fieldset> |
215 |
</fieldset> |
199 |
</form> |
216 |
</form> |
200 |
[% END %] |
217 |
[% END %] |