1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> 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 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
6 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
7 <script type="text/JavaScript" language="JavaScript">
9 $.tablesorter.addParser({
11 is: function(s) {return false; },
12 format: function(s) { return s.toLowerCase().replace(/^(the|an|a) /,''); },
17 $("#suggestt").tablesorter({
19 <!-- TMPL_IF NAME="loggedinusername" -->sortList: [[1,0]],<!-- TMPL_ELSE -->sortList: [[0,0]],<!-- /TMPL_IF -->
21 <!-- TMPL_IF NAME="loggedinusername" -->
22 <!-- TMPL_IF NAME="OPACViewOthersSuggestions" -->
23 0: { sorter: false },2: { sorter: 'articles' },2: {sorter: false },4: {sorter: false},5:{sorter:false}
25 0: { sorter: false },2: { sorter: 'articles' },2: {sorter: false },3: {sorter: false},4:{sorter:false}
28 <!-- TMPL_IF NAME="OPACViewOthersSuggestions" -->
29 0: { sorter: 'articles' },1: {sorter: false },3: {sorter: false},4:{sorter:false}
31 0: { sorter: 'articles' },1: {sorter: false },2: {sorter: false},3:{sorter:false}
36 $("#CheckAll").click(function(){
37 $(".checkboxed").checkCheckboxes();
40 $("#CheckNone").click(function(){
41 $(".checkboxed").unCheckCheckboxes();
48 <!-- TMPL_IF NAME="loggedinusername" --><body id="opac-usersuggestions"><!-- TMPL_ELSE --><body id="opac-suggestions"><!-- /TMPL_IF -->
49 <!-- TMPL_INCLUDE name="masthead.inc" -->
51 <div id="doc3" class="yui-t1">
54 <div class="yui-b"><div class="yui-g">
55 <div class="container">
56 <!-- TMPL_IF name="op_add" -->
57 <h1>Enter a new purchase suggestion</h1>
59 <p>Please fill out this form to make a purchase suggestion. You will receive an email when the library processes your purchase suggestion</p>
60 <p>No fields are mandatory. Enter whatever information you have. The "Notes" field can be used to provide any additional information.</p>
61 <form action="/cgi-bin/koha/opac-suggestions.pl" method="post">
62 <fieldset class="rows"> <ol>
63 <li><label for="title">Title:</label><input type="text" id="title" name="title" size="50" maxlength="80" /></li>
64 <li><label for="author">Author:</label><input type="text" id="author" name="author" size="50" maxlength="80" /></li>
65 <li><label for="copyrightdate">Copyright date:</label><input type="text" id="copyrightdate" name="copyrightdate" size="4" maxlength="4" /></li>
66 <li><label for="isbn">ISBN or ISSN or other standard number:</label></label><input type="text" id="isbn" name="isbn" size="50" maxlength="80" /></li>
67 <li><label for="publishercode">Publisher:</label><input type="text" id="publishercode" name="publishercode" size="50" maxlength="80" /></li>
68 <li><label for="collectiontitle">Collection title:</label><input type="text" id="collectiontitle" name="collectiontitle" size="50" maxlength="80" /></li>
69 <li><label for="place">Publication Place :</label><input type="text" id="place" name="place" size="50" maxlength="80" /></li>
70 <li><label for="itemtype">Document Type:</label><select name="itemtype" >
71 <option value="">Default</option>
72 <!-- TMPL_LOOP name="itemtypeloop" -->
73 <!-- TMPL_IF name="selected" --><option value="<!-- TMPL_VAR name="itemtype"-->" selected="selected"> <!--TMPL_ELSE--><option value="<!-- TMPL_VAR name="itemtype" -->"> <!--/TMPL_IF--> <!--TMPL_IF Name="imageurl"--><img alt="<!-- TMPL_VAR name="description" -->" src="<!--TMPL_VAR Name="imageurl"-->"><!--TMPL_ELSE--><!-- TMPL_VAR name="description" --><!--/TMPL_IF--></option>
76 <li><label for="sort1">Sort1:</label><input type="text" id="sort1" name="sort1" size="50" maxlength="80" /></li>
77 <li><label for="note">Notes:</label><textarea name="note" id="note" rows="5" cols="40"></textarea></li>
79 <fieldset class="action"><input type="hidden" name="suggestedby" value="<!--TMPL_VAR Name="suggestedbyme"-->" /><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>
84 <!-- TMPL_IF name="op_else" -->
85 <h1><!-- TMPL_UNLESS NAME="OPACViewOthersSuggestions" --><!-- TMPL_IF NAME="loggedinusername" -->My <!-- /TMPL_IF --><!-- /TMPL_UNLESS -->Purchase Suggestions</h1>
86 <!-- TMPL_IF NAME="suggestions_loop" -->
87 <!-- TMPL_IF NAME="OPACViewOthersSuggestions" -->
88 <form action="/cgi-bin/koha/opac-suggestions.pl" method="get">
95 <input type="text" name="title" value="<!-- TMPL_VAR name="title"-->" />
101 <select name="suggestedby">
102 <option value="0">Anyone</option>
103 <option value="1">Me</option>
107 <input type="submit" value="Search" />
111 </form><!-- /TMPL_IF -->
112 <form action="/cgi-bin/koha/opac-suggestions.pl" method="post">
113 <input type="hidden" name="op" value="delete_confirm" />
114 <div><span class="checkall"><a href="#" id="CheckAll">Select All</a></span>
115 <span class="clearall"><a href="#" id="CheckNone">Clear All</a></span> | <!-- TMPL_IF NAME="loggedinusername" --><a class="new" href="/cgi-bin/koha/opac-suggestions.pl?op=add">New purchase suggestion</a><!-- TMPL_ELSE --><!-- TMPL_IF NAME="AnonSuggestions" --><a class="new" href="/cgi-bin/koha/opac-suggestions.pl?op=add">New purchase suggestion</a><!-- /TMPL_IF --><!-- /TMPL_IF -->
117 <table id="suggestt" class="checkboxed">
119 <!-- TMPL_IF NAME="loggedinusername" --><th> </th><!-- /TMPL_IF -->
122 <!-- TMPL_IF NAME="OPACViewOthersSuggestions" --><th>Suggested For</th><!-- /TMPL_IF -->
126 <tbody><!-- TMPL_LOOP NAME="suggestions_loop" -->
127 <!-- TMPL_IF name="even" --><tr><!-- TMPL_ELSE --><tr class="highlight"><!-- /TMPL_IF -->
128 <!-- TMPL_IF NAME="loggedinusername" --><td>
129 <!-- TMPL_IF NAME="showcheckbox" -->
130 <input type="checkbox" name="delete_field" value="<!--TMPL_VAR name="suggestionid" -->" />
132 </td><!-- /TMPL_IF -->
134 <p><strong><!-- TMPL_VAR NAME="title" escape="html" --></strong></p>
135 <p><!-- TMPL_IF name="author" --><!-- TMPL_VAR NAME="author" -->,<!-- /TMPL_IF -->
136 <!-- TMPL_IF name="copyrightdate" --> - <!-- TMPL_VAR NAME="copyrightdate" -->,<!-- /TMPL_IF -->
137 <!-- TMPL_IF name="publishercode" --> - <!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF -->
138 <!-- TMPL_IF name="place" -->(<!-- TMPL_VAR name="place" -->)<!-- /TMPL_IF -->
139 <!-- TMPL_IF name="collectiontitle" --> , <!-- TMPL_VAR name="collectiontitle" --><!-- /TMPL_IF -->
140 <!-- TMPL_IF name="itemtype" --> - <!-- TMPL_VAR name="itemtype" --><!-- /TMPL_IF -->
144 <!-- TMPL_VAR name="note" -->
146 <!-- TMPL_IF NAME="OPACViewOthersSuggestions" --><td>
147 <!-- TMPL_IF NAME="branchcodesuggestedby" --><!-- TMPL_VAR name="branchcodesuggestedby" --><!-- TMPL_ELSE --> <!-- /TMPL_IF -->
148 </td><!-- /TMPL_IF -->
150 <!-- TMPL_IF NAME="surnamemanagedby" --><!-- TMPL_VAR name="surnamemanagedby" --><!-- TMPL_IF name="firstnamemanagedby" -->,<!-- /TMPL_IF --> <!-- TMPL_VAR name="firstnamemanagedby" --><!-- TMPL_ELSE --> <!-- /TMPL_IF -->
153 <!-- TMPL_IF name="ASKED" -->Requested<!-- /TMPL_IF -->
154 <!-- TMPL_IF name="CHECKED" -->Checked by the library<!-- /TMPL_IF -->
155 <!-- TMPL_IF name="ACCEPTED" -->Accepted by the library<!-- /TMPL_IF -->
156 <!-- TMPL_IF name="ORDERED" -->Ordered by the library<!-- /TMPL_IF -->
157 <!-- TMPL_IF name="REJECTED" -->Suggestion declined <!-- /TMPL_IF -->
158 <!-- TMPL_IF name="AVAILABLE" -->Available in the library<!-- /TMPL_IF -->
159 <!-- TMPL_IF name="reason" -->(<!-- TMPL_VAR name="reason" -->)<!-- /TMPL_IF -->
164 </table> <!-- TMPL_IF NAME="loggedinusername" --><fieldset class="action">
165 <input type="submit" value="Delete Checked Items" />
169 <!-- TMPL_ELSE --><p>There are no pending purchase suggestions.</p> <!-- TMPL_IF NAME="loggedinusername" --><p><a class="new" href="/cgi-bin/koha/opac-suggestions.pl?op=add">New purchase suggestion</a></p><!-- TMPL_ELSE --><!-- TMPL_IF NAME="AnonSuggestions" --><p><a class="new" href="/cgi-bin/koha/opac-suggestions.pl?op=add">New purchase suggestion</a></p><!-- /TMPL_IF --><!-- /TMPL_IF --><!-- /TMPL_IF -->
177 <div class="container">
178 <!--TMPL_INCLUDE NAME="navigation.inc" -->
179 <!-- TMPL_INCLUDE name="usermenu.inc" -->
183 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->