[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/koha-tmpl/opac-tmpl/npl/en opac-readingrec... [dev_week]
From: |
Owen Leonard |
Subject: |
[Koha-cvs] koha/koha-tmpl/opac-tmpl/npl/en opac-readingrec... [dev_week] |
Date: |
Wed, 20 Sep 2006 14:17:29 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: dev_week
Changes by: Owen Leonard <oleonard> 06/09/20 14:17:29
Modified files:
koha-tmpl/opac-tmpl/npl/en: opac-readingrecord.tmpl
Log message:
Reformatting reading history to match other results displays (search
results, virtual shelf lists)
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/npl/en/opac-readingrecord.tmpl?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.3.2.4&r2=1.1.2.3.2.5
Patches:
Index: opac-readingrecord.tmpl
===================================================================
RCS file:
/sources/koha/koha/koha-tmpl/opac-tmpl/npl/en/opac-readingrecord.tmpl,v
retrieving revision 1.1.2.3.2.4
retrieving revision 1.1.2.3.2.5
diff -u -b -r1.1.2.3.2.4 -r1.1.2.3.2.5
--- opac-readingrecord.tmpl 19 Sep 2006 13:13:21 -0000 1.1.2.3.2.4
+++ opac-readingrecord.tmpl 20 Sep 2006 14:17:29 -0000 1.1.2.3.2.5
@@ -4,30 +4,41 @@
<!-- TMPL_INCLUDE name="masthead.inc" -->
<!-- TMPL_INCLUDE name="usermenu.inc" -->
<div id="main_wrapper">
-<div id="main">
+<div id="main" class="searchresults">
<div class="content-block">
-<h3>Reading History of <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR
NAME="surname" --></h3>
+<h3><a href="/cgi-bin/koha/opac-user.pl"><!-- TMPL_VAR NAME="firstname" -->
<!-- TMPL_VAR NAME="surname" -->'s account</a> <img src="<!-- TMPL_VAR
NAME="themelang" -->/images/caret.gif" width="16" height="16" alt=">"
border="0" /> Reading History</h3>
<!-- TMPL_UNLESS NAME="count" -->
You have never borrowed anything from the library.
<!-- TMPL_ELSE -->
-<table>
+<p><form name="myform" id="mainform" method="get"
action="/cgi-bin/koha/opac-readingrecord.pl">
+<select id="order" name="order" onChange="document.myform.submit();">
+ <option value="">Date</option>
+ <option value="title"<!-- TMPL_IF NAME="orderbytitle" -->
selected="selected"<!-- /TMPL_IF -->>Title</option>
+ <option value="author"<!-- TMPL_IF NAME="orderbyauthor" -->
selected="selected"<!-- /TMPL_IF -->>Author</option>
+</select>
+ <input type="submit" value="Re-sort" class="submit" />
+</form>
<!-- TMPL_IF NAME="showfulllink" -->
-<tr><td colspan="4">Showing All Items | <a
href="opac-readingrecord.pl?limit=">Show Last 50 Items Only</a></td></tr><!--
TMPL_ELSE -->
-<tr><td colspan="4">Showing Last 50 Items | <a
href="opac-readingrecord.pl?limit=full">Show All Items</a></td></tr>
-<!-- /TMPL_IF --><tr>
-<tr><th><!-- TMPL_UNLESS NAME="orderbytitle" --><a
href="/cgi-bin/koha/opac-readingrecord.pl?order=title">Title</a><!-- TMPL_ELSE
--> <!-- /TMPL_UNLESS NAME="orderbyauthor"--></th>
-<th><!-- TMPL_UNLESS --><a
href="/cgi-bin/koha/opac-readingrecord.pl?order=author">Author</a><!--
TMPL_ELSE --> <!-- /TMPL_UNLESS --></th>
-<th><!-- TMPL_UNLESS NAME="orderbydate" --><a
href="/cgi-bin/koha/opac-readingrecord.pl">Date</a><!-- TMPL_ELSE -->Date<!--
/TMPL_UNLESS --></th></tr>
-
+Showing All Items | <a href="opac-readingrecord.pl?limit=">Show Last 50 Items
Only</a><!-- TMPL_ELSE -->
+Showing Last 50 Items | <a href="opac-readingrecord.pl?limit=full">Show All
Items</a>
+<!-- /TMPL_IF --></p>
+<table>
<!-- TMPL_LOOP NAME="READING_RECORD" -->
-<!-- TMPL_IF NAME="toggle" --><tr><!-- TMPL_ELSE --><tr class="highlight"><!--
/TMPL_IF -->
-<td><a href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR
NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a></td>
-<td><!-- TMPL_VAR NAME="author" --></td>
-<td><!-- TMPL_IF NAME="returndate" --><!-- TMPL_VAR NAME="returndate" --><!--
TMPL_ELSE --><em>(Checked out)</em><!-- /TMPL_IF --></td>
+<tr>
+<td><!-- TMPL_IF NAME="AmazonContent" --><a class="p1"
href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber"
ESCAPE="URL" -->"><img src="<!-- TMPL_IF NAME="isbn"
-->http://images.amazon.com/images/P/<!-- TMPL_VAR name="isbn"
-->.01.TZZZZZZZ.jpg<!-- TMPL_ELSE
-->http://g-images.amazon.com/images/G/01/x-site/icons/no-img-sm.gif<!--
/TMPL_IF -->" alt="image" class="thumbnail" /></a><!-- TMPL_ELSE --> <!--
/TMPL_IF --></td>
+<td><a class="title" href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR
NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR
NAME="subtitle" --></a> <!-- TMPL_IF NAME="author" -->by <a
href="/search?do=search&q=au:<!-- TMPL_VAR NAME="author" ESCAPE="URL"
-->"><!-- TMPL_VAR NAME="author" --></a><!-- TMPL_ELSE --> <!-- /TMPL_IF
--> <p> <!-- TMPL_IF name="publicationyear" --> - <!-- TMPL_VAR
name="publicationyear" --><!-- /TMPL_IF -->
+ <!-- TMPL_IF
name="publishercode" -->- <!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF
-->
+ <!-- TMPL_IF name="place" --> ;
<!-- TMPL_VAR name="place" --><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="pages" -->
<!-- TMPL_VAR name="pages" --><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="notes" --> :
<!-- TMPL_VAR name="notes" --><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="size" -->
<!-- TMPL_VAR name="size" --><!-- /TMPL_IF -->
+ </p>
+ <p><img src="<!-- TMPL_VAR
NAME="themelang" -->/images/<!-- TMPL_VAR NAME="ccode" -->.gif" alt="<!--
TMPL_VAR NAME="ccode" -->" title="<!-- TMPL_VAR NAME="ccode" -->" /><a
href="/search?do=search&q=callnum:<!-- TMPL_VAR NAME="classification"
ESCAPE="URL" -->"><!-- TMPL_VAR NAME="classification" --></a></p></td>
+<td><strong>Due on</strong> <!-- TMPL_VAR NAME="date_due" --><br /><!--
TMPL_IF NAME="returndate" --><strong>Returned on</strong> <!-- TMPL_VAR
NAME="returndate" --><!-- TMPL_ELSE --><strong>Checked out</strong><!--
/TMPL_IF --></td>
</tr>
<!-- /TMPL_LOOP -->
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] koha/koha-tmpl/opac-tmpl/npl/en opac-readingrec... [dev_week],
Owen Leonard <=