Lines 38-57
Link Here
|
38 |
<p>Please fill out this form to make a purchase suggestion. You will receive an email when the library processes your suggestion.</p> |
38 |
<p>Please fill out this form to make a purchase suggestion. You will receive an email when the library processes your suggestion.</p> |
39 |
<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> |
39 |
<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> |
40 |
|
40 |
|
|
|
41 |
[% FOR m IN messages %] |
42 |
<div class="alert alert-[% m.type %]"> |
43 |
[% SWITCH m.code %] |
44 |
[% CASE 'biblio_exists' %] |
45 |
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. |
46 |
[% CASE %] |
47 |
[% m.code %] |
48 |
[% END %] |
49 |
</div> |
50 |
[% END %] |
51 |
|
41 |
<form action="/cgi-bin/koha/opac-suggestions.pl" method="post" id="add_suggestion_form"> |
52 |
<form action="/cgi-bin/koha/opac-suggestions.pl" method="post" id="add_suggestion_form"> |
42 |
<fieldset class="rows"> |
53 |
<fieldset class="rows"> |
43 |
<ol> |
54 |
<ol> |
44 |
<li><label for="title">Title:</label><input type="text" id="title" name="title" class="span6" maxlength="255" /></li> |
55 |
<li><label for="title">Title:</label><input type="text" id="title" name="title" class="span6" maxlength="255" value="[% title %]" /></li> |
45 |
<li><label for="author">Author:</label><input type="text" id="author" name="author" class="span6" maxlength="80" /></li> |
56 |
<li><label for="author">Author:</label><input type="text" id="author" name="author" class="span6" maxlength="80" value="[% author %]" /></li> |
46 |
<li> |
57 |
<li> |
47 |
<div title="Copyright or publication year, for example: 2016"> |
58 |
<div title="Copyright or publication year, for example: 2016"> |
48 |
<label for="copyrightdate">Copyright date:</label><input type="text" id="copyrightdate" name="copyrightdate" pattern="[12]\d{3}" size="4" maxlength="4" /> |
59 |
<label for="copyrightdate">Copyright date:</label><input type="text" id="copyrightdate" name="copyrightdate" size="4" maxlength="4" value="[% copyrightdate %]" /></li> |
49 |
</div> |
60 |
</div> |
50 |
</li> |
61 |
<li><label for="isbn">Standard number (ISBN, ISSN or other):</label><input type="text" id="isbn" name="isbn" maxlength="80" value="[% isbn %]" /></li> |
51 |
<li><label for="isbn">Standard number (ISBN, ISSN or other):</label><input type="text" id="isbn" name="isbn" maxlength="80" /></li> |
62 |
<li><label for="publishercode">Publisher:</label><input type="text" id="publishercode" name="publishercode" class="span6" maxlength="80" value="[% publishercode %]"/></li> |
52 |
<li><label for="publishercode">Publisher:</label><input type="text" id="publishercode" name="publishercode" class="span6" maxlength="80" /></li> |
63 |
<li><label for="collectiontitle">Collection title:</label><input type="text" id="collectiontitle" name="collectiontitle" class="span6" maxlength="80" value="[% collectiontitle %]"/></li> |
53 |
<li><label for="collectiontitle">Collection title:</label><input type="text" id="collectiontitle" name="collectiontitle" class="span6" maxlength="80" /></li> |
64 |
<li><label for="place">Publication place:</label><input type="text" id="place" name="place" maxlength="80" valu="[% place %]" /></li> |
54 |
<li><label for="place">Publication place:</label><input type="text" id="place" name="place" maxlength="80" /></li> |
|
|
55 |
<li><label for="itemtype">Item type:</label> |
65 |
<li><label for="itemtype">Item type:</label> |
56 |
[% PROCESS 'av-build-dropbox.inc' name="itemtype", category="SUGGEST_FORMAT", size = 20 %] |
66 |
[% PROCESS 'av-build-dropbox.inc' name="itemtype", category="SUGGEST_FORMAT", size = 20 %] |
57 |
</li> |
67 |
</li> |
Lines 75-81
Link Here
|
75 |
[% END %] |
85 |
[% END %] |
76 |
<li> |
86 |
<li> |
77 |
<label for="note">Notes:</label> |
87 |
<label for="note">Notes:</label> |
78 |
<textarea name="note" id="note" rows="5" cols="40"></textarea> |
88 |
<textarea name="note" id="note" rows="5" cols="40">[% note %]</textarea> |
79 |
</li> |
89 |
</li> |
80 |
|
90 |
|
81 |
<!-- Add a hidden 'negcap' field --> |
91 |
<!-- Add a hidden 'negcap' field --> |
Lines 87-94
Link Here
|
87 |
</fieldset> |
97 |
</fieldset> |
88 |
<fieldset class="action"> |
98 |
<fieldset class="action"> |
89 |
<input type="hidden" name="suggested_by_anyone" value="[% suggested_by_anyone %]" /> |
99 |
<input type="hidden" name="suggested_by_anyone" value="[% suggested_by_anyone %]" /> |
90 |
<input type="hidden" name="op" value="add_confirm" /> |
100 |
<input type="hidden" name="op" value="add_validate" /> |
91 |
<input type="submit" class="btn" value="Submit your suggestion" /> <a class="action" href="/cgi-bin/koha/opac-suggestions.pl">Cancel</a> |
101 |
[% IF ( need_confirm ) %] |
|
|
102 |
<input type="submit" onclick="this.form.op.value = 'add_confirm'; this.form.submit();" class="btn" value="Confirm your suggestion" /> |
103 |
[% ELSE %] |
104 |
<input type="submit" onclick="Check(this.form); return false;" class="btn" value="Submit your suggestion" /> |
105 |
[% END %] |
106 |
<a class="action" href="/cgi-bin/koha/opac-suggestions.pl">Cancel</a> |
92 |
</fieldset> |
107 |
</fieldset> |
93 |
</form> |
108 |
</form> |
94 |
[% END %] |
109 |
[% END %] |