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