1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog › Comments on [% INCLUDE 'biblio-title-head.inc' %]</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 [% BLOCK cssinclude %][% END %]
6 [% INCLUDE 'bodytag.inc' bodyid='comment' bodyclass='popup' %]
8 <div class="container-fluid">
9 <div class="row-fluid">
12 [% IF ( cgi_debug ) %]
13 <div class="debug">CGI debug is on.</div>
17 [% FOREACH ERROR IN ERRORS %]
18 [% IF ( ERROR.nobiblio ) %]
19 <p>Error: we cannot find this bibliographic record.</p>
21 [% IF ( ERROR.unauthorized ) %]
22 <p>Sorry, only the creator of this comment is allowed to change it.</p>
24 [% IF ( ERROR.scrubbed ) %]
25 <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>
28 [% IF ( ERROR.scrubbed_all ) %]
29 <p>Error! Your comment was entirely illegal markup code. It has NOT been added.</p>
32 [% IF ( ERROR.empty ) %]
33 <p>Error! You cannot add an empty comment. Please add content or cancel.</p>
35 [% END # / FOREACH ERROR %]
36 [% IF ( WINDOW_CLOSE ) %]
37 Note: this window will close automatically in 5 seconds.
42 <h1>Comments on <i>[% INCLUDE 'biblio-title.inc' %]</i></h1>
43 [% IF ( biblio.author ) %]<h3>[% biblio.author | html %]</h3>[% END %]
44 <form id="reviewf" action="/cgi-bin/koha/opac-review.pl[% IF ( cgi_debug ) %]?debug=1[% END %]" method="post">
45 <input type="hidden" name="biblionumber" value="[% biblio.biblionumber | html %]" />
46 [% IF ( reviewid ) %]<input type="hidden" name="reviewid" value="[% reviewid | html %]" />[% END %]
48 <textarea id="review" name="review" cols="60" rows="8">[% review | html %]</textarea>
50 <p>Note: Your comment must be approved by a librarian. </p>
51 <fieldset class="action">
52 <input type="submit" class="btn" value="Submit and close this window" />
53 <a class="cancel close" href="#">Cancel</a>
56 </div> <!-- / #usersendshelfform -->
57 </div> <!-- / .span12 -->
58 </div> <!-- / .row-fluid -->
59 </div> <!-- / .container-fluid -->
60 </div> <!-- / .main -->
62 [% INCLUDE 'opac-bottom.inc' is_popup=1 %]
66 $(document).ready(function() {
68 opener.location.reload();