[Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/css/en opac-main.tmpl,1.10,1.11 opac-searchresults.tmpl,1.15,1.16 opac-search.tmpl,1.6,1.7
Paul POULAIN
tipaul at users.sourceforge.net
Thu Sep 16 11:21:09 CEST 2004
Update of /cvsroot/koha/koha/koha-tmpl/opac-tmpl/css/en
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13078/koha-tmpl/opac-tmpl/css/en
Modified Files:
opac-main.tmpl opac-searchresults.tmpl opac-search.tmpl
Log Message:
modifs in new acquisition option : the search is now managed through the standard search API, with an "order by timestamp" order.
opac-new.pl can be removed
Index: opac-main.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/opac-tmpl/css/en/opac-main.tmpl,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** opac-main.tmpl 13 Sep 2004 15:32:42 -0000 1.10
--- opac-main.tmpl 16 Sep 2004 09:21:06 -0000 1.11
***************
*** 32,39 ****
<h2>Recent acquisitions</h2>
! <form action="/cgi-bin/koha/opac-new.pl">
<p>
! <!-- TMPL_VAR name="CGIitemtype" --> acquired in the last <b><input type="text" name="duration" value="30" size="3" /></b> days
! <input type="submit" value="OK" class="button" />
</p>
</form>
--- 32,46 ----
<h2>Recent acquisitions</h2>
! <form action="/cgi-bin/koha/opac-search.pl">
<p>
! <!-- TMPL_VAR name="CGIitemtype" --> acquired recently (the most recent being first)
! <input type="hidden" name="marclist" value="biblioitems.itemtype" />
! <input type="hidden" name="and_or" value="and" />
! <input type="hidden" name="excluding" value="" />
! <input type="hidden" name="operator" value="=" />
! <input type="hidden" name="op" value="do_search" />
! <input type="hidden" name="type" value="opac" />
! <input type="hidden" name="orderby" value="biblio.timestamp desc">
! <input type="submit" value="OK" class="button" />
</p>
</form>
Index: opac-searchresults.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/opac-tmpl/css/en/opac-searchresults.tmpl,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** opac-searchresults.tmpl 6 Sep 2004 10:00:28 -0000 1.15
--- opac-searchresults.tmpl 16 Sep 2004 09:21:06 -0000 1.16
***************
*** 59,62 ****
--- 59,63 ----
<!-- TMPL_IF name="notes" --> : <!-- TMPL_VAR name="notes" --><!-- /TMPL_IF -->
<!-- TMPL_IF name="size" --> ; <!-- TMPL_VAR name="size" --><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="timestamp" --> <i>(modified on <!-- TMPL_VAR name="timestamp" -->)</i><!-- /TMPL_IF -->
</p>
</td>
Index: opac-search.tmpl
===================================================================
RCS file: /cvsroot/koha/koha/koha-tmpl/opac-tmpl/css/en/opac-search.tmpl,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** opac-search.tmpl 2 Sep 2004 16:30:57 -0000 1.6
--- opac-search.tmpl 16 Sep 2004 09:21:06 -0000 1.7
***************
*** 109,112 ****
--- 109,113 ----
<option value="biblioitems.publicationyear">Publication Year</option>
<option value="biblioitems.publishercode">Publisher</option>
+ <option value="biblio.timestamp desc">Acquisition date</option>
</select>
</p>
More information about the Koha-cvs
mailing list