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 'CHANGE PASS' %]Change password
56 [% CASE 'ADDCIRCMESSAGE' %]Add circulation message
57 [% CASE 'DELCIRCMESSAGE' %]Delete circulation message
58 [% CASE 'STATUS_CHANGE' %]Change ILL request status
60 [% CASE %][% action | html %]
64 [% BLOCK translate_log_interface %]
65 [% SWITCH log_interface %]
66 [% CASE 'INTRANET' %]Intranet
69 [% CASE 'COMMANDLINE' %]Command-line
70 [% CASE %][% log_interface | html %]
74 <div id="breadcrumbs">
75 <a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> ›
77 <a href="/cgi-bin/koha/tools/viewlog.pl">Logs</a> › Results
83 <div class="main container-fluid">
85 <div class="col-sm-10 col-sm-push-2">
88 <h1>Browse system logs</h1>
89 <form method="post" action="/cgi-bin/koha/tools/viewlog.pl">
91 <input type="hidden" name="do_it" value="[% do_it | html %]" />
93 <input type="hidden" name="src" value="[% src | html %]" />
94 <fieldset class="rows">
97 <label for="user">Librarian:</label>
98 <input type="text" name="user" id="user" value="[% user | html %]" />
101 <label for="modules">Modules:</label>
102 <select name="modules" id="modules" multiple="multiple">
104 <option value="" selected="selected">All</option>
106 <option value="">All</option>
108 [% FOREACH modx IN [ 'CATALOGUING' 'AUTHORITIES' 'MEMBERS' 'ACQUISITIONS' 'SERIAL' 'HOLDS' 'ILL' 'CIRCULATION' 'LETTER' 'FINES' 'SYSTEMPREFERENCE' 'CRONJOBS', 'REPORTS' ] %]
109 [% IF modules.grep(modx).size %]
110 <option value="[% modx | html %]" selected="selected">[% PROCESS translate_log_module module=modx %]</option>
112 <option value="[% modx | html %]">[% PROCESS translate_log_module module=modx %]</option>
118 <label for="actions">Actions:</label>
119 <select name="actions" id="actions" multiple="multiple">
121 <option value="" selected="selected">All</option>
123 <option value="">All</option>
126 [% FOREACH actx IN [ 'ADD' 'DELETE' 'MODIFY' 'ISSUE' 'RETURN' 'RENEW' 'CREATE' 'CANCEL' 'SUSPEND' 'RESUME' 'ADDCIRCMESSAGE' 'DELCIRCMESSAGE' 'STATUS_CHANGE' 'CHANGE PASS' 'Run' ] %]
127 [% IF actions.grep(actx).size %]
128 <option value="[% actx | html %]" selected="selected">[% PROCESS translate_log_action action=actx %]</option>
130 <option value="[% actx | html %]">[% PROCESS translate_log_action action=actx %]</option>
136 <label for="object">Object: </label>
137 <input type="text" id="object" name="object" value="[% object | html %]" />
140 <label for="info">Info:</label>
141 <input type="text" id="info" name="info" value="[% info | html %]" />
144 <label for="interfaces">Interface:</label>
145 <select name="interfaces" id="interfaces" multiple="multiple">
146 [% UNLESS interfaces %]
147 <option value="" selected="selected">All</option>
149 <option value="">All</option>
152 [% FOREACH interf IN [ 'INTRANET' 'OPAC' 'SIP' 'COMMANDLINE' ] %]
153 [% IF interfaces.grep(interf).size %]
154 <option value="[% interf | html %]" selected="selected">[% PROCESS translate_log_interface log_interface=interf %]</option>
156 <option value="[% interf | html %]">[% PROCESS translate_log_interface log_interface=interf %]</option>
162 <label for="from"> Display from: </label> <input type="text" size="10" id="from" name="from" value="[% datefrom | html %]" class="datepickerfrom" />
163 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
166 <label for="to">Display to: </label> <input size="10" id="to" name="to" type="text" value="[% dateto | html %]" class="datepickerto" />
167 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
171 <fieldset class="rows">
172 <legend>Output</legend>
175 <label for="screen" >To screen in the browser:</label> <input id="screen" type="radio" checked="checked" name="output" value="screen" />
178 <label for="file">To a file:</label>
179 <input id="file" type="radio" name="output" value="file" />
180 <label class="inline" for="basename">Named:</label>
181 <input type="text" name="basename" id="basename" value="Export" />
183 <label for="MIME" class="inline">Into an application:</label>
184 [% CGIextChoice | html %]
185 [% CGIsepChoice | html %]
187 <input type="hidden" name="report_name" value="[% report_name | html %]" />
191 <fieldset class="action">
192 <input type="submit" value="Submit" />
193 <input type="hidden" name="do_it" value="1" />
198 <h4>[% total | html %] lines found.</h4>
212 [% FOREACH loopro IN looprow %]
214 <td>[% loopro.timestamp | $KohaDates with_hours=1 %]</td>
216 [% IF loopro.librarian %]
217 <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>
219 [% loopro.user | html %]
222 <td>[% PROCESS translate_log_module module=loopro.module %]</td>
223 <td>[% PROCESS translate_log_action action=loopro.action %]</td>
225 [% IF ( loopro.module == 'MEMBERS' ) || ( loopro.module == 'CIRCULATION' ) || ( loopro.module == 'FINES' ) %]
226 [% IF loopro.patron %]
227 <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>
229 [% loopro.object | html %]
232 [% IF ( loopro.module == 'CATALOGUING' ) %]
233 [% IF ( loopro.info.substr(0, 4) == 'item' ) %]
234 <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>
235 [% ELSIF ( loopro.info.substr(0, 6) == 'biblio' ) %]
236 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopro.object | uri %]" title="Display detail for this biblio">Biblio [% loopro.object | html %]</a>
238 [% loopro.object | html %]
241 [% IF ( loopro.module == 'SERIAL' ) %]
242 <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% loopro.object | uri %]">Subscription [% loopro.object | html %] </a>
244 [% IF ( loopro.module == 'AUTHORITIES' ) %]
245 <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% loopro.object | uri %]" title="Display detail for this authority">Authority [% loopro.object | html %]</a>
247 [% loopro.object | html %]
254 [% IF ( loopro.module == 'CIRCULATION' ) %]
255 <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>
257 [% loopro.info | html %]
260 <td>[% PROCESS translate_log_interface log_interface=loopro.interface %]</td>
266 <div class="dialog alert">
268 [% IF ( CATALOGUING ) %]
269 for <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% object | url %]">Bibliographic record [% object | html %]</a>
272 for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% object | url %]">[% INCLUDE 'patron-title.inc' %]</a>
281 </div> <!-- /.col-sm-10.col-sm-push-2 -->
283 <div class="col-sm-2 col-sm-pull-10">
285 [% IF ( circulation ) %]
286 [% INCLUDE 'circ-menu.inc' %]
288 [% IF ( CATALOGUING ) %]
289 [% INCLUDE 'biblio-view-menu.inc' %]
291 [% INCLUDE 'tools-menu.inc' %]
295 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
296 </div> <!-- /.row -->
298 [% MACRO jsinclude BLOCK %]
299 [% INCLUDE 'calendar.inc' %]
300 [% Asset.js("js/tools-menu.js") | $raw %]
301 [% IF ( circulation ) %]
302 [% INCLUDE 'str/members-menu.inc' %]
303 [% Asset.js("js/members-menu.js") | $raw %]
307 [% INCLUDE 'intranet-bottom.inc' %]