4 [% USE AuthorisedValues %]
8 [% INCLUDE 'doc-head-open.inc' %]
10 Koha › Tools ›
17 [% INCLUDE 'doc-head-close.inc' %]
20 <body id="tools_viewlog" class="tools">
21 [% INCLUDE 'header.inc' %]
22 [% INCLUDE 'cat-search.inc' %]
24 [% BLOCK translate_log_module %]
26 [% CASE 'CATALOGUING' %]Catalog
27 [% CASE 'AUTHORITIES' %]Authorities
28 [% CASE 'MEMBERS' %]Patrons
29 [% CASE 'ACQUISITIONS' %]Acquisitions
30 [% CASE 'SERIAL' %]Serials
31 [% CASE 'HOLDS' %]Holds
32 [% CASE 'CIRCULATION' %]Circulation
33 [% CASE 'LETTER' %]Letter
34 [% CASE 'FINES' %]Fines
35 [% CASE 'SYSTEMPREFERENCE' %]System prefs
36 [% CASE 'CRONJOBS' %]Cron jobs
37 [% CASE 'REPORTS' %]Reports
38 [% CASE %][% module | html %]
42 [% BLOCK translate_log_action %]
45 [% CASE 'DELETE' %]Delete
46 [% CASE 'MODIFY' %]Modify
47 [% CASE 'ISSUE' %]Checkout
48 [% CASE 'RETURN' %]Return
49 [% CASE 'CREATE' %]Create
50 [% CASE 'CANCEL' %]Cancel
51 [% CASE 'RESUME' %]Resume
52 [% CASE 'SUSPEND' %]Suspend
53 [% CASE 'RENEW' %]Renew
54 [% CASE 'CHANGE PASS' %]Change password
55 [% CASE 'ADDCIRCMESSAGE' %]Add circulation message
56 [% CASE 'DELCIRCMESSAGE' %]Delete circulation message
58 [% CASE %][% action | html %]
62 [% BLOCK translate_log_interface %]
63 [% SWITCH log_interface %]
64 [% CASE 'INTRANET' %]Intranet
67 [% CASE 'COMMANDLINE' %]Command-line
68 [% CASE %][% log_interface | html %]
72 <div id="breadcrumbs">
73 <a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> ›
75 <a href="/cgi-bin/koha/tools/viewlog.pl">Logs</a> › Results
81 <div class="main container-fluid">
83 <div class="col-sm-10 col-sm-push-2">
86 <h1>Browse system logs</h1>
87 <form method="post" action="/cgi-bin/koha/tools/viewlog.pl">
89 <input type="hidden" name="do_it" value="[% do_it | html %]" />
91 <input type="hidden" name="src" value="[% src | html %]" />
92 <fieldset class="rows">
95 <label for="user">Librarian:</label>
96 <input type="text" name="user" id="user" value="[% user | html %]" />
99 <label for="modules">Modules:</label>
100 <select name="modules" id="modules" multiple="multiple">
102 <option value="" selected="selected">All</option>
104 <option value="">All</option>
106 [% FOREACH modx IN [ 'CATALOGUING' 'AUTHORITIES' 'MEMBERS' 'ACQUISITIONS' 'SERIAL' 'HOLDS' 'CIRCULATION' 'LETTER' 'FINES' 'SYSTEMPREFERENCE' 'CRONJOBS', 'REPORTS' ] %]
107 [% IF modules.grep(modx).size %]
108 <option value="[% modx | html %]" selected="selected">[% PROCESS translate_log_module module=modx %]</option>
110 <option value="[% modx | html %]">[% PROCESS translate_log_module module=modx %]</option>
116 <label for="actions">Actions:</label>
117 <select name="actions" id="actions" multiple="multiple">
119 <option value="" selected="selected">All</option>
121 <option value="">All</option>
124 [% FOREACH actx IN [ 'ADD' 'DELETE' 'MODIFY' 'ISSUE' 'RETURN' 'RENEW' 'CREATE' 'CANCEL' 'SUSPEND' 'RESUME' 'ADDCIRCMESSAGE' 'DELCIRCMESSAGE' 'CHANGE PASS' 'Run' ] %]
125 [% IF actions.grep(actx).size %]
126 <option value="[% actx | html %]" selected="selected">[% PROCESS translate_log_action action=actx %]</option>
128 <option value="[% actx | html %]">[% PROCESS translate_log_action action=actx %]</option>
134 <label for="object">Object: </label>
135 <input type="text" id="object" name="object" value="[% object | html %]" />
138 <label for="info">Info:</label>
139 <input type="text" id="info" name="info" value="[% info | html %]" />
142 <label for="interfaces">Interface:</label>
143 <select name="interfaces" id="interfaces" multiple="multiple">
144 [% UNLESS interfaces %]
145 <option value="" selected="selected">All</option>
147 <option value="">All</option>
150 [% FOREACH interf IN [ 'INTRANET' 'OPAC' 'SIP' 'COMMANDLINE' ] %]
151 [% IF interfaces.grep(interf).size %]
152 <option value="[% interf | html %]" selected="selected">[% PROCESS translate_log_interface log_interface=interf %]</option>
154 <option value="[% interf | html %]">[% PROCESS translate_log_interface log_interface=interf %]</option>
160 <label for="from"> Display from: </label> <input type="text" size="10" id="from" name="from" value="[% datefrom | html %]" class="datepickerfrom" />
161 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
164 <label for="to">Display to: </label> <input size="10" id="to" name="to" type="text" value="[% dateto | html %]" class="datepickerto" />
165 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
169 <fieldset class="rows">
170 <legend>Output</legend>
173 <label for="screen" >To screen in the browser:</label> <input id="screen" type="radio" checked="checked" name="output" value="screen" />
176 <label for="file">To a file:</label>
177 <input id="file" type="radio" name="output" value="file" />
178 <label class="inline" for="basename">Named:</label>
179 <input type="text" name="basename" id="basename" value="Export" />
181 <label for="MIME" class="inline">Into an application:</label>
182 [% CGIextChoice | html %]
183 [% CGIsepChoice | html %]
185 <input type="hidden" name="report_name" value="[% report_name | html %]" />
189 <fieldset class="action">
190 <input type="submit" value="Submit" />
191 <input type="hidden" name="do_it" value="1" />
196 <h4>[% total | html %] lines found.</h4>
210 [% FOREACH loopro IN looprow %]
212 <td>[% loopro.timestamp | $KohaDates with_hours=1 %]</td>
214 [% IF loopro.librarian %]
215 <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>
217 [% loopro.user | html %]
220 <td>[% PROCESS translate_log_module module=loopro.module %]</td>
221 <td>[% PROCESS translate_log_action action=loopro.action %]</td>
223 [% IF ( loopro.module == 'MEMBERS' ) || ( loopro.module == 'CIRCULATION' ) || ( loopro.module == 'FINES' ) %]
224 [% IF loopro.patron %]
225 <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>
227 [% loopro.object | html %]
230 [% IF ( loopro.module == 'CATALOGUING' ) %]
231 [% IF ( loopro.info.substr(0, 4) == 'item' ) %]
232 <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>
233 [% ELSIF ( loopro.info.substr(0, 6) == 'biblio' ) %]
234 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopro.object | uri %]" title="Display detail for this biblio">Biblio [% loopro.object | html %]</a>
236 [% loopro.object | html %]
239 [% IF ( loopro.module == 'SERIAL' ) %]
240 <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% loopro.object | uri %]">Subscription [% loopro.object | html %] </a>
242 [% IF ( loopro.module == 'AUTHORITIES' ) %]
243 <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% loopro.object | uri %]" title="Display detail for this authority">Authority [% loopro.object | html %]</a>
245 [% loopro.object | html %]
252 [% IF ( loopro.module == 'CIRCULATION' ) %]
253 <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>
255 [% loopro.info | html %]
258 <td>[% PROCESS translate_log_interface log_interface=loopro.interface %]</td>
264 <div class="dialog alert">
266 [% IF ( CATALOGUING ) %]
267 for <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% object | url %]">Bibliographic record [% object | html %]</a>
270 for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% object | url %]">[% INCLUDE 'patron-title.inc' %]</a>
279 </div> <!-- /.col-sm-10.col-sm-push-2 -->
281 <div class="col-sm-2 col-sm-pull-10">
283 [% IF ( circulation ) %]
284 [% INCLUDE 'circ-menu.inc' %]
286 [% IF ( CATALOGUING ) %]
287 [% INCLUDE 'biblio-view-menu.inc' %]
289 [% INCLUDE 'tools-menu.inc' %]
293 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
294 </div> <!-- /.row -->
296 [% MACRO jsinclude BLOCK %]
297 [% INCLUDE 'calendar.inc' %]
298 [% Asset.js("js/tools-menu.js") | $raw %]
299 [% IF ( circulation ) %]
300 [% INCLUDE 'str/members-menu.inc' %]
301 [% Asset.js("js/members-menu.js") | $raw %]
305 [% INCLUDE 'intranet-bottom.inc' %]