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 'ILL' %]Interlibrary loans
33 [% CASE 'CIRCULATION' %]Circulation
34 [% CASE 'LETTER' %]Letter
35 [% CASE 'FINES' %]Fines
36 [% CASE 'SYSTEMPREFERENCE' %]System prefs
37 [% CASE 'CRONJOBS' %]Cron jobs
38 [% CASE 'REPORTS' %]Reports
39 [% CASE %][% module | html %]
43 [% BLOCK translate_log_action %]
46 [% CASE 'DELETE' %]Delete
47 [% CASE 'MODIFY' %]Modify
48 [% CASE 'ISSUE' %]Checkout
49 [% CASE 'RETURN' %]Return
50 [% CASE 'CREATE' %]Create
51 [% CASE 'CANCEL' %]Cancel
52 [% CASE 'RESUME' %]Resume
53 [% CASE 'SUSPEND' %]Suspend
54 [% CASE 'RENEW' %]Renew
55 [% CASE 'RENEWAL' %]Renew
56 [% CASE 'CHANGE PASS' %]Change password
57 [% CASE 'ADDCIRCMESSAGE' %]Add circulation message
58 [% CASE 'DELCIRCMESSAGE' %]Delete circulation message
59 [% CASE 'STATUS_CHANGE' %]Change ILL request status
61 [% CASE %][% action | html %]
65 [% BLOCK translate_log_interface %]
66 [% SWITCH log_interface %]
67 [% CASE 'INTRANET' %]Intranet
70 [% CASE 'COMMANDLINE' %]Command-line
71 [% CASE %][% log_interface | html %]
75 <div id="breadcrumbs">
76 <a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> ›
78 <a href="/cgi-bin/koha/tools/viewlog.pl">Logs</a> › Results
84 <div class="main container-fluid">
86 <div class="col-sm-10 col-sm-push-2">
89 <h1>Browse system logs</h1>
90 <form method="post" action="/cgi-bin/koha/tools/viewlog.pl">
92 <input type="hidden" name="do_it" value="[% do_it | html %]" />
94 <input type="hidden" name="src" value="[% src | html %]" />
95 <fieldset class="rows">
98 <label for="user">Librarian:</label>
99 <input type="text" name="user" id="user" value="[% user | html %]" />
101 [% UNLESS src == "circ" %]
103 <label for="modules">Modules:</label>
104 <select name="modules" id="modules" multiple="multiple">
106 <option value="" selected="selected">All</option>
108 <option value="">All</option>
110 [% FOREACH modx IN [ 'CATALOGUING' 'AUTHORITIES' 'MEMBERS' 'ACQUISITIONS' 'SERIAL' 'HOLDS' 'ILL' 'CIRCULATION' 'LETTER' 'FINES' 'SYSTEMPREFERENCE' 'CRONJOBS', 'REPORTS' ] %]
111 [% IF modules.grep(modx).size %]
112 <option value="[% modx | html %]" selected="selected">[% PROCESS translate_log_module module=modx %]</option>
114 <option value="[% modx | html %]">[% PROCESS translate_log_module module=modx %]</option>
120 <input type="hidden" name="modules" value="MEMBERS" />
123 <label for="actions">Actions:</label>
124 <select name="actions" id="actions" multiple="multiple">
126 <option value="" selected="selected">All</option>
128 <option value="">All</option>
131 [% FOREACH actx IN [ 'ADD' 'DELETE' 'MODIFY' 'ISSUE' 'RETURN' 'RENEW' 'CREATE' 'CANCEL' 'SUSPEND' 'RESUME' 'ADDCIRCMESSAGE' 'DELCIRCMESSAGE' 'STATUS_CHANGE' 'CHANGE PASS' 'Run' ] %]
132 [% IF actions.grep(actx).size %]
133 <option value="[% actx | html %]" selected="selected">[% PROCESS translate_log_action action=actx %]</option>
135 <option value="[% actx | html %]">[% PROCESS translate_log_action action=actx %]</option>
141 [% IF src == 'circ' %]
142 <label for="object">Borrowernumber: </label>
143 <input type="text" id="object" name="object" value="[% object | html %]" readonly="readonly" title="This field cannot be modified from the circulation module." />
145 <label for="object">Object: </label>
146 <input type="text" id="object" name="object" value="[% object | html %]" />
150 <label for="info">Info:</label>
151 <input type="text" id="info" name="info" value="[% info | html %]" />
154 <label for="interfaces">Interface:</label>
155 <select name="interfaces" id="interfaces" multiple="multiple">
156 [% UNLESS interfaces %]
157 <option value="" selected="selected">All</option>
159 <option value="">All</option>
162 [% FOREACH interf IN [ 'INTRANET' 'OPAC' 'SIP' 'COMMANDLINE' ] %]
163 [% IF interfaces.grep(interf).size %]
164 <option value="[% interf | html %]" selected="selected">[% PROCESS translate_log_interface log_interface=interf %]</option>
166 <option value="[% interf | html %]">[% PROCESS translate_log_interface log_interface=interf %]</option>
172 <label for="from"> Display from: </label> <input type="text" size="10" id="from" name="from" value="[% datefrom | html %]" class="datepickerfrom" />
173 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
176 <label for="to">Display to: </label> <input size="10" id="to" name="to" type="text" value="[% dateto | html %]" class="datepickerto" />
177 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
181 <fieldset class="rows">
182 <legend>Output</legend>
185 <label for="screen" >To screen in the browser:</label> <input id="screen" type="radio" checked="checked" name="output" value="screen" />
188 <label for="file">To a file:</label>
189 <input id="file" type="radio" name="output" value="file" />
190 <label class="inline" for="basename">Named:</label>
191 <input type="text" name="basename" id="basename" value="Export" />
193 <label for="MIME" class="inline">Into an application:</label>
194 [% CGIextChoice | html %]
195 [% CGIsepChoice | html %]
197 <input type="hidden" name="report_name" value="[% report_name | html %]" />
201 <fieldset class="action">
202 <input type="submit" value="Submit" />
203 <input type="hidden" name="do_it" value="1" />
208 <h4>[% total | html %] lines found.</h4>
222 [% FOREACH loopro IN looprow %]
224 <td>[% loopro.timestamp | $KohaDates with_hours=1 %]</td>
226 [% IF loopro.librarian %]
227 <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>
229 [% loopro.user | html %]
232 <td>[% PROCESS translate_log_module module=loopro.module %]</td>
233 <td>[% PROCESS translate_log_action action=loopro.action %]</td>
235 [% IF ( loopro.module == 'MEMBERS' ) || ( loopro.module == 'CIRCULATION' ) || ( loopro.module == 'FINES' ) %]
236 [% IF loopro.patron %]
237 <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>
239 [% loopro.object | html %]
242 [% IF ( loopro.module == 'CATALOGUING' ) %]
243 [% IF ( loopro.info.substr(0, 4) == 'item' ) %]
244 <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
245 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopro.biblionumber | uri %]" title="Display detail for this biblio">Biblio [% loopro.biblionumber | html %]</a>
246 [% ELSIF ( loopro.info.substr(0, 6) == 'biblio' ) %]
247 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopro.object | uri %]" title="Display detail for this biblio">Biblio [% loopro.object | html %]</a>
249 [% loopro.object | html %]
252 [% IF ( loopro.module == 'SERIAL' ) %]
253 <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% loopro.object | uri %]">Subscription [% loopro.object | html %] </a>
255 [% IF ( loopro.module == 'AUTHORITIES' ) %]
256 <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% loopro.object | uri %]" title="Display detail for this authority">Authority [% loopro.object | html %]</a>
258 [% loopro.object | html %]
265 [% IF ( loopro.module == 'CIRCULATION' ) %]
266 <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>
268 [% loopro.info | html %]
271 <td>[% PROCESS translate_log_interface log_interface=loopro.interface %]</td>
277 <div class="dialog alert">
279 [% IF ( CATALOGUING ) %]
280 for <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% object | url %]">Bibliographic record [% object | html %]</a>
283 for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% object | url %]">[% INCLUDE 'patron-title.inc' %]</a>
292 </div> <!-- /.col-sm-10.col-sm-push-2 -->
294 <div class="col-sm-2 col-sm-pull-10">
296 [% IF ( circulation ) %]
297 [% INCLUDE 'circ-menu.inc' %]
299 [% IF ( CATALOGUING ) %]
300 [% INCLUDE 'biblio-view-menu.inc' %]
302 [% INCLUDE 'tools-menu.inc' %]
306 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
307 </div> <!-- /.row -->
309 [% MACRO jsinclude BLOCK %]
310 [% INCLUDE 'calendar.inc' %]
311 [% Asset.js("js/tools-menu.js") | $raw %]
312 [% IF ( circulation ) %]
313 [% INCLUDE 'str/members-menu.inc' %]
314 [% Asset.js("js/members-menu.js") | $raw %]
318 [% INCLUDE 'intranet-bottom.inc' %]