OPAC update
[koha.git] / koha-tmpl / opac-tmpl / prog / en / modules / opac-suggestions.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryNameTitle" --> Catalog -- 
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     <table>
21     <tr><th scope="row"><label for="">Summary</label></th><td><input type="text" id="title" name="title" size="50" maxlentgh="80" /></td></tr>
22     <tr><th scope="row"><label for="">Author</label></th><td><input type="text" id="author" name="author" size="50" maxlength="80" /></td></tr>
23     <tr><th scope="row"><label for="">Copyright date</label></th><td><input type="text" id="copyrightdate" name="copyrightdate" size="4" maxlength="4" /></td></tr>
24     <tr><th scope="row"><label for="">Publisher</label></th><td><input type="text" id="publishercode" name="publishercode" size="50" maxlength="80" /></td></tr>
25     <tr><th scope="row"><label for="">Notes</label></th><td><textarea name="note" id="note" rows="5" cols="40"></textarea></td></tr>
26     </table>
27         <p><input type="hidden" name="op" value="add_confirm" /><input type="submit" value="Submit Your Suggestion" /></p>
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     <table>
36         <tr>
37             <th>&nbsp;</th>
38             <th>Summary</th>
39             <th>Status</th>
40             <th>Suggested by</th>
41             <th>Managed by</th>
42             <th>Note</th>
43         </tr>
44         <tr>
45             <form action="/cgi-bin/koha/opac-suggestions.pl" method="get">
46                 <th>
47                     Filter by:
48                 </th>
49                 <td>
50                     <input type="text" name="title" value="<!-- TMPL_VAR name="title"-->" />
51                 </td>
52                 <td>
53                 &nbsp;
54                 </td>
55                 <td>
56                     <select name="suggestedbyme">
57                         <option value="0">Anyone</option>
58                         <option value="1">Me</option>
59                     </select>
60                 </td>
61                 <td>
62                     &nbsp;
63                 </td>
64                 <td>
65                     <input type="submit" value="Set Filter" />
66                 </td>
67             </form>
68         </tr>
69         <form action="/cgi-bin/koha/opac-suggestions.pl" method="post">
70             <input type="hidden" name="op" value="delete_confirm" />
71         <!-- TMPL_LOOP NAME="suggestions_loop" -->
72             <!-- TMPL_IF name="even" --><tr><!-- TMPL_ELSE --><tr class="highlight"><!-- /TMPL_IF -->
73                 <td>
74                     <input type="checkbox" name="delete_field" value="<!--TMPL_VAR name="suggestionid" -->" />
75                 </td>
76                 <td>
77                     <p><!-- TMPL_VAR NAME="title" --></p>
78                     <p><!-- TMPL_IF name="author" --><!-- TMPL_VAR NAME="author" -->,<!-- /TMPL_IF -->
79                         <!-- TMPL_IF name="copyrightdate" --> - <!-- TMPL_VAR NAME="copyrightdate" -->,<!-- /TMPL_IF --> 
80                         <!-- TMPL_IF name="publishercode" --> - <!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF -->
81                     </p>
82                 </td>
83                 <td>
84                     <!-- TMPL_IF name="ASKED" -->Requested<!-- /TMPL_IF -->
85                     <!-- TMPL_IF name="ACCEPTED" -->Accepted by the library<!-- /TMPL_IF -->
86                     <!-- TMPL_IF name="ORDERED" -->Ordered by the library<!-- /TMPL_IF -->
87                     <!-- TMPL_IF name="REJECTED" -->Suggestion declined <!-- /TMPL_IF -->
88                     <!-- TMPL_IF name="AVAILABLE" -->Available in the library<!-- /TMPL_IF -->
89                     <!-- TMPL_IF name="reason" -->(<!-- TMPL_VAR name="reason" -->)<!-- /TMPL_IF -->
90                 </td>
91                 <td>
92                     <!-- TMPL_VAR name="surnamesuggestedby" --><!-- TMPL_IF name="firstnamesuggestedby" -->,<!-- /TMPL_IF --> <!-- TMPL_VAR name="firstnamesuggestedby" -->
93                 </td>
94                 <td>
95                                         <!-- TMPL_VAR name="surnamemanagedby" --><!-- TMPL_IF name="firstnamemanagedby" -->,<!-- /TMPL_IF --> <!-- TMPL_VAR name="firstnamemanagedby" -->
96                 </td>
97                 <td>
98                     <!-- TMPL_VAR name="note" -->
99                 </td>
100             </tr>
101         <!-- /TMPL_LOOP -->
102         <tr>
103             <td colspan="9">
104                 <input type="submit" value="Delete Checked Items" />
105             </td>
106         </tr>
107         </form>
108     </table>
109     <!-- TMPL_ELSE --><div class="content-block">There are no pending purchase suggestions</div><!-- /TMPL_IF -->
110     <form action="/cgi-bin/koha/opac-suggestions.pl" method="post">
111         <input type="hidden" name="op" value="add" />
112         <input type="submit" value="Enter a new purchase suggestion" />
113     </form>
114 <!-- /TMPL_IF -->
115
116 </div>
117 </div>
118 </div>
119 <div class="yui-b">
120 <!--TMPL_INCLUDE NAME="navigation.inc" -->
121 <!-- TMPL_INCLUDE name="usermenu.inc" -->
122 </div>
123 </div>
124 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->