fixing who and when the suggestion is done
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / suggestion / suggestion.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><title><!-- TMPL_IF NAME="LibraryNameTitle" --><!-- TMPL_VAR NAME="LibraryNameTitle" --><!-- TMPL_ELSE -->Koha Online<!-- /TMPL_IF --> Catalog &rsaquo;  
2 <!-- TMPL_IF name="op_save" --><!-- TMPL_IF name="suttesionid" -->Edit purchase suggestion #<!-- TMPL_VAR name="suggestionid" --><!--TMPL_ELSE-->Enter a new purchase suggestion<!-- /TMPL_IF --><!--TMPL_ELSE-->Suggestions<!-- /TMPL_IF --></title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <!--TMPL_IF Name="op_else"--> <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
5 <script type="text/JavaScript">
6 // <![CDATA[
7
8     function yuiToolbar() {
9         new YAHOO.widget.Button("newsuggestion");
10     }
11 $.tablesorter.addParser({
12     id: 'articles', 
13     is: function(s) {return false;  }, 
14     format: function(s) { return s.toLowerCase().replace(/^(the|an|a) /,''); }, 
15     type: 'text' 
16 });
17 /**
18 *  displayOther.
19 *  This function display the select or an textaera to write a reason.
20 */
21 function displayOther(id,show,hide) {$("#"+hide+id).hide(); $("#"+show+id).show(); }
22 $(document).ready(function() {
23     yuiToolbar();
24     $('#suggestiontabs > ul').tabs({
25         select: function(ui) {
26             $("#loadingtab").show();
27         },
28         show: function(ui) {
29             $("#loadingtab").hide();
30         }
31         });
32     $.tablesorter.defaults.widgets = ['zebra'];
33
34 <!--TMPL_LOOP Name="suggestions"-->
35     $("#<!--TMPL_VAR Name="suggestiontype"-->t").tablesorter({<!-- TMPL_IF EXPR="dateformat eq 'metric'" -->
36     dateFormat: 'uk',<!-- /TMPL_IF -->
37     headers: {0:{sorter: false}, 1: { sorter: 'articles' },5:{sorter: false},6:{sorter: false},7:{sorter: false}, 8:{sorter: false},9:{sorter: false},10:{sorter: false}}
38     });
39     $("#CheckAll<!--TMPL_VAR Name="suggestiontype"-->").click(function(){
40         $("#<!--TMPL_VAR Name="suggestiontype"-->t :checkbox").attr('checked', $("#CheckAll<!--TMPL_VAR Name="suggestiontype"-->").is(':checked'));
41     });
42     $("div[id*=other_reason<!--TMPL_VAR Name="suggestiontype"-->]").hide();
43     $("input[name*=other_reason<!--TMPL_VAR Name="suggestiontype"-->]").focus(function(){ $(this).val(""); });
44     $("select[name*=reason<!--TMPL_VAR Name="suggestiontype"-->]").change(function(){
45     if($(this).children("[selected]").val() == "other"){
46     displayOther($(this).attr("name").replace(/reason/,""),"other_reason<!--TMPL_VAR Name="suggestiontype"-->","select-reason<!--TMPL_VAR Name="suggestiontype"-->");
47     }
48     });
49 <!--/TMPL_LOOP-->
50     $("a[href*=back]").click(function(){
51     var sid = $(this).attr("href").replace(/#back/,"");
52     displayOther(sid,"select-reason","other_reason");
53     $("#reason"+sid).find("option[value='']").attr("selected","selected");
54     });
55 }); 
56 // ]]>
57 </script>
58 <style type="text/css">
59 .overlay { top: 180px; left: 50%; position: absolute; margin-left: -100px; width: 200px; text-align: center; display: none; margin-top: -10px; background: #eeffd4; padding : .5em; color: #000; }
60 </style>
61 <!--/TMPL_IF-->
62 </head>
63 <body>              
64 <!-- TMPL_INCLUDE name="header.inc" -->
65 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
66 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> &rsaquo; <!-- TMPL_IF name="op_save" --><!-- TMPL_IF name="suggestionid" -->Suggestion edit #<!-- TMPL_VAR name="suggestionid" --><!--TMPL_ELSE-->New purchase suggestion<!-- /TMPL_IF --><!--TMPL_ELSE-->Suggestions<!-- /TMPL_IF --> </div>
67
68 <div id="doc3" class="yui-t2">
69 <div id="bd">
70     <div id="yui-main">
71     <div class="yui-b">
72 <!-- TMPL_IF name="op_save" -->
73     <form id="add_edit" action="suggestion.pl" method="post">
74     <!-- TMPL_IF name="suggestionid" -->
75         <h1>Edit purchase suggestion #<!-- TMPL_VAR name="suggestionid" --></h1>
76         <input type="hidden" name="suggestionid" value="<!-- TMPL_VAR name="suggestionid" -->"/>
77     <!--TMPL_ELSE-->  
78         <h1>Enter a new purchase suggestion</h1>
79     <!--/TMPL_IF-->    
80     <fieldset class="rows"> <legend>Bibliographic information</legend><ol>
81         <li><label for="title">Title:</label><input type="text" id="title" name="title" size="50" maxlentgh="80" value="<!--TMPL_VAR Name="title"-->"/></li>
82         <li><label for="author">Author:</label><input type="text" id="author" name="author" size="50" maxlength="80" value="<!--TMPL_VAR Name="author"-->"/></li>
83         <li><label for="copyrightdate">Copyright date:</label><input type="text" id="copyrightdate" name="copyrightdate" size="4" maxlength="4" value="<!--TMPL_VAR Name="copyrightdate"-->" /></li>
84         <li><label for="isbn">ISBN or ISSN or other standard number:</label></label><input type="text" id="isbn" name="isbn" size="50" maxlength="80" value="<!--TMPL_VAR Name="isbn"-->"/></li>
85         <li><label for="publishercode">Publisher:</label><input type="text" id="publishercode" name="publishercode" size="50" maxlength="80" value="<!--TMPL_VAR Name="publishercode"-->"/></li>
86         <li><label for="place">Publication Place:</label><input type="text" id="place" name="place" size="50" maxlength="80" value="<!--TMPL_VAR Name="place"-->"/></li>
87         <li><label for="collectiontitle">Collection Title :</label></label><input type="text" id="collectiontitle" name="collectiontitle" size="50" maxlength="80" value="<!--TMPL_VAR Name="collectiontitle"-->"/></li>
88         <li><label for="itemtype">Document Type :</label>
89             <select name="itemtype" >
90             <!--TMPL_LOOP Name="itemtypeloop"-->
91                 <!--TMPL_IF Name="selected"--><option selected="selected" value="<!--TMPL_VAR Name="code" -->"><!--TMPL_ELSE--><option value="<!--TMPL_VAR Name="code" -->"><!--/TMPL_IF-->
92                 <!-- TMPL_IF name="imageurl"--><img border="0" src="<!--TMPL_VAR Name="imageurl" -->" alt="<!--TMPL_VAR Name="description" -->" /><!-- /TMPL_IF -->
93                 <!--TMPL_VAR Name="description" --></option>
94             <!--/TMPL_LOOP-->
95             </select>
96         </li>
97         <li><label for="note">Notes:</label><textarea name="note" id="note" rows="5" cols="40" value="<!--TMPL_VAR Name="note"-->"></textarea></li>
98         <li><label for="sort1">Sort1:</label><textarea name="sort1" id="sort1" rows="5" cols="40" value="<!--TMPL_VAR Name="sort1"-->"></textarea></li>
99         </ol>
100     </fieldset>
101     <fieldset class="rows"> <legend>Suggestion management</legend><ol>
102         <!--TMPL_IF Name="suggestionid"-->
103             <li><label for="status"> status :</label><select name="status"><option value="">No Status</option>
104                 <!-- TMPL_LOOP name="status_loop" -->
105                     <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR name="code" -->" selected="selected"><!-- TMPL_VAR name="desc" --></option><!-- TMPL_ELSE --><option value="<!-- TMPL_VAR name="code" -->"><!-- TMPL_VAR name="desc" --></option><!-- /TMPL_IF -->
106                 <!-- /TMPL_LOOP -->
107             </select>
108         <!--/TMPL_IF-->
109         <table>
110             <thead><th>&nbsp;</th><th>date</th><th>by</th></thead>
111             <tbody>
112             <tr>
113                 <td>Suggestion creation </td>
114                 <td><input type="text" id="suggesteddate" name="suggesteddate" size="10" maxlentgh="10" value="<!--TMPL_VAR Name="suggesteddate"-->"/></td>
115                 <td><input type="hidden" id="suggestedby" name="suggestedby" value="<!--TMPL_VAR Name="suggestedby"-->"/><!--TMPL_VAR Name="suggestedbyinformation"-->
116                 </td>
117             </tr>
118             <tr>
119                 <td>Suggestion management </td>
120                 <td><input type="text" id="managedon" name="manageddate" size="10" maxlength="10" value="<!--TMPL_VAR Name="manageddate"-->" /></td>
121                 <td><input type="hidden" id="managedby" name="managedby" value="<!--TMPL_VAR Name="managedby"-->"/><!--TMPL_VAR Name="managedbyinformation"--></td>
122             </tr>
123             <tr>
124                 <td>Suggestion Accepted </td>
125                 <td><input type="text" id="accepteddate" name="accepteddate" size="10" maxlength="10" value="<!--TMPL_VAR Name="accepteddate"-->" /></td>
126                 <td><input type="hidden" id="acceptedby" name="acceptedby" value="<!--TMPL_VAR Name="acceptedby"-->"/><!--TMPL_VAR Name="acceptedbyinformation"--></td>
127             </tr>
128             </tbody>
129         </table>
130     </fieldset>
131     <fieldset class="rows"> <legend>Acquisition information</legend><ol>
132         <li><label for="branchcode">Branchcode:</label> 
133             <select name="branchcode" id="branchcode">
134                 <option value="">Any</option><!-- TMPL_LOOP name="branchloop" -->
135                 <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR name="value" -->" selected="selected"><!-- TMPL_VAR name="branchname" --></option><!-- TMPL_ELSE --><option value="<!-- TMPL_VAR name="value" -->"><!-- TMPL_VAR name="branchname" --></option><!-- /TMPL_IF --><!-- /TMPL_LOOP -->
136             </select>
137         </li>
138         <li><label for="budgetid">Budget:</label>
139             <select name="budgetid" id="budgetid">
140                 <option value="">Any</option><!-- TMPL_LOOP name="budgetsloop" -->
141                 <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR name="budget_id" -->" selected="selected"><!-- TMPL_VAR name="budget_name" --></option><!-- TMPL_ELSE --><option value="<!-- TMPL_VAR name="budget_id" -->"><!-- TMPL_VAR name="budget_name" --></option><!-- /TMPL_IF --><!-- /TMPL_LOOP -->
142             </select>
143     </li>
144     </fieldset>
145     <fieldset class="action"><input type="hidden" name="op" value="<!--TMPL_VAR Name="op"-->" /><!--TMPL_IF Name="suggestionid"--><input type="submit" value="Save" /><a class="action" href="suggestion.pl?suggestionid=<!--TMPL_VAR Name="suggestionid"-->">Cancel</a><!--TMPL_ELSE--><input type="submit" value="Submit Your Suggestion" /><a class="action" href="add.pl">Cancel</a><!--/TMPL_IF-->
146     </fieldset>
147     </form>
148 <!-- /TMPL_IF -->
149
150 <!-- TMPL_IF name="op_else" -->
151     <div id="toolbar">
152     <ul class="toolbar">
153     <li> <a id="newsuggestion" href="suggestion.pl?op=add">New purchase suggestion</a></li>
154     </ul></div>
155 <!--Filter block-->
156     <form name="suggestionfilter" action="suggestion.pl" method="get">
157 <a onclick="javascript:if (document.getElementsByName('limits')[0].style.display=='none'){document.getElementsByName('limits')[0].style.display='block';} else {document.getElementsByName('limits')[0].style.display='none';}">Filters</a>
158                 <div style="display:none;" name="limits">
159                 <fieldset><legend> Bibliographic information : </legend>
160                     <label for="title"> Title :</label><input type="text" name="title" value="<!-- TMPL_VAR name="title"-->" />
161                     <label for="author"> Author :</label><input type="text" name="author" value="<!-- TMPL_VAR name="author"-->" />
162                     <label for="isbn"> isbn :</label><input type="text" name="isbn" value="<!-- TMPL_VAR name="isbn"-->" /><br/>
163                     <label for="publishercode"> Publisher :</label><input type="text" name="publishercode" value="<!-- TMPL_VAR name="publishercode"-->" />
164                     <label for="publicationyear"> Publication year :</label><input type="text" name="publicationyear" value="<!-- TMPL_VAR name="publicationyear"-->" />
165                     <label for="collectiontitle"> Collection Title :</label><input type="text" name="collectiontitle" value="<!-- TMPL_VAR name="collectiontitle"-->" />
166                 </fieldset>
167                 <fieldset><legend> Suggestion information: </legend>
168                     <label for="status"> status :</label>
169                     <select name="status"><option value="">Any</option>
170                         <!-- TMPL_LOOP name="status_loop" --><!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR name="code" -->" selected="selected"><!-- TMPL_VAR name="desc" --></option><!-- TMPL_ELSE --><option value="<!-- TMPL_VAR name="code" -->"><!-- TMPL_VAR name="desc" --></option><!-- /TMPL_IF --><!-- /TMPL_LOOP -->
171                     </select>
172                     <br/>
173                     <label for="suggestedby"> suggested By :</label>
174                     <select name="suggestedby"><option value="">Any</option>
175                         <!-- TMPL_LOOP name="suggestedby_loop" --><!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR name="code" -->" selected="selected"><!-- TMPL_VAR name="desc" --></option><!-- TMPL_ELSE --><option value="<!-- TMPL_VAR name="code" -->"><!-- TMPL_VAR name="desc" --></option><!-- /TMPL_IF --><!-- /TMPL_LOOP -->
176                     </select>
177                     <label for="suggesteddate"> suggested on :</label>
178                     <br/>
179                     <label for="managedby"> management user :</label>
180                     <select name="suggestionmanagedby"><option value="">Any</option>
181                         <!-- TMPL_LOOP name="suggestionmanagedby_loop" --><!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR name="code" -->" selected="selected"><!-- TMPL_VAR name="desc" --></option><!-- TMPL_ELSE --><option value="<!-- TMPL_VAR name="code" -->"><!-- TMPL_VAR name="desc" --></option><!-- /TMPL_IF --><!-- /TMPL_LOOP -->
182                     </select>
183                     <label for="managedon"> management date :</label>
184                     <br/>
185                     <label for="acceptedby"> Accepted by :</label>
186                     <select name="suggestionacceptedby"><option value="">Any</option>
187                         <!-- TMPL_LOOP name="suggestionacceptedby_loop" --><!-- TMPL_IF NAME="selected" --> <option value="<!-- TMPL_VAR name="code" -->" selected="selected"><!-- TMPL_VAR name="desc" --></option><!-- TMPL_ELSE --><option value="<!-- TMPL_VAR name="code" -->"><!-- TMPL_VAR name="desc" --></option><!-- /TMPL_IF --><!-- /TMPL_LOOP -->
188                     </select>
189                     <label for="accepteddate"> Accepted on:</label>
190                 </fieldset>
191                 <fieldset ><legend> Acquistion information :</legend>
192                     <label for="bookfundid"> BookFund :</label>
193                     <select name="bookfundid"><option value="">Any</option><!-- TMPL_LOOP name="bookfundsloop" -->
194                         <!-- TMPL_IF NAME="selected" --> <option value="<!-- TMPL_VAR name="bookfundid" -->" selected="selected"><!-- TMPL_VAR name="bookfundname" --></option><!-- TMPL_ELSE --><option value="<!-- TMPL_VAR name="bookfundid" -->"><!-- TMPL_VAR name="bookfundname" --></option><!-- /TMPL_IF -->
195                         <!-- /TMPL_LOOP -->
196                     </select>
197                     <label for="branchcode"> For :</label>
198                     <select name="branchcode" id="branchcode">
199                         <option value="">Any</option><!-- TMPL_LOOP name="branchloop" -->
200                             <!-- TMPL_IF NAME="selected" --> <option value="<!-- TMPL_VAR name="value" -->" selected="selected"><!-- TMPL_VAR name="branchname" --></option><!-- TMPL_ELSE --> <option value="<!-- TMPL_VAR name="value" -->"><!-- TMPL_VAR name="branchname" --></option><!-- /TMPL_IF -->
201                             <!-- /TMPL_LOOP -->
202                     </select>
203                 </fieldset>
204                 </div>
205                 <label for="displayby">Organise By</label>
206                 <select name="displayby" id="displayby">
207                     <option value="">No tabs</option>
208                     <option value="STATUS">status</option>
209                     <option value="branchcode">Library</option>
210                     <option value="itemtype">Item Type</option>
211                     <option value="sort1">Sort1</option>
212                     <option value="managedby">Managed by</option>
213                     <option value="acceptedby">Accepted by</option>
214                 </select><br/>
215                 <input type="submit" value="Search" />
216             </form>
217 <!--TMPL_UNLESS Name="notabs"-->        
218 <div id="sorting" class="overlay">Sorting...</div>
219 <div id="loadingtab" class="overlay">Loading tab...</div>
220 <div id="suggestiontabs" class="toptabs">
221 <ul class="ui-tabs-nav">
222 <!--TMPL_LOOP Name="suggestions"-->
223 <!--TMPL_IF Name="first"--><li class="ui-tabs-selected"><!--TMPL_ELSE--><li><!--/TMPL_IF--><a href="suggestion.pl#<!--TMPL_VAR Name="suggestiontype"-->"><!--TMPL_IF Name="suggestiontypelabel"--><!--TMPL_VAR Name="suggestiontypelabel"--><!--TMPL_ELSE-->No name<!--/TMPL_IF--> (<!--TMPL_VAR Name="suggestionscount"-->)</a></li>
224 <!--/TMPL_LOOP -->
225     </ul>
226     </div>
227 <!--/TMPL_UNLESS -->        
228
229 <!--TMPL_LOOP Name="suggestions"-->
230 <div id="<!--TMPL_VAR Name="suggestiontype"-->">
231 <form name="f<!--TMPL_VAR Name="suggestiontype"-->" method="post" action="/cgi-bin/koha/suggestion/suggestion.pl#<!--TMPL_VAR Name="suggestiontype"-->">
232
233 <!-- TMPL_IF NAME="suggestions_loop" -->
234     <table id="<!--TMPL_VAR Name="suggestiontype"-->t" >
235         <thead>
236             <th><input type="checkbox" id="CheckAll<!--TMPL_VAR Name="suggestiontype"-->" >Check <!--TMPL_IF Name="notabs"-->All <!--TMPL_ELSE-->tab <!--/TMPL_IF--></th>
237             <th>Suggestion</th>
238             <th>Suggested by /on</th>
239             <th>Managed by /on</th>
240             <th>For</th>
241             <th>Budget</th>
242             <th>Status</th>
243     </thead>
244         <tbody>
245             <!-- TMPL_LOOP NAME="suggestions_loop" -->
246             <!-- TMPL_IF name="even" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
247                 <td>
248                     <input type="checkbox" name="edit_field" value="<!--TMPL_VAR name="suggestionid" -->" />
249                 </td>
250                 <td>
251                     <a href="suggestion.pl?suggestionid=<!-- TMPL_VAR NAME="suggestionid" -->&op=edit" title="suggestion" >
252                         <!-- TMPL_VAR NAME="title" --><!-- TMPL_IF NAME="author" -->, by <!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF -->
253                     </a>
254                     <br />
255                     <!-- TMPL_IF name="copyrightdate" -->&copy; <!-- TMPL_VAR name="copyrightdate" --> <!-- /TMPL_IF -->
256                         <!-- TMPL_IF name="volumedesc" -->; Volume:<i><!-- TMPL_VAR name="volumedesc" --></i> <!-- /TMPL_IF -->
257                         <!-- TMPL_IF name="isbn" -->; ISBN :<i><!-- TMPL_VAR name="isbn" --></i> <!-- /TMPL_IF --><!-- TMPL_IF name="publishercode" -->; Published by <!-- TMPL_VAR name="publishercode" --> <!-- /TMPL_IF --><!-- TMPL_IF name="publicationyear" --> in <i><!-- TMPL_VAR name="publicationyear" --></i> <!-- /TMPL_IF --><!-- TMPL_IF name="place" --> in <i><!-- TMPL_VAR name="place" --></i> <!-- /TMPL_IF --><!-- TMPL_IF name="collectiontitle" -->;<!-- TMPL_VAR name="collectiontitle" --> <!-- /TMPL_IF --><!-- TMPL_IF name="itemtype" -->;<!-- TMPL_VAR name="itemtype" --> <!-- /TMPL_IF --><br /><!-- TMPL_IF name="note" --><!-- TMPL VAR NAME="note" --><!-- /TMPL_IF --><!-- TMPL_IF name="sort1" -->;<!-- TMPL_VAR name="sort1" --> <!-- /TMPL_IF -->
258                 </td>
259                 <td>
260                     <!--TMPL_IF Name="emailsuggestedby"--><a href="mailto:<!-- TMPL_VAR name="emailsuggestedby" -->"><!--/TMPL_IF--><!-- TMPL_VAR name="surnamesuggestedby" --><!-- TMPL_IF name="firstnamesuggestedby" -->, <!-- TMPL_VAR name="firstnamesuggestedby" --><!-- /TMPL_IF --> <!--TMPL_IF Name="emailsuggestedby"--></a><!--/TMPL_IF-->
261                     <!--TMPL_IF Name="createdon"--><br/><!-- TMPL_VAR name="createdon" --><!--/TMPL_IF-->
262                 </td>
263                 <td>
264                     <!--TMPL_IF Name="emailmanagedby"--><a href="mailto:<!-- TMPL_VAR name="emailmanagedby" -->"><!--/TMPL_IF--><!-- TMPL_VAR name="surnamemanagedby" --><!-- TMPL_IF name="firstnamemanagedby" -->, <!-- TMPL_VAR name="firstnamemanagedby" --><!-- /TMPL_IF --> <!--TMPL_IF Name="emailmanagedby"--></a><!--/TMPL_IF-->
265                     <!--TMPL_IF Name="managedon"--><br/><!-- TMPL_VAR name="managedon" --><!--/TMPL_IF-->
266                 </td>
267                 <td>
268                     <!-- TMPL_VAR name="branchcode" -->
269                 </td>
270                 <td>
271                     <!-- TMPL_VAR name="aqbudgetid" -->
272                 </td>
273                 <td>
274                     <!-- TMPL_IF name="ASKED" -->Requested<!-- /TMPL_IF --> <!-- TMPL_IF name="ACCEPTED" -->Accepted<!-- /TMPL_IF --> <!-- TMPL_IF name="ORDERED" -->Ordered<!-- /TMPL_IF --> <!-- TMPL_IF name="REJECTED" -->Rejected<!-- /TMPL_IF --> <!-- TMPL_IF name="CHECKED" -->Checked<!-- /TMPL_IF --> <!-- TMPL_IF name="reason" --><br />(<!-- TMPL_VAR name="reason" -->)<!-- /TMPL_IF -->
275                 </td>
276         </tr>
277         <!-- /TMPL_LOOP --></tbody>
278         </table>  <fieldset>
279     <div id="select-reason<!-- TMPL_VAR NAME="suggestiontype" -->">
280     <label for="reason<!-- TMPL_VAR NAME="suggestiontype" -->">Choose a reason for all marked entries:</label>                 <select id="reason<!-- TMPL_VAR NAME="suggestiontype" -->" name="reason<!-- TMPL_VAR NAME="suggestiontype" -->">
281                     <option value=""> -- Choose a reason -- </option>
282                         <!--TMPL_LOOP Name="reasonsloop"-->
283                         <option value="<!--TMPL_VAR Name="lib" -->"><!--TMPL_VAR Name="lib" --></option>
284                         <!--/TMPL_LOOP-->
285                     <option value="other">Others...</option>
286                     </select>  
287     </div>
288         <div id="other_reason<!-- TMPL_VAR NAME="suggestiontype" -->">
289         <label for="other_reason<!-- TMPL_VAR NAME="suggestiontype" -->">Enter a reason for all marked entries:</label>
290             <input type="text" size="31" id="select-other_reason<!-- TMPL_VAR NAME="suggestiontype" -->" name="other_reason<!-- TMPL_VAR NAME="suggestiontype" -->" value="please note your reason here..." /> <a href="#back<!-- TMPL_VAR NAME="suggestiontype" -->">Cancel</a>
291         </div>
292         <div id="status<!-- TMPL_VAR NAME="suggestiontype" -->">
293         <input type="radio" name="STATUS" value="ACCEPTED">Accept
294         <input type="radio" name="STATUS" value="CHECKED">Check
295         <input type="radio" name="STATUS" value="REJECTED">Reject
296         </div>
297         <div id="action<!-- TMPL_VAR NAME="suggestiontype" -->">
298         <input type="checkbox" onclick="javascript:if (this.checked){document.f<!-- TMPL_VAR NAME="suggestiontype" -->.op.value='delete';}else{document.f<!-- TMPL_VAR NAME="suggestiontype" -->.op.value='change'}"/> Delete
299         </div>
300
301     <input type="hidden" name="tabcode" value="<!-- TMPL_VAR NAME="suggestiontype" -->"/>
302     <input type="hidden" name="op" value="change"/>
303 </fieldset>
304         <fieldset class="action">
305     <input type="submit" value="Submit" /></fieldset>
306 </form>
307 <!-- TMPL_ELSE -->
308     <b>No Results.</b>
309 <!-- /TMPL_IF -->
310 </div>
311 <!--/TMPL_LOOP-->
312     </div>
313     </div>
314
315 </div>
316 <!--TMPL_INCLUDE Name="intranet-bottom.inc"-->