[Koha-cvs] koha/koha-tmpl intranet-tmpl/prog/en/reviews/re... [rel_3_0]
Antoine Farnault
antoine at koha-fr.org
Fri Dec 8 15:28:06 CET 2006
CVSROOT: /sources/koha
Module name: koha
Branch: rel_3_0
Changes by: Antoine Farnault <toins> 06/12/08 14:28:06
Modified files:
koha-tmpl/intranet-tmpl/prog/en/reviews: reviewswaiting.tmpl
koha-tmpl/opac-tmpl/prog/en: opac-detail.tmpl
Log message:
Enable to write review only if the user is logged in his account.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/reviews/reviewswaiting.tmpl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.2.2.1&r2=1.2.2.2
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/prog/en/opac-detail.tmpl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.1.2.7&r2=1.1.2.8
Patches:
Index: intranet-tmpl/prog/en/reviews/reviewswaiting.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/prog/en/reviews/reviewswaiting.tmpl,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -u -b -r1.2.2.1 -r1.2.2.2
--- intranet-tmpl/prog/en/reviews/reviewswaiting.tmpl 8 Dec 2006 14:07:39 -0000 1.2.2.1
+++ intranet-tmpl/prog/en/reviews/reviewswaiting.tmpl 8 Dec 2006 14:28:06 -0000 1.2.2.2
@@ -43,7 +43,7 @@
<!-- /TMPL_LOOP -->
</table>
<!-- TMPL_ELSE -->
-<b>No reviews has been writed.</b>
+<b>No reviews has to be approved or deleted.</b>
<!-- /TMPL_IF -->
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
Index: opac-tmpl/prog/en/opac-detail.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/opac-tmpl/prog/en/opac-detail.tmpl,v
retrieving revision 1.1.2.7
retrieving revision 1.1.2.8
diff -u -b -r1.1.2.7 -r1.1.2.8
--- opac-tmpl/prog/en/opac-detail.tmpl 8 Dec 2006 11:24:58 -0000 1.1.2.7
+++ opac-tmpl/prog/en/opac-detail.tmpl 8 Dec 2006 14:28:06 -0000 1.1.2.8
@@ -30,7 +30,6 @@
</div>
<div id="catalogue_detail_biblio">
- <h2>Biblio detail</h2>
<!-- TMPL_IF NAME="AmazonContent" -->
<!-- TMPL_IF NAME="isbn" -->
<a href="http://www.amazon.com/gp/reader/<!-- TMPL_VAR NAME="isbn" -->/ref=sib_dp_pt/002-7879865-0184864#reader-link">
@@ -268,10 +267,13 @@
<!-- TMPL_ELSE -->
<b>No reviews has been writed on this biblio.</b>
<!-- /TMPL_IF -->
+<!-- TMPL_IF NAME="loggedinusername" -->
<a href="javascript:Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber"-->');">
Write or modify your reviews on this biblio.
</a>
-
+<!-- TMPL_ELSE -->
+ <br /><a href="/cgi-bin/koha/opac-user.pl">Log in to your account</a> to write a review here.
+<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="AmazonContent" -->
<!-- Amazon Reviews -->
<div id="itemReviews">
More information about the Koha-cvs
mailing list