Bug 22672: Change <i> to <em> and <b> to <strong> in templates, includes, xslt
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / opac-review.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog &rsaquo; Comments on [% INCLUDE 'biblio-title-head.inc' %]</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 [% BLOCK cssinclude %][% END %]
5 </head>
6 [% INCLUDE 'bodytag.inc' bodyid='comment' bodyclass='popup' %]
7     <div class="main">
8         <div class="container-fluid">
9             <div class="row-fluid">
10                 <div class="span12">
11                     <div id="userreview" class="maincontent">
12                         [% IF ( cgi_debug ) %]
13                             <div class="debug">CGI debug is on.</div>
14                         [% END %]
15                         [% IF ( ERRORS ) %]
16                             <div class="alert">
17                                 [% FOREACH ERROR IN ERRORS %]
18                                     [% IF ( ERROR.nobiblio ) %]
19                                         <p>Error: we cannot find this bibliographic record.</p>
20                                     [% END %]
21                                     [% IF ( ERROR.unauthorized ) %]
22                                         <p>Sorry, only the creator of this comment is allowed to change it.</p>
23                                     [% END %]
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>
26                                     [% END %]
27
28                                     [% IF ( ERROR.scrubbed_all ) %]
29                                         <p>Error!  Your comment was entirely illegal markup code.  It has NOT been added.</p>
30                                     [% END %]
31
32                                     [% IF ( ERROR.empty ) %]
33                                         <p>Error!  You cannot add an empty comment.  Please add content or cancel.</p>
34                                     [% END %]
35                                 [% END # / FOREACH ERROR %]
36                                 [% IF ( WINDOW_CLOSE ) %]
37                                     Note: this window will close automatically in 5 seconds.
38                                 [% END %]
39                             </div>
40                         [% END # / ERRORs %]
41
42                         <h1>Comments on <em>[% INCLUDE 'biblio-title.inc' %]</em></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 %]
47                             <fieldset>
48                                 <textarea id="review" name="review" cols="60" rows="8">[% review | html %]</textarea>
49                             </fieldset>
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>
54                             </fieldset>
55                         </form>
56                     </div> <!-- / #usersendshelfform -->
57                 </div> <!-- / .span12 -->
58             </div> <!-- / .row-fluid -->
59         </div> <!-- / .container-fluid -->
60     </div> <!-- / .main -->
61
62 [% INCLUDE 'opac-bottom.inc' is_popup=1 %]
63 [% BLOCK jsinclude %]
64 <script>
65     //<![CDATA[
66          $(document).ready(function() {
67             [% IF WINDOW_CLOSE %]
68                 opener.location.reload();
69                 window.close();
70             [% END %]
71         });
72     //]]>
73 </script>
74 [% END %]