1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Comments on [% INCLUDE 'biblio-title-head.inc' %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 [% BLOCK cssinclude %][% END %]
6 [% INCLUDE 'bodytag.inc' bodyid='comment' bodyclass='popup' %]
8 <div class="container-fluid">
10 <div class="col order-first order-md-first order-lg-2">
11 <div id="userreview" class="maincontent">
13 [% IF ( cgi_debug ) %]
14 <div class="debug">CGI debug is on.</div>
17 <div class="alert alert-warning">
18 [% FOREACH ERROR IN ERRORS %]
19 [% IF ( ERROR.nobiblio ) %]
20 <p>Error: we cannot find this bibliographic record.</p>
22 [% IF ( ERROR.unauthorized ) %]
23 <p>Sorry, only the creator of this comment is allowed to change it.</p>
25 [% IF ( ERROR.scrubbed ) %]
26 <p>Note: your comment contained illegal markup code. It has been saved with the markup removed, as below. You can edit the comment further, or cancel to retain the comment as is.</p>
29 [% IF ( ERROR.scrubbed_all ) %]
30 <p>Error! Your comment was entirely illegal markup code. It has NOT been added.</p>
33 [% IF ( ERROR.empty ) %]
34 <p>Error! You cannot add an empty comment. Please add content or cancel.</p>
36 [% END # / FOREACH ERROR %]
37 [% IF ( WINDOW_CLOSE ) %]
38 Note: this window will close automatically in 5 seconds.
43 <h2>Comments on <em>[% INCLUDE 'biblio-title.inc' %]</em></h2>
44 [% IF ( biblio.author ) %]<h3>[% biblio.author | html %]</h3>[% END %]
45 <form id="reviewf" action="/cgi-bin/koha/opac-review.pl[% IF ( cgi_debug ) %]?debug=1[% END %]" method="post">
46 <input type="hidden" name="biblionumber" value="[% biblio.biblionumber | html %]" />
47 [% IF ( reviewid ) %]<input type="hidden" name="reviewid" value="[% reviewid | html %]" />[% END %]
49 <textarea id="review" name="review" cols="60" rows="8">[% review | html %]</textarea>
51 <p>Note: Your comment must be approved by a librarian. </p>
52 <fieldset class="action">
53 <input type="submit" class="btn btn-primary" value="Submit and close this window" />
54 <a class="cancel close" href="#">Cancel</a>
57 </div> <!-- / #usersendshelfform -->
58 </div> <!-- / .span12 -->
59 </div> <!-- / .row -->
60 </div> <!-- / .container-fluid -->
61 </div> <!-- / .main -->
63 [% INCLUDE 'opac-bottom.inc' is_popup=1 %]
67 $(document).ready(function() {
69 opener.location.reload();