View | Details | Raw Unified | Return to bug 7194
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt (-6 / +10 lines)
Lines 1-4 Link Here
1
[% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha Online[% END %] Catalog › Details for: [% title |html %][% FOREACH subtitl IN subtitle %], [% subtitl.subfield %][% END %]
1
[% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha Online[% END %] Catalog › Details for: [% title |html %][% FOREACH subtitl IN subtitle %], [% subtitl.subfield |html %][% END %]
2
[% INCLUDE 'doc-head-close.inc' %]
2
[% INCLUDE 'doc-head-close.inc' %]
3
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
3
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
4
<script type="text/JavaScript" language="JavaScript">
4
<script type="text/JavaScript" language="JavaScript">
Lines 249-255 YAHOO.util.Event.onContentReady("furtherm", function () { Link Here
249
    [% IF ( OPACXSLTDetailsDisplay ) %]
249
    [% IF ( OPACXSLTDetailsDisplay ) %]
250
        [% XSLTBloc %]
250
        [% XSLTBloc %]
251
    [% ELSE %]
251
    [% ELSE %]
252
    <h1 class="title">[% title |html %][% IF ( subtitle ) %] <span class="subtitle">[% FOREACH subtitl IN subtitle %][% subtitl.subfield %] [% END %]</span>[% END %]</h1>
252
    <h1 class="title">[% title |html %][% IF ( subtitle ) %] <span class="subtitle">[% FOREACH subtitl IN subtitle %][% subtitl.subfield |html %] [% END %]</span>[% END %]</h1>
253
    [% IF ( author ) %]<h5 class="author">by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% author |url %]">[% author |html %]</a></h5>[% END %] 
253
    [% IF ( author ) %]<h5 class="author">by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% author |url %]">[% author |html %]</a></h5>[% END %] 
254
254
255
    <span class="results_summary">[% UNLESS ( item_level_itypes ) %]
255
    <span class="results_summary">[% UNLESS ( item_level_itypes ) %]
Lines 853-873 YAHOO.util.Event.onContentReady("furtherm", function () { Link Here
853
            [% IF ( review.your_comment ) %]
853
            [% IF ( review.your_comment ) %]
854
            <div class="commentline yours" id="c[% review.reviewid %]">
854
            <div class="commentline yours" id="c[% review.reviewid %]">
855
                [% IF ( review.avatarurl ) %]
855
                [% IF ( review.avatarurl ) %]
856
            <img class="avatar" src="[% review.avatarurl %]" height="80" width="80"/>
856
            <img class="avatar" src="[% review.avatarurl %]" height="80" width="80" alt="" />
857
                [% END %]
857
                [% END %]
858
            <h5>
858
            <h5>
859
                Your Comment
859
                Your Comment
860
            </h5>
860
            </h5>
861
            <small>[% review.datereviewed %]</small>
861
            <small>[% review.datereviewed %]</small>
862
        <p>
862
        <p>
863
          [% review.review %]
863
          [% FILTER html_break %]
864
          [% review.review |html %]
865
          [% END %]
864
          <a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% review.biblionumber %]&amp;reviewid=[% review.reviewid %]');">Edit</a>
866
          <a href="#" onclick="Dopop('/cgi-bin/koha/opac-review.pl?biblionumber=[% review.biblionumber %]&amp;reviewid=[% review.reviewid %]');">Edit</a>
865
        </p></div>
867
        </p></div>
866
            [% ELSE %]
868
            [% ELSE %]
867
            <div class="commentline">
869
            <div class="commentline">
868
            [% IF ( ShowReviewer ) %]
870
            [% IF ( ShowReviewer ) %]
869
                [% IF ( review.avatarurl ) %]
871
                [% IF ( review.avatarurl ) %]
870
            <img class="avatar" src="[% review.avatarurl %]" height="80" width="80"/>
872
            <img class="avatar" src="[% review.avatarurl %]" height="80" width="80" alt="" />
871
                [% END %]
873
                [% END %]
872
            <h5>
874
            <h5>
873
                Comment by
875
                Comment by
Lines 878-884 YAHOO.util.Event.onContentReady("furtherm", function () { Link Here
878
            [% END %]
880
            [% END %]
879
            <small>[% review.datereviewed %]</small>
881
            <small>[% review.datereviewed %]</small>
880
        <p>
882
        <p>
881
          [% review.review %]
883
          [% FILTER html_break %]
884
          [% review.review |html %]
885
          [% END %]
882
        </p></div>
886
        </p></div>
883
            [% END %]
887
            [% END %]
884
        [% END %]
888
        [% END %]
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-showreviews.tt (-7 / +5 lines)
Lines 14-20 $(document).ready(function(){ Link Here
14
   <div id="bd">
14
   <div id="bd">
15
[% INCLUDE 'masthead.inc' %]
15
[% INCLUDE 'masthead.inc' %]
16
	<div id="yui-main">
16
	<div id="yui-main">
17
	<div class="yui-b"><div id="usershowreviews" class="container">
17
	<div id="usershowreviews" class="container">
18
    <div id="recentcomments" class="searchresults">
18
    <div id="recentcomments" class="searchresults">
19
<h3>Recent comments</h3>
19
<h3>Recent comments</h3>
20
<table>
20
<table>
Lines 28-34 $(document).ready(function(){ Link Here
28
    [% ELSE %]<a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber |url %]#comments" title="View details for this title">
28
    [% ELSE %]<a class="title" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber |url %]#comments" title="View details for this title">
29
    [% END %]
29
    [% END %]
30
    [% END %]
30
    [% END %]
31
    [% IF ( review.title ) %][% review.title |html %][% ELSE %]No title[% END %] [% FOREACH subtitl IN review.subtitle %] [% subtitl.subfield %][% END %]</a>
31
    [% IF ( review.title ) %][% review.title %][% ELSE %]No title[% END %] [% FOREACH subtitl IN review.subtitle %] [% subtitl.subfield |html %][% END %]</a>
32
    [% IF ( review.author ) %]by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% review.author |url %]" title="Search for works by this author" class="author">[% review.author %]</a></p>
32
    [% IF ( review.author ) %]by <a href="/cgi-bin/koha/opac-search.pl?q=au:[% review.author |url %]" title="Search for works by this author" class="author">[% review.author %]</a></p>
33
    [% END %]
33
    [% END %]
34
    <p>
34
    <p>
Lines 48-63 $(document).ready(function(){ Link Here
48
48
49
            <p class="commentline[% IF ( review.your_comment ) %] yours[% END %]">
49
            <p class="commentline[% IF ( review.your_comment ) %] yours[% END %]">
50
            [% IF ( review.avatarurl ) %]
50
            [% IF ( review.avatarurl ) %]
51
                <img class="avatar" src="[% review.avatarurl %]" height="40" width="40"/>
51
                <img class="avatar" src="[% review.avatarurl %]" height="40" width="40" alt="" />
52
            [% END %]
52
            [% END %]
53
            [% FILTER html_break %]
53
            [% review.review |html %]
54
            [% review.review |html %]
55
            [% END %]
54
            <span style="font-size:87%;font-color:#CCC;">Added [% review.datereviewed %] [% IF ( review.your_comment ) %] by <strong>you</strong>[% ELSE %]
56
            <span style="font-size:87%;font-color:#CCC;">Added [% review.datereviewed %] [% IF ( review.your_comment ) %] by <strong>you</strong>[% ELSE %]
55
            [% IF ( ShowReviewer ) %] by
57
            [% IF ( ShowReviewer ) %] by
56
            [% review.firstname %] [% review.surname %][% END %][% END %]</span></p>
58
            [% review.firstname %] [% review.surname %][% END %][% END %]</span></p>
57
        </td>
59
        </td>
58
        <td>
60
        <td>
59
            <a class="p1" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% review.biblionumber %]">
60
61
[% IF ( review.BiblioDefaultViewmarc ) %]<a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title">
61
[% IF ( review.BiblioDefaultViewmarc ) %]<a class="title" href="/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title">
62
    [% ELSE %]
62
    [% ELSE %]
63
    [% IF ( review.BiblioDefaultViewisbd ) %]<a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title">
63
    [% IF ( review.BiblioDefaultViewisbd ) %]<a class="title" href="/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=[% review.biblionumber |url %]" title="View details for this title">
Lines 93-99 $(document).ready(function(){ Link Here
93
</div>
93
</div>
94
</div>
94
</div>
95
</div>
95
</div>
96
</div>
97
[% IF ( OpacNav ) %]
96
[% IF ( OpacNav ) %]
98
<div class="yui-b"><div id="leftmenus" class="container">
97
<div class="yui-b"><div id="leftmenus" class="container">
99
[% INCLUDE 'navigation.inc' %]
98
[% INCLUDE 'navigation.inc' %]
100
- 

Return to bug 7194