(recent acquisitions)
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / catalogue / recentacquisitions.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>
3     Catalogue &rsaquo; Recent Acquisitions <!-- TMPL_IF NAME="show_list" -->&rsaquo; Results<!-- TMPL_ELSE -->&rsaquo; Choose<!-- /TMPL_IF -->
4 </title>
5 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
6 <!-- TMPL_INCLUDE NAME="calendar.inc" -->
7 </head>
8 <body>
9
10 <!-- TMPL_INCLUDE NAME="header.inc" -->
11 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
12
13 <div id="doc3" class="yui-t2">
14    
15    <div id="bd">
16         <div id="yui-main">
17         <div class="yui-b">
18
19 <!-- TMPL_IF NAME="show_list" -->
20   <h1>Recent Acquisitions </h1>
21   <!-- TMPL_LOOP NAME="loopacquisitions" -->
22         <a href="#<!--TMPL_VAR Name="titlecode"-->"><!--TMPL_VAR Name="title"--></a><br />
23   <!-- /TMPL_LOOP -->
24  
25   <!-- TMPL_LOOP NAME="loopacquisitions" -->
26         <h2><a name="<!--TMPL_VAR Name="titlecode"-->"><!--TMPL_VAR Name="title"--></a></h2>
27           <!-- TMPL_LOOP NAME="loopdata" -->
28         <!--TMPL_VAR Name="summary"--><br /> <br/>
29           <!-- /TMPL_LOOP-->
30   <!-- /TMPL_LOOP -->
31 <!-- TMPL_ELSE -->
32         <form method="get" action="">
33         <fieldset class="rows"><legend>Recent Acquisitions </legend>
34                 <p>Between <input type="text" readonly="readonly" size="10" id="datebegin" name="datebegin" value="<!--TMPL_VAR Name="datebegin"-->"/>
35                    <script type="text/javascript">
36                                    //<![CDATA[
37                     Calendar.setup(
38                         {
39                             inputField : "datebegin",
40                             ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
41                             button : "openCalendarDateBegin",
42                         }
43                     );
44                                         //]]>
45                     </script>
46                     and <input readonly="readonly" size="10" id="dateend" name="dateend" value="<!--TMPL_VAR Name="dateend"-->" type="text" />
47                         
48                           <script type="text/javascript">
49                                                   //<![CDATA[ 
50                             Calendar.setup(
51                                 {
52                                     inputField : "dateend",
53                                     ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
54                                     button : "openCalendarDateEnd",
55                                 }
56                             );
57                                                         //]]>
58                 </script></p> 
59                         <p>
60                                 List by: 
61                                 <select name="criteria">
62                                         <option value="itemtype">Item Type</option>
63                             <option value="itemcallnumber">Call Number</option>
64                             <option value="title">Title</option>
65                     </select>
66                 </p>
67
68                         <p>Limit by item type:</p>
69                     <table>
70                         <tr>
71                       <!--TMPL_LOOP Name="itemtypeloop"-->
72                         <td>
73                                 <!-- TMPL_IF name="imageurl"-->
74                                         <img border="0" src="<!--TMPL_VAR Name="imageurl" -->" alt="<!--TMPL_VAR Name="description" -->" />
75                                 <!-- /TMPL_IF -->
76                                     <input type="checkbox" id="mc-<!--TMPL_VAR Name="number" -->" name="itemtypes" value="<!--TMPL_VAR Name="code" -->" />&nbsp;
77                                 <label for="mc-<!--TMPL_VAR Name="number" -->">
78                                         <!--TMPL_VAR Name="description" -->
79                                 </label>
80                         </td>
81                         <!-- TMPL_UNLESS name="count5" --></tr><tr><!-- /TMPL_UNLESS -->
82                       <!--/TMPL_LOOP-->
83                       </tr>
84                     </table>     
85    
86                     <p>Order by: 
87                         <select name="orderby">
88                             <option value=""> </option>
89                             <option value="date_desc">Date desc</option>
90                             <option value="title">Title</option>
91                     </select>
92             </p>
93       
94                    
95                 </fieldset>
96         <fieldset class="action">
97                 <input type="submit" value="Submit" name="OK"/>
98                 <input type="hidden" name="op" value="show_list" />
99         </fieldset>
100         </form>
101 <!-- /TMPL_IF -->
102
103 </div>
104 </div>
105 <div class="yui-b">
106 </div>
107 </div>
108 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->