2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Report a Problem</title>
4 [% INCLUDE 'doc-head-close.inc' %]
5 [% BLOCK cssinclude %][% END %]
7 [% INCLUDE 'bodytag.inc' bodyid='opac-reportproblem' bodyclass='scrollto' %]
8 [% INCLUDE 'masthead.inc' %]
11 <ul class="breadcrumb">
12 <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li>
13 <li><a href="#">Report a problem</a></li>
16 <div class="container-fluid">
17 <div class="row-fluid">
18 [% IF ( OpacNav || OpacNavBottom ) %]
21 [% INCLUDE 'navigation.inc' %]
28 <h1>Report a problem</h1>
30 [% IF Koha.Preference('OPACReportProblem') %]
32 [% IF ( successfuladd ) %]
33 <div class="alert alert-info">Your problem report has been sent to the [% IF ( recipient == 'admin' ) %]Koha Administrator[% ELSE %][% recipient %][% END %].</div>
35 [% IF ( ( nolibemail and noadminemail ) or norecipients ) %]
36 <div class="alert">Unable to send problem reports.</div>
38 <div id="reportproblem" class="maincontent toptabs">
39 <form name="reportlibform" action="/cgi-bin/koha/opac-reportproblem.pl" method="post">
40 <input type="hidden" name="op" value="addreport">
41 <fieldset class="rows">
44 <label for="recipient">Send problem report to: </label>
45 [% IF !nolibemail and noadminemail %]
46 <option value="library">A librarian</option>
47 [% ELSIF !noadminemail and nolibemail %]
48 <option value="admin">Koha Administrator</option>
50 <select name="recipient" id="recipient">
51 <option value="library">A librarian</option>
52 <option value="admin">Koha Administrator</option>
57 <label for="place">Problem found on page: </label>
58 <input type="hidden" name="place" id="place" value="[% probpage %]">
62 <label for="user">Username: </label>
63 <input type="hidden" name="user" id="user" value="[% username %]" class="span3">
66 <label for="subject">Subject: </label>
67 <input type="text" name="subject" id="subject" value="[% subject %]" class="span3">
70 <label for="message">Message: </label>
71 <textarea name="message" id="message" rows="7" cols="60"></textarea>
75 <fieldset class="action">
76 <input type="submit" value="Submit" class="btn">
82 [% ELSE %] <!-- OPACReportProblem preference -->
83 <div class="alert">Your library has not activated this feature.</div>
86 </div> <!-- / .span10/12 -->
87 </div> <!-- / .row-fluid -->
88 </div> <!-- / .container-fluid -->
89 </div> <!-- / .main -->
91 [% INCLUDE 'opac-bottom.inc' %]
92 [% BLOCK jsinclude %][% END %]