bug 3976 fix typos in budget owner search
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / admin / aqbudget_owner_search.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Budget Owner Search</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4     <style type="text/css">
5     #custom-doc { width:44.46em;*width:43.39em;min-width:578px; margin:auto; text-align:left; }
6     </style>
7
8 <script type="text/javascript">
9 //<![CDATA[
10
11 // modify parent window owner element
12 function returnOwner(ownerId, ownerName){
13     var top1 = top.opener;
14     top1.document.getElementById('budget_owner_name').innerHTML = ownerName;
15     top1.document.getElementById('budget_owner_id').value = ownerId;
16     window.close();
17 }
18 //]]>
19 </script>
20
21
22 </head>
23 <body>
24 <div id="custom-doc" class="yui-t7">
25    <div id="bd">
26         <div class="yui-g">
27
28
29 <h3>Search for Budget Owner</h3>
30         <form action="/cgi-bin/koha/admin/aqbudget_owner_search.pl" method="post">
31                 <fieldset>
32                 <input type="text" name="member" id="member" value="<!-- TMPL_VAR NAME="member" -->" class="focus" />
33
34
35 <!--
36  Ordered by
37                 <select name="orderby">
38                         <option value="surname,firstname">Surname</option>
39                         <option value="cardnumber">Cardnumber</option>
40                 </select>
41 -->
42
43 <input type="submit" class="button" value="Search" /></fieldset>
44 <div class="hint">Only staff with superlibrarian or acquisitions permissions are returned in the search results</div>
45
46         </form>
47
48
49 <!--TMPL_IF NAME="results" -->
50         <p>Searched for <span class="ex"><!-- TMPL_VAR NAME="member" --></span>, <!-- TMPL_VAR Name ="numresults" --> patron(s) found:</p>
51         <table>
52                 <tr>
53                         <th>Cardnumber</th>
54                         <th>Name</th>
55                         <th>Branch</th>
56                         <th>Categorycode</th>
57             <th>Select?</th>
58                 </tr>
59
60                 <!-- TMPL_LOOP NAME="resultsloop" -->
61             <!-- TMPL_IF NAME="toggle" --><tr><!-- TMPL_ELSE --><tr class="highlight"><!-- /TMPL_IF -->
62                                 <td><!-- TMPL_VAR NAME="cardnumber" --></td>
63                 <td><!-- TMPL_VAR NAME="surname" -->, <!-- TMPL_VAR NAME="firstname" --></td>
64                                 <td><!-- TMPL_VAR NAME="branchcode" --></td>
65                                 <td><!-- TMPL_VAR NAME="categorycode" --></td>
66                 <td>
67                  <input type="button" value="Select" onclick="returnOwner('<!-- TMPL_VAR NAME="budget_owner_id" -->', '<!-- TMPL_VAR NAME="budget_owner_name" -->');"  />
68                 </td>
69                         </tr>
70                 <!-- /TMPL_LOOP -->
71         </table>
72 <!--/TMPL_IF-->
73
74 <div id="closewindow"><a href="#" class="close">Cancel</a></div>
75 </div>
76 </div>
77 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->