Beginning redesign of the OPAC. At this stage it's a move to make it more like the...
[koha-ffzg.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 <!--TMPL_INCLUDE NAME="navigation.inc" -->
9
10 <!-- TMPL_IF name="op_add" -->
11     <h1>Enter a new purchase suggestion</h1>
12
13     <p>Fill this form to suggest the library a new acquisition. You will be emailed when the library processes your purchase suggestion</p>
14     <p>No fields are mandatory. Enter whatever information you have. The "Notes" field can be used to provide any additional information.</p>
15     <form action="/cgi-bin/koha/opac-suggestions.pl" method="post">
16     <table>
17     <tr><th scope="row"><label for="">Summary</label></th><td><input type="text" id="title" name="title" size="50" maxlentgh="80" /></td></tr>
18     <tr><th scope="row"><label for="">Author</label></th><td><input type="text" id="author" name="author" size="50" maxlength="80" /></td></tr>
19     <tr><th scope="row"><label for="">Copyright date</label></th><td><input type="text" id="copyrightdate" name="copyrightdate" size="4" maxlength="4" /></td></tr>
20     <tr><th scope="row"><label for="">Publisher</label></th><td><input type="text" id="publishercode" name="publishercode" size="50" maxlength="80" /></td></tr>
21     <tr><th scope="row"><label for="">Notes</label></th><td><textarea name="note" id="note" rows="5" cols="40"></textarea></td></tr>
22     </table>
23         <p><input type="hidden" name="op" value="add_confirm" /><input type="submit" value="Submit Your Suggestion" /></p>
24     </form>
25
26 <!-- /TMPL_IF -->
27
28 <!-- TMPL_IF name="op_else" -->
29     <h1>Purchase Suggestions</h1>
30     <!-- TMPL_IF NAME="suggestions_loop" -->
31     <table>
32         <tr>
33             <th>&nbsp;</th>
34             <th>Summary</th>
35             <th>Status</th>
36             <th>Suggested by</th>
37             <th>Managed by</th>
38             <th>Note</th>
39         </tr>
40         <tr>
41             <form action="/cgi-bin/koha/opac-suggestions.pl" method="get">
42                 <th>
43                     Filter by:
44                 </th>
45                 <td>
46                     <input type="text" name="title" value="<!-- TMPL_VAR name="title"-->" />
47                 </td>
48                 <td>
49                 &nbsp;
50                 </td>
51                 <td>
52                     <select name="suggestedbyme">
53                         <option value="0">Anyone</option>
54                         <option value="1">Me</option>
55                     </select>
56                 </td>
57                 <td>
58                     &nbsp;
59                 </td>
60                 <td>
61                     <input type="submit" value="Set Filter" />
62                 </td>
63             </form>
64         </tr>
65         <form action="/cgi-bin/koha/opac-suggestions.pl" method="post">
66             <input type="hidden" name="op" value="delete_confirm" />
67         <!-- TMPL_LOOP NAME="suggestions_loop" -->
68             <!-- TMPL_IF name="even" --><tr><!-- TMPL_ELSE --><tr class="highlight"><!-- /TMPL_IF -->
69                 <td>
70                     <input type="checkbox" name="delete_field" value="<!--TMPL_VAR name="suggestionid" -->" />
71                 </td>
72                 <td>
73                     <p><!-- TMPL_VAR NAME="title" --></p>
74                     <p><!-- TMPL_IF name="author" --><!-- TMPL_VAR NAME="author" -->,<!-- /TMPL_IF -->
75                         <!-- TMPL_IF name="copyrightdate" --> - <!-- TMPL_VAR NAME="copyrightdate" -->,<!-- /TMPL_IF --> 
76                         <!-- TMPL_IF name="publishercode" --> - <!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF -->
77                     </p>
78                 </td>
79                 <td>
80                     <!-- TMPL_IF name="ASKED" -->Requested<!-- /TMPL_IF -->
81                     <!-- TMPL_IF name="ACCEPTED" -->Accepted by the library<!-- /TMPL_IF -->
82                     <!-- TMPL_IF name="ORDERED" -->Ordered by the library<!-- /TMPL_IF -->
83                     <!-- TMPL_IF name="REJECTED" -->Suggestion declined <!-- /TMPL_IF -->
84                     <!-- TMPL_IF name="AVAILABLE" -->Available in the library<!-- /TMPL_IF -->
85                     <!-- TMPL_IF name="reason" -->(<!-- TMPL_VAR name="reason" -->)<!-- /TMPL_IF -->
86                 </td>
87                 <td>
88                     <!-- TMPL_VAR name="surnamesuggestedby" --><!-- TMPL_IF name="firstnamesuggestedby" -->,<!-- /TMPL_IF --> <!-- TMPL_VAR name="firstnamesuggestedby" -->
89                 </td>
90                 <td>
91                                         <!-- TMPL_VAR name="surnamemanagedby" --><!-- TMPL_IF name="firstnamemanagedby" -->,<!-- /TMPL_IF --> <!-- TMPL_VAR name="firstnamemanagedby" -->
92                 </td>
93                 <td>
94                     <!-- TMPL_VAR name="note" -->
95                 </td>
96             </tr>
97         <!-- /TMPL_LOOP -->
98         <tr>
99             <td colspan="9">
100                 <input type="submit" value="Delete Checked Items" />
101             </td>
102         </tr>
103         </form>
104     </table>
105     <!-- TMPL_ELSE --><div class="content-block">There are no pending purchase suggestions</div><!-- /TMPL_IF -->
106     <form action="/cgi-bin/koha/opac-suggestions.pl" method="post">
107         <input type="hidden" name="op" value="add" />
108         <input type="submit" value="Enter a new purchase suggestion" />
109     </form>
110 <!-- /TMPL_IF -->
111 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->