[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/css/en opac-searchresults.tmpl,
From: |
Paul POULAIN |
Subject: |
[Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/css/en opac-searchresults.tmpl,1.26,1.27 |
Date: |
Fri, 02 Sep 2005 07:18:40 -0700 |
Update of /cvsroot/koha/koha/koha-tmpl/opac-tmpl/css/en
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26960/koha-tmpl/opac-tmpl/css/en
Modified Files:
opac-searchresults.tmpl
Log Message:
new feature : image for itemtypes.
* run updater/updatedatabase to create imageurl field in itemtypes.
* go to Koha >> parameters >> itemtypes >> modify (or add) an itemtype. You
will see around 20 nice images to choose between (thanks to owen). If you
prefer your own image, you also can type a complete url
(http://www.myserver.lib/path/to/my/image.gif)
* go to OPAC, and search something. In the result list, you now have the
picture instead of the text itemtype.
Index: opac-searchresults.tmpl
===================================================================
RCS file:
/cvsroot/koha/koha/koha-tmpl/opac-tmpl/css/en/opac-searchresults.tmpl,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -r1.26 -r1.27
*** opac-searchresults.tmpl 25 Jun 2005 07:26:49 -0000 1.26
--- opac-searchresults.tmpl 2 Sep 2005 14:18:38 -0000 1.27
***************
*** 80,84 ****
</td>
<td align="center" <!-- TMPL_IF name="even" -->
class="hilighted"<!-- /TMPL_IF -->>
! <!-- TMPL_VAR name="description" -->
</td>
<td align="center" <!-- TMPL_IF name="even" -->
class="hilighted"<!-- /TMPL_IF -->>
--- 80,88 ----
</td>
<td align="center" <!-- TMPL_IF name="even" -->
class="hilighted"<!-- /TMPL_IF -->>
! <!-- TMPL_IF name="imageurl" -->
! <img src="/opac-tmpl/<!--
TMPL_VAR name="theme" -->/itemtypeimg/<!-- TMPL_VAR name="imageurl" -->"
title="<!-- TMPL_VAR name="description" -->"
! <!-- TMPL_ELSE -->
! <!-- TMPL_VAR
name="description" -->
! <!-- /TMPL_IF -->
</td>
<td align="center" <!-- TMPL_IF name="even" -->
class="hilighted"<!-- /TMPL_IF -->>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/koha-tmpl/opac-tmpl/css/en opac-searchresults.tmpl,1.26,1.27,
Paul POULAIN <=