BIG COMMIT: minimal fix to authorities search
[koha.git] / koha-tmpl / opac-tmpl / prog / en / modules / opac-suggestions.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog &rsaquo;  
2 <!-- TMPL_IF name="op_add" -->Enter a new purchase suggestion<!-- /TMPL_IF -->
3 <!-- TMPL_IF name="op_else" -->Purchase Suggestions<!-- /TMPL_IF -->
4 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
5 </head>
6 <body>
7 <!-- TMPL_INCLUDE name="masthead.inc" -->
8
9 <div id="doc3" class="yui-t1">
10    <div id="bd">
11         <div id="yui-main">
12         <div class="yui-b"><div class="yui-g">
13
14 <!-- TMPL_IF name="op_add" -->
15     <h1>Enter a new purchase suggestion</h1>
16
17     <p>Fill this form to suggest the library a new acquisition. You will be emailed when the library processes your purchase suggestion</p>
18     <p>No fields are mandatory. Enter whatever information you have. The "Notes" field can be used to provide any additional information.</p>
19     <form action="/cgi-bin/koha/opac-suggestions.pl" method="post">
20    <fieldset class="rows"> <ol>
21     <li><label for="title">Summary:</label><input type="text" id="title" name="title" size="50" maxlentgh="80" /></li>
22     <li><label for="author">Author:</label><input type="text" id="author" name="author" size="50" maxlength="80" /></li>
23     <li><label for="copyrightdate">Copyright date:</label><input type="text" id="copyrightdate" name="copyrightdate" size="4" maxlength="4" /></li>
24     <li><label for="publishercode">Publisher:</label><input type="text" id="publishercode" name="publishercode" size="50" maxlength="80" /></li>
25     <li><label for="note">Notes:</label><textarea name="note" id="note" rows="5" cols="40"></textarea></li>
26     </ol></fieldset>
27         <fieldset class="action"><input type="hidden" name="op" value="add_confirm" /><input type="submit" value="Submit Your Suggestion" /> <a class="action" href="/cgi-bin/koha/opac-suggestions.pl">Cancel</a></fieldset>
28     </form>
29
30 <!-- /TMPL_IF -->
31
32 <!-- TMPL_IF name="op_else" -->
33     <h1>Purchase Suggestions</h1>
34     <!-- TMPL_IF NAME="suggestions_loop" -->
35             <form action="/cgi-bin/koha/opac-suggestions.pl" method="get">
36     <table>
37         <tr>
38                 <th>
39                     Search for:
40                 </th>
41                 <td>
42                     <input type="text" name="title" value="<!-- TMPL_VAR name="title"-->" />
43                 </td>
44                 <th>
45                 Suggested by:
46                 </th>
47                 <td>
48                     <select name="suggestedbyme">
49                         <option value="0">Anyone</option>
50                         <option value="1">Me</option>
51                     </select>
52                 </td>
53                 <th>
54                     <input type="submit" value="Set Filter" />
55                 </th>
56         </tr>
57                 </table>
58             </form>
59         <form action="/cgi-bin/koha/opac-suggestions.pl" method="post">
60             <input type="hidden" name="op" value="delete_confirm" />
61                         <table>
62                         <tr>
63             <!-- TMPL_IF NAME="loggedinusername" --><th>&nbsp;</th><!-- /TMPL_IF -->
64             <th>Summary</th>
65             <th>Note</th>
66             <th>Suggested by</th>
67             <th>Managed by</th>
68             <th>Status</th>
69         </tr>
70         <!-- TMPL_LOOP NAME="suggestions_loop" -->
71             <!-- TMPL_IF name="even" --><tr><!-- TMPL_ELSE --><tr class="highlight"><!-- /TMPL_IF -->
72 <!-- TMPL_IF NAME="loggedinusername" --><td>
73                     <input type="checkbox" name="delete_field" value="<!--TMPL_VAR name="suggestionid" -->" />
74                 </td><!-- /TMPL_IF -->
75                 <td>
76                     <p><strong><!-- TMPL_VAR NAME="title" --></strong></p>
77                     <p><!-- TMPL_IF name="author" --><!-- TMPL_VAR NAME="author" -->,<!-- /TMPL_IF -->
78                         <!-- TMPL_IF name="copyrightdate" --> - <!-- TMPL_VAR NAME="copyrightdate" -->,<!-- /TMPL_IF --> 
79                         <!-- TMPL_IF name="publishercode" --> - <!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF -->
80                     </p>
81                 </td>
82                 <td>
83                     <!-- TMPL_VAR name="note" -->
84                 </td>
85                 <td>
86                     <!-- TMPL_VAR name="surnamesuggestedby" --><!-- TMPL_IF name="firstnamesuggestedby" -->,<!-- /TMPL_IF --> <!-- TMPL_VAR name="firstnamesuggestedby" -->
87                 </td>
88                 <td>
89                                         <!-- TMPL_VAR name="surnamemanagedby" --><!-- TMPL_IF name="firstnamemanagedby" -->,<!-- /TMPL_IF --> <!-- TMPL_VAR name="firstnamemanagedby" -->
90                 </td>
91                 <td>
92                     <!-- TMPL_IF name="ASKED" -->Requested<!-- /TMPL_IF -->
93                     <!-- TMPL_IF name="ACCEPTED" -->Accepted by the library<!-- /TMPL_IF -->
94                     <!-- TMPL_IF name="ORDERED" -->Ordered by the library<!-- /TMPL_IF -->
95                     <!-- TMPL_IF name="REJECTED" -->Suggestion declined <!-- /TMPL_IF -->
96                     <!-- TMPL_IF name="AVAILABLE" -->Available in the library<!-- /TMPL_IF -->
97                     <!-- TMPL_IF name="reason" -->(<!-- TMPL_VAR name="reason" -->)<!-- /TMPL_IF -->
98                 </td>
99             </tr>
100         <!-- /TMPL_LOOP -->
101         <!-- TMPL_IF NAME="loggedinusername" --><tr>
102             <td colspan="9">
103                 <input type="submit" value="Delete Checked Items" />
104             </td>
105         </tr><!-- /TMPL_IF -->
106     </table>
107         </form>
108     <!-- TMPL_ELSE --><p>There are no pending purchase suggestions.</p><!-- /TMPL_IF -->
109         
110         <!-- TMPL_IF NAME="loggedinusername" --><a href="/cgi-bin/koha/opac-suggestions.pl?op=add">Add a purchase suggestion</a><!-- TMPL_ELSE --><!-- TMPL_IF NAME="AnonSuggestions" --><a href="/cgi-bin/koha/opac-suggestions.pl?op=add">Add a purchase suggestion</a><!-- /TMPL_IF --><!-- /TMPL_IF -->
111 <!-- /TMPL_IF -->
112
113 </div>
114 </div>
115 </div>
116 <div class="yui-b">
117 <!--TMPL_INCLUDE NAME="navigation.inc" -->
118 <!-- TMPL_INCLUDE name="usermenu.inc" -->
119 </div>
120 </div>
121 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->