4 [% USE AuthorisedValues %]
8 [% INCLUDE 'doc-head-open.inc' %]
10 Koha › Tools ›
17 [% INCLUDE 'doc-head-close.inc' %]
19 fieldset.rows label.viewlog {
27 <body id="tools_viewlog" class="tools">
28 [% INCLUDE 'header.inc' %]
29 [% INCLUDE 'cat-search.inc' %]
31 [% BLOCK translate_log_module %]
33 [% CASE 'CATALOGUING' %]Catalog
34 [% CASE 'AUTHORITIES' %]Authorities
35 [% CASE 'MEMBERS' %]Patrons
36 [% CASE 'ACQUISITIONS' %]Acquisitions
37 [% CASE 'SERIAL' %]Serials
38 [% CASE 'HOLDS' %]Holds
39 [% CASE 'ILL' %]Interlibrary loans
40 [% CASE 'CIRCULATION' %]Circulation
41 [% CASE 'LETTER' %]Letter
42 [% CASE 'FINES' %]Fines
43 [% CASE 'SYSTEMPREFERENCE' %]System prefs
44 [% CASE 'CRONJOBS' %]Cron jobs
45 [% CASE 'REPORTS' %]Reports
46 [% CASE %][% module | html %]
50 [% BLOCK translate_log_action %]
53 [% CASE 'DELETE' %]Delete
54 [% CASE 'MODIFY' %]Modify
55 [% CASE 'ISSUE' %]Checkout
56 [% CASE 'RETURN' %]Return
57 [% CASE 'CREATE' %]Create
58 [% CASE 'CANCEL' %]Cancel
59 [% CASE 'RESUME' %]Resume
60 [% CASE 'SUSPEND' %]Suspend
61 [% CASE 'RENEW' %]Renew
62 [% CASE 'RENEWAL' %]Renew
63 [% CASE 'CHANGE PASS' %]Change password
64 [% CASE 'ADDCIRCMESSAGE' %]Add circulation message
65 [% CASE 'DELCIRCMESSAGE' %]Delete circulation message
66 [% CASE 'STATUS_CHANGE' %]Change ILL request status
68 [% CASE %][% action | html %]
72 [% BLOCK translate_log_interface %]
73 [% SWITCH log_interface %]
74 [% CASE 'INTRANET' %]Intranet
77 [% CASE 'COMMANDLINE' %]Command-line
78 [% CASE %][% log_interface | html %]
82 <div id="breadcrumbs">
83 <a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> ›
85 <a href="/cgi-bin/koha/tools/viewlog.pl">Logs</a> › Results
91 <div class="main container-fluid">
93 <div class="col-sm-10 col-sm-push-2">
96 <h1>Browse system logs</h1>
97 <form method="post" action="/cgi-bin/koha/tools/viewlog.pl">
99 <input type="hidden" name="do_it" value="[% do_it | html %]" />
101 <input type="hidden" name="src" value="[% src | html %]" />
102 <fieldset class="rows">
105 <label for="user">Librarian:</label>
106 <input type="text" name="user" id="user" value="[% user | html %]" />
108 [% UNLESS src == "circ" %]
110 <label for="modules">Modules:</label>
112 <label for="moduleALL" class="viewlog">All <input type="checkbox" id="moduleALL" name="modules" value="" checked="checked"></label>
114 <label for="moduleALL" class="viewlog">All <input type="checkbox" id="moduleALL" name="modules" value=""></label>
116 [% FOREACH modx IN [ 'CATALOGUING' 'AUTHORITIES' 'MEMBERS' 'ACQUISITIONS' 'SERIAL' 'HOLDS' 'ILL' 'CIRCULATION' 'LETTER' 'FINES' 'SYSTEMPREFERENCE' 'CRONJOBS', 'REPORTS' ] %]
117 [% IF modules.grep(modx).size %]
118 <label for="module[% modx | html %]" class="viewlog">[% PROCESS translate_log_module module=modx %] <input type="checkbox" id="module[% modx | html %]" name="modules" value="[% modx | html %]" checked="checked"></label>
120 <label for="module[% modx | html %]" class="viewlog">[% PROCESS translate_log_module module=modx %] <input type="checkbox" id="module[% modx | html %]" name="modules" value="[% modx | html %]"></label>
125 <input type="hidden" name="modules" value="MEMBERS" />
128 <label for="actions">Actions:</label>
130 <label for="actionALL" class="viewlog">All <input type="checkbox" id="actionALL" name="actions" value="" checked="checked"></label>
132 <label for="actionALL" class="viewlog">All <input type="checkbox" id="actionALL" name="actions" value=""></label>
135 [% FOREACH actx IN [ 'ADD' 'DELETE' 'MODIFY' 'ISSUE' 'RETURN' 'RENEW' 'CREATE' 'CANCEL' 'SUSPEND' 'RESUME' 'ADDCIRCMESSAGE' 'DELCIRCMESSAGE' 'STATUS_CHANGE' 'CHANGE PASS' 'Run' ] %]
136 [% IF actions.grep(actx).size %]
137 <label for="action[% actx | html %]" class="viewlog">[% PROCESS translate_log_action action=actx %] <input type="checkbox" id="action[% actx | html %]" name="actions" value="[% actx | html %]" checked="checked"></label>
139 <label for="action[% actx | html %]" class="viewlog">[% PROCESS translate_log_action action=actx %] <input type="checkbox" id="action[% actx | html %]" name="actions" value="[% actx | html %]"></label>
144 [% IF src == 'circ' %]
145 <label for="object">Borrowernumber: </label>
146 <input type="text" id="object" name="object" value="[% object | html %]" readonly="readonly" title="This field cannot be modified from the circulation module." />
148 <label for="object">Object: </label>
149 <input type="text" id="object" name="object" value="[% object | html %]" />
153 <label for="info">Info:</label>
154 <input type="text" id="info" name="info" value="[% info | html %]" />
157 <label for="interfaces">Interface:</label>
158 [% UNLESS interfaces %]
159 <label for="interfaceALL" class="viewlog">All <input type="checkbox" id="interfaceALL" name="interfaces" value="" checked="checked"></label>
161 <label for="interfaceALL" class="viewlog">All <input type="checkbox" id="interfaceALL" name="interfaces" value=""></label>
164 [% FOREACH interf IN [ 'INTRANET' 'OPAC' 'SIP' 'COMMANDLINE' ] %]
165 [% IF interfaces.grep(interf).size %]
166 <label for="interface[% interf | html %]" class="viewlog">[% PROCESS translate_log_interface log_interface=interf %] <input type="checkbox" id="interface[% interf | html %]" name="interfaces" value="" checked="checked"></label>
168 <label for="interface[% interf | html %]" class="viewlog">[% PROCESS translate_log_interface log_interface=interf %] <input type="checkbox" id="interface[% interf | html %]" name="interfaces" value=""></label>
173 <label for="from"> Display from: </label> <input type="text" size="10" id="from" name="from" value="[% datefrom | html %]" class="datepickerfrom" />
174 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
177 <label for="to">Display to: </label> <input size="10" id="to" name="to" type="text" value="[% dateto | html %]" class="datepickerto" />
178 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
182 <fieldset class="rows">
183 <legend>Output</legend>
186 <label for="screen" >To screen in the browser:</label> <input id="screen" type="radio" checked="checked" name="output" value="screen" />
189 <label for="file">To a file:</label>
190 <input id="file" type="radio" name="output" value="file" />
191 <label class="inline" for="basename">Named:</label>
192 <input type="text" name="basename" id="basename" value="Export" />
194 <label for="MIME" class="inline">Into an application:</label>
195 [% CGIextChoice | html %]
196 [% CGIsepChoice | html %]
198 <input type="hidden" name="report_name" value="[% report_name | html %]" />
202 <fieldset class="action">
203 <input type="submit" value="Submit" />
204 <input type="hidden" name="do_it" value="1" />
209 <h4>[% total | html %] lines found.</h4>
223 [% FOREACH loopro IN looprow %]
225 <td>[% loopro.timestamp | $KohaDates with_hours=1 %]</td>
227 [% IF loopro.librarian %]
228 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopro.librarian.borrowernumber | uri %]" title="display detail for this librarian."> [% IF ( loopro.librarian.firstname ) || ( loopro.librarian.surname ) %][% loopro.librarian.firstname | html %] [% loopro.librarian.surname | html %] ([% loopro.librarian.borrowernumber | html %]) [% ELSE %][% loopro.librarian.borrowernumber | html %][% END %]</a>
230 [% loopro.user | html %]
233 <td>[% PROCESS translate_log_module module=loopro.module %]</td>
234 <td>[% PROCESS translate_log_action action=loopro.action %]</td>
236 [% IF ( loopro.module == 'MEMBERS' ) || ( loopro.module == 'CIRCULATION' ) || ( loopro.module == 'FINES' ) %]
237 [% IF loopro.patron %]
238 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopro.object | uri %]" title="Display member details."> [% IF ( loopro.object ) %][% IF ( loopro.patron.firstname ) || ( loopro.patron.surname ) %][% loopro.patron.firstname | html %] [% loopro.patron.surname | html %] ([% loopro.object | html %]) [% ELSE %]Member [% loopro.object | html %][% END %][% END %] </a>
240 [% loopro.object | html %]
243 [% IF ( loopro.module == 'CATALOGUING' ) %]
244 [% IF ( loopro.info.substr(0, 4) == 'item' ) %]
245 <a href="/cgi-bin/koha/catalogue/moredetail.pl?item=[% loopro.object | uri %]&biblionumber=[% loopro.biblionumber | uri %]&bi=[% loopro.biblioitemnumber | uri %]#item[% loopro.object | uri %]">Item [% loopro.object | html %]</a> from
246 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopro.biblionumber | uri %]" title="Display detail for this biblio">Biblio [% loopro.biblionumber | html %]</a>
247 [% ELSIF ( loopro.info.substr(0, 6) == 'biblio' ) %]
248 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopro.object | uri %]" title="Display detail for this biblio">Biblio [% loopro.object | html %]</a>
250 [% loopro.object | html %]
253 [% IF ( loopro.module == 'SERIAL' ) %]
254 <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% loopro.object | uri %]">Subscription [% loopro.object | html %] </a>
256 [% IF ( loopro.module == 'AUTHORITIES' ) %]
257 <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% loopro.object | uri %]" title="Display detail for this authority">Authority [% loopro.object | html %]</a>
259 [% loopro.object | html %]
266 [% IF ( loopro.module == 'CIRCULATION' ) %]
267 <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% loopro.info | uri %]&biblionumber=[% loopro.biblionumber | uri %]&bi=[% loopro.biblioitemnumber | uri %]#item[% loopro.info | uri %]" title="Display detail for this item">Item [% loopro.barcode | html %]</a>
269 [% loopro.info | html %]
272 <td>[% PROCESS translate_log_interface log_interface=loopro.interface %]</td>
278 <div class="dialog alert">
280 [% IF ( CATALOGUING ) %]
281 for <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% object | url %]">Bibliographic record [% object | html %]</a>
284 for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% object | url %]">[% INCLUDE 'patron-title.inc' %]</a>
293 </div> <!-- /.col-sm-10.col-sm-push-2 -->
295 <div class="col-sm-2 col-sm-pull-10">
297 [% IF ( circulation ) %]
298 [% INCLUDE 'circ-menu.inc' %]
300 [% IF ( CATALOGUING ) %]
301 [% INCLUDE 'biblio-view-menu.inc' %]
303 [% INCLUDE 'tools-menu.inc' %]
307 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
308 </div> <!-- /.row -->
310 [% MACRO jsinclude BLOCK %]
311 [% INCLUDE 'calendar.inc' %]
312 [% Asset.js("js/tools-menu.js") | $raw %]
313 [% IF ( circulation ) %]
314 [% INCLUDE 'str/members-menu.inc' %]
315 [% Asset.js("js/members-menu.js") | $raw %]
317 [% Asset.js("js/viewlog.js") | $raw %]
320 [% INCLUDE 'intranet-bottom.inc' %]