1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Comments on [% title |html %]</title>
4 #custom-doc { width:37.08em;*width:36.16em;min-width:485px; margin:1em auto; text-align:left; }
6 [% INCLUDE 'doc-head-close.inc' %]
7 [% BLOCK cssinclude %][% END %]
9 [% INCLUDE 'bodytag.inc' bodyid='comment' bodyclass='popup' %]
11 <div class="container-fluid">
12 <div class="row-fluid">
15 [% IF ( cgi_debug ) %]
16 <div class="debug">CGI debug is on.</div>
20 [% FOREACH ERROR IN ERRORS %]
21 [% IF ( ERROR.nobiblio ) %]
22 <p>Error: we cannot find this bibliographic record.</p>
24 [% IF ( ERROR.unauthorized ) %]
25 <p>Sorry, only the creator of this comment is allowed to change it.</p>
27 [% IF ( ERROR.scrubbed ) %]
28 <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>
31 [% IF ( ERROR.scrubbed_all ) %]
32 <p>Error! Your comment was entirely illegal markup code. It has NOT been added.</p>
35 [% IF ( ERROR.empty ) %]
36 <p>Error! You cannot add an empty comment. Please add content or cancel.</p>
38 [% END # / FOREACH ERROR %]
39 [% IF ( WINDOW_CLOSE ) %]
40 Note: this window will close automatically in 5 seconds.
45 <h1>Comments on <i>[% title |html %] [% subtitle %]</i></h1>
46 [% IF ( author ) %]<h3>[% author |html %]</h3>[% END %]
47 <form id="reviewf" action="/cgi-bin/koha/opac-review.pl[% IF ( cgi_debug ) %]?debug=1[% END %]" method="post">
48 <input type="hidden" name="biblionumber" value="[% biblionumber | html%]" />
49 [% IF ( reviewid ) %]<input type="hidden" name="reviewid" value="[% reviewid | html%]" />[% END %]
51 <textarea id="review" name="review" cols="60" rows="8">[% review %]</textarea>
53 <p>Note: Your comment must be approved by a librarian. </p>
54 <fieldset class="action">
55 <input type="submit" class="btn" value="Submit and close this window" />
56 <a class="cancel close" href="#">Cancel</a>
59 </div> <!-- / #usersendshelfform -->
60 </div> <!-- / .span12 -->
61 </div> <!-- / .row-fluid -->
62 </div> <!-- / .container-fluid -->
63 </div> <!-- / .main -->
65 [% INCLUDE 'opac-bottom.inc' is_popup=1 %]
67 <script type="text/javascript">
69 $(document).ready(function() {
71 opener.location.reload();