Editing C4::Suggestions.pm
[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><select name="itemtype" >
89       <!--TMPL_LOOP Name="itemtypeloop"--><!--TMPL_IF Name="selected"--><option selected="selected" value="<!--TMPL_VAR Name="code" -->"><!--TMPL_ELSE--><option value="<!--TMPL_VAR Name="code" -->"><!--/TMPL_IF--><!-- TMPL_IF name="imageurl"--><img border="0" src="<!--TMPL_VAR Name="imageurl" -->" alt="<!--TMPL_VAR Name="description" -->" /><!-- /TMPL_IF --><!--TMPL_VAR Name="description" --></option>
90       <!--/TMPL_LOOP-->
91         </select></li>
92     <li><label for="note">Notes:</label><textarea name="note" id="note" rows="5" cols="40" value="<!--TMPL_VAR Name="note"-->"></textarea></li>       
93     <li><label for="sort1">Sort1:</label><textarea name="sort1" id="sort1" rows="5" cols="40" value="<!--TMPL_VAR Name="sort1"-->"></textarea></li>       
94     </ol></fieldset>
95    <fieldset class="rows"> <legend>Suggestion management</legend><ol>
96     <!--TMPL_IF Name="suggestionid"--><li><label for="status"> status :</label><select name="status"><option value="">No Status</option>
97 <!-- 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 --></select><!--/TMPL_IF-->
98         <table>
99         <thead><th>&nbsp;</th><th>date</th><th>by</th></thead>
100         <tbody>
101     <tr><td>Suggestion creation </td><td><input type="text" id="createdon" name="createdon" size="10" maxlentgh="10" value="<!--TMPL_VAR Name="createdon"-->"/></td>
102     <td><input type="hidden" id="suggestedby" name="suggestedby" value="<!--TMPL_VAR Name="suggestedby"-->"/><!-- TMPL_IF NAME="guarantorid" --><input id="guarantorsearch" type="button" value="Change" onclick="Dopopguarantor('guarantor_search.pl');" /><!-- TMPL_ELSE --><input id="guarantorsearch" type="button" value="Set to Patron" onclick="Dopopguarantor('guarantor_search.pl');" /><!-- /TMPL_IF -->
103             <input id="guarantordelete" type="button" value="Delete" /><!--TMPL_VAR Name="suggestedbyinformation"-->
104         </td>
105         </tr>
106     <tr><td>Suggestion management </td><td><input type="text" id="managedon" name="managedon" size="10" maxlength="10" value="<!--TMPL_VAR Name="managedon"-->" /></td>
107     <td><input type="hidden" id="managedby" name="managedby" value="<!--TMPL_VAR Name="managedby"-->"/><!--TMPL_VAR Name="managedbyinformation"--></td></tr>
108     <tr><td>Suggestion Accepted </td><td><input type="text" id="acceptedon" name="acceptedon" size="10" maxlength="10" value="<!--TMPL_VAR Name="acceptedon"-->" /></td>
109     <td><input type="hidden" id="acceptedby" name="acceptedby" value="<!--TMPL_VAR Name="acceptedby"-->"/><!--TMPL_VAR Name="acceptedbyinformation"--></td></tr>
110         </tbody>
111         </table>
112    </fieldset>   
113    <fieldset class="rows"> <legend>Acquisition information</legend><ol>
114     <li><label for="branchcode">Branchcode:</label> 
115         <select name="branchcode" id="branchcode">
116             <option value="">Any</option><!-- TMPL_LOOP name="branchloop" -->
117             <!-- 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 -->
118         </select>
119     </li>
120     <li><label for="budgetid">Budget:</label>
121         <select name="budgetid" id="budgetid">
122             <option value="">Any</option><!-- TMPL_LOOP name="budgetsloop" -->
123             <!-- 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 -->
124         </select>
125    </li>
126    </fieldset>   
127         <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-->
128         </fieldset>
129     </form>
130 <!-- /TMPL_IF -->
131
132 <!-- TMPL_IF name="op_else" -->
133           <div id="toolbar">
134       <ul class="toolbar">
135        <li> <a id="newsuggestion" href="suggestion.pl?op=add">New purchase suggestion</a></li>
136     </ul></div>
137 <!--Filter block-->
138     <form name="suggestionfilter" action="suggestion.pl" method="get">
139 <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>
140                                 <div style="display:none;" name="limits">
141                                 <fieldset><legend> Bibliographic information : </legend>
142                     <label for="title"> Title :</label><input type="text" name="title" value="<!-- TMPL_VAR name="title"-->" />
143                     <label for="author"> Author :</label><input type="text" name="author" value="<!-- TMPL_VAR name="author"-->" />
144                     <label for="isbn"> isbn :</label><input type="text" name="isbn" value="<!-- TMPL_VAR name="isbn"-->" /><br/>
145                     <label for="publishercode"> Publisher :</label><input type="text" name="publishercode" value="<!-- TMPL_VAR name="publishercode"-->" />
146                     <label for="publicationyear"> Publication year :</label><input type="text" name="publicationyear" value="<!-- TMPL_VAR name="publicationyear"-->" />
147                     <label for="collectiontitle"> Collection Title :</label><input type="text" name="collectiontitle" value="<!-- TMPL_VAR name="collectiontitle"-->" />
148                 </fieldset>
149                 <fieldset><legend> Suggestion information: </legend>
150                     <label for="status"> status :</label><select name="status"><option value="">Any</option>
151 <!-- 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 -->
152                                                           </select><br/>
153                     <label for="suggestedby"> suggested By :</label><select name="suggestedby"><option value="">Any</option>
154 <!-- 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 -->
155                                                                      </select>
156                     <label for="suggestedon"> suggested on :</label><br/>
157                     <label for="managedby"> management user :</label><select name="suggestionmanagedby"><option value="">Any</option>
158 <!-- 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 -->
159                                                                      </select>
160                     <label for="managedon"> management date :</label><br/>
161                     <label for="acceptedby"> Accepted by :</label><select name="suggestionacceptedby"><option value="">Any</option>
162 <!-- 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 -->
163                                                       </select>
164                     <label for="acceptedon"> Accepted on:</label>
165                 </fieldset>
166                 <fieldset ><legend> Acquistion information :</legend>
167                     <label for="bookfundid"> BookFund :</label><select name="bookfundid"><option value="">Any</option><!-- TMPL_LOOP name="bookfundsloop" -->
168         <!-- 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 -->
169       <!-- /TMPL_LOOP --></select>
170                     <label for="branchcode"> For :</label><select name="branchcode" id="branchcode">
171         <option value="">Any</option><!-- TMPL_LOOP name="branchloop" -->
172                 <!-- 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 -->
173       <!-- /TMPL_LOOP --></select>
174                 </fieldset>
175                                 </div>
176                 <label for="displayby">Organise By</label>
177                 <select name="displayby" id="displayby">
178         <option value="">No tabs</option>
179         <option value="STATUS">status</option>
180         <option value="branchcode">Library</option>
181         <option value="itemtype">Item Type</option>
182         <option value="sort1">Sort1</option>
183         <option value="managedby">Managed by</option>
184         <option value="acceptedby">Accepted by</option>
185                                         </select><br/>
186                     <input type="submit" value="Search" />
187             </form>
188 <!--TMPL_UNLESS Name="notabs"-->        
189   <div id="sorting" class="overlay">Sorting...</div>
190   <div id="loadingtab" class="overlay">Loading tab...</div>
191   <div id="suggestiontabs" class="toptabs">
192   <ul class="ui-tabs-nav">
193 <!--TMPL_LOOP Name="suggestions"-->
194 <!--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>
195 <!--/TMPL_LOOP -->
196     </ul>
197         </div>
198 <!--/TMPL_UNLESS -->        
199   
200  <!--TMPL_LOOP Name="suggestions"-->
201   <div id="<!--TMPL_VAR Name="suggestiontype"-->">
202 <form name="f<!--TMPL_VAR Name="suggestiontype"-->" method="post" action="/cgi-bin/koha/suggestion/suggestion.pl#<!--TMPL_VAR Name="suggestiontype"-->">
203
204 <!-- TMPL_IF NAME="suggestions_loop" -->
205     <table id="<!--TMPL_VAR Name="suggestiontype"-->t" >
206         <thead>
207             <th><input type="checkbox" id="CheckAll<!--TMPL_VAR Name="suggestiontype"-->" >Check <!--TMPL_IF Name="notabs"-->All <!--TMPL_ELSE-->tab <!--/TMPL_IF--></th>
208             <th>Suggestion</th>
209             <th>Suggested by /on</th>
210             <th>Managed by /on</th>
211             <th>For</th>
212             <th>Budget</th>
213             <th>Status</th>
214     </thead>
215         <tbody><!-- TMPL_LOOP NAME="suggestions_loop" -->
216             <!-- TMPL_IF name="even" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
217                 <td>
218                     <input type="checkbox" name="edit_field" value="<!--TMPL_VAR name="suggestionid" -->" />
219                 </td>
220                 <td><a href="suggestion.pl?suggestionid=<!-- TMPL_VAR NAME="suggestionid" -->&op=edit" title="suggestion" >
221     <!-- TMPL_VAR NAME="title" --><!-- TMPL_IF NAME="author" -->, by <!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF --></a><br />
222                     <!-- TMPL_IF name="copyrightdate" -->&copy; <!-- TMPL_VAR name="copyrightdate" --> <!-- /TMPL_IF -->
223                         <!-- TMPL_IF name="volumedesc" -->; Volume:<i><!-- TMPL_VAR name="volumedesc" --></i> <!-- /TMPL_IF -->
224                         <!-- 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 -->
225                 </td>
226                 <td>
227                     <!--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-->
228                     <!--TMPL_IF Name="createdon"--><br/><!-- TMPL_VAR name="createdon" --><!--/TMPL_IF-->
229                 </td>
230                 <td>
231                     <!--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-->
232                     <!--TMPL_IF Name="managedon"--><br/><!-- TMPL_VAR name="managedon" --><!--/TMPL_IF-->
233                 </td>
234                 <td>
235                     <!-- TMPL_VAR name="branchcode" -->
236                 </td>
237                 <td>
238                     <!-- TMPL_VAR name="aqbudgetid" -->
239                 </td>
240                 <td>
241                     <!-- 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 -->
242                 </td>
243          </tr>
244         <!-- /TMPL_LOOP --></tbody>
245         </table>  <fieldset>
246           <div id="select-reason<!-- TMPL_VAR NAME="suggestiontype" -->">
247      <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" -->">
248                       <option value=""> -- Choose a reason -- </option>
249                         <!--TMPL_LOOP Name="reasonsloop"-->
250                         <option value="<!--TMPL_VAR Name="lib" -->"><!--TMPL_VAR Name="lib" --></option>
251                         <!--/TMPL_LOOP-->
252                       <option value="other">Others...</option>
253                       </select>  
254       </div>
255         <div id="other_reason<!-- TMPL_VAR NAME="suggestiontype" -->">
256                 <label for="other_reason<!-- TMPL_VAR NAME="suggestiontype" -->">Enter a reason for all marked entries:</label>
257                         <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>
258                 </div>
259                 <div id="status<!-- TMPL_VAR NAME="suggestiontype" -->">
260                 <input type="radio" name="STATUS" value="ACCEPTED">Accept
261                 <input type="radio" name="STATUS" value="CHECKED">Check
262                 <input type="radio" name="STATUS" value="REJECTED">Reject
263                 </div>
264                 <div id="action<!-- TMPL_VAR NAME="suggestiontype" -->">
265                 <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
266                 </div>
267
268         <input type="hidden" name="tabcode" value="<!-- TMPL_VAR NAME="suggestiontype" -->"/>
269         <input type="hidden" name="op" value="change"/>
270   </fieldset>
271         <fieldset class="action">
272         <input type="submit" value="Submit" /></fieldset>
273 </form>
274 <!-- TMPL_ELSE -->
275     <b>No Results.</b>
276 <!-- /TMPL_IF -->
277 </div>
278 <!--/TMPL_LOOP-->
279         </div>
280         </div>
281
282 </div>
283 <!--TMPL_INCLUDE Name="intranet-bottom.inc"-->