2 [% USE AuthorisedValues %]
3 [% INCLUDE 'doc-head-open.inc' %]
5 Koha › Tools ›
12 [% INCLUDE 'doc-head-close.inc' %]
13 [% INCLUDE 'calendar.inc' %]
15 <body id="tools_viewlog" class="tools">
16 [% INCLUDE 'header.inc' %]
17 [% INCLUDE 'cat-search.inc' %]
19 [% BLOCK translate_log_module %]
21 [% CASE 'CATALOGUING' %]Catalog
22 [% CASE 'AUTHORITIES' %]Authorities
23 [% CASE 'MEMBERS' %]Patrons
24 [% CASE 'ACQUISITIONS' %]Acquisitions
25 [% CASE 'SERIAL' %]Serials
26 [% CASE 'CIRCULATION' %]Circulation
27 [% CASE 'LETTER' %]Letter
28 [% CASE 'FINES' %]Fines
29 [% CASE 'SYSTEMPREFERENCE' %]System prefs
30 [% CASE 'CRONJOBS' %]Cron jobs
31 [% CASE 'REPORTS' %]Reports
32 [% CASE %][% module %]
36 [% BLOCK translate_log_action %]
39 [% CASE 'DELETE' %]Delete
40 [% CASE 'MODIFY' %]Modify
41 [% CASE 'ISSUE' %]Checkout
42 [% CASE 'RETURN' %]Return
43 [% CASE 'CREATE' %]Create
44 [% CASE 'RENEW' %]Renew
45 [% CASE 'CHANGE PASS' %]Change password
46 [% CASE 'ADDCIRCMESSAGE' %]Add circulation message
47 [% CASE 'DELCIRCMESSAGE' %]Delete circulation message
49 [% CASE %][% action %]
53 [% BLOCK translate_log_interface %]
54 [% SWITCH interface %]
55 [% CASE 'INTRANET' %]Intranet
58 [% CASE 'COMMANDLINE' %]Command-line
59 [% CASE %][% interface %]
63 <div id="breadcrumbs">
64 <a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> ›
66 <a href="/cgi-bin/koha/tools/viewlog.pl">Logs</a> › Results
72 <div id="doc3" class="yui-t2">
76 [% IF ( CAN_user_reports ) %]
77 <h1>Browse system logs</h1>
78 <form method="post" action="/cgi-bin/koha/tools/viewlog.pl">
80 <input type="hidden" name="do_it" value="[% do_it %]" />
82 <input type="hidden" name="src" value="[% src | html %]" />
83 <fieldset class="rows">
86 <label for="user">Librarian:</label>
87 <input type="text" name="user" id="user" value="[% user | html %]" />
90 <label for="modules">Modules:</label>
91 <select name="modules" id="modules" multiple="multiple">
93 <option value="" selected="selected">All</option>
95 <option value="">All</option>
97 [% FOREACH modx IN [ 'CATALOGUING' 'AUTHORITIES' 'MEMBERS' 'ACQUISITIONS' 'SERIAL' 'CIRCULATION' 'LETTER' 'FINES' 'SYSTEMPREFERENCE' 'CRONJOBS', 'REPORTS' ] %]
98 [% IF modules.grep(modx).size %]
99 <option value="[% modx %]" selected="selected">[% PROCESS translate_log_module module=modx %]</option>
101 <option value="[% modx %]">[% PROCESS translate_log_module module=modx %]</option>
107 <label for="actions">Actions:</label>
108 <select name="actions" id="actions" multiple="multiple">
110 <option value="" selected="selected">All</option>
112 <option value="">All</option>
115 [% FOREACH actx IN [ 'ADD' 'DELETE' 'MODIFY' 'ISSUE' 'RETURN' 'RENEW' 'CREATE' 'ADDCIRCMESSAGE' 'DELCIRCMESSAGE' 'CHANGE PASS' 'Run' ] %]
116 [% IF actions.grep(actx).size %]
117 <option value="[% actx %]" selected="selected">[% PROCESS translate_log_action action=actx %]</option>
119 <option value="[% actx %]">[% PROCESS translate_log_action action=actx %]</option>
125 <label for="object">Object: </label>
126 <input type="text" id="object" name="object" value="[% object | html %]" />
129 <label for="info">Info:</label>
130 <input type="text" id="info" name="info" value="[% info | html %]" />
133 <label for="interfaces">Interface:</label>
134 <select name="interfaces" id="interfaces" multiple="multiple">
135 [% UNLESS interfaces %]
136 <option value="" selected="selected">All</option>
138 <option value="">All</option>
141 [% FOREACH interf IN [ 'INTRANET' 'OPAC' 'SIP' 'COMMANDLINE' ] %]
142 [% IF interfaces.grep(interf).size %]
143 <option value="[% interf %]" selected="selected">[% PROCESS translate_log_interface interface=interf %]</option>
145 <option value="[% interf %]">[% PROCESS translate_log_interface interface=interf %]</option>
151 <label for="from"> Display from: </label> <input type="text" size="10" id="from" name="from" value="[% datefrom | html %]" class="datepickerfrom" />
152 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
155 <label for="to">Display to: </label> <input size="10" id="to" name="to" type="text" value="[% dateto | html %]" class="datepickerto" />
156 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
160 <fieldset class="rows">
161 <legend>Output</legend>
164 <label for="screen" >To screen in the browser:</label> <input id="screen" type="radio" checked="checked" name="output" value="screen" />
167 <label for="file">To a file:</label>
168 <input id="file" type="radio" name="output" value="file" />
169 <label class="inline" for="basename">Named:</label>
170 <input type="text" name="basename" id="basename" value="Export" />
172 <label for="MIME" class="inline">Into an application:</label>
176 <input type="hidden" name="report_name" value="[% report_name %]" />
180 <fieldset class="action">
181 <input type="submit" value="Submit" />
182 <input type="hidden" name="do_it" value="1" />
188 <h4>[% total %] lines found.</h4>
202 [% FOREACH loopro IN looprow %]
204 <td>[% loopro.timestamp %]</td>
206 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopro.user %]" title="display detail for this librarian."> [% IF ( loopro.userfirstname ) || ( loopro.usersurname ) %][% loopro.userfirstname %] [% loopro.usersurname %] ([% loopro.user %]) [% ELSE %][% loopro.user %][% END %]</a>
208 <td>[% PROCESS translate_log_module module=loopro.module %]</td>
209 <td>[% PROCESS translate_log_action action=loopro.action %]</td>
211 [% IF ( loopro.module == 'MEMBERS' ) || ( loopro.module == 'CIRCULATION' ) || ( loopro.module == 'FINES' ) %]
212 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopro.object %]" title="Display member details."> [% IF ( loopro.object ) %][% IF ( loopro.borrowerfirstname ) || ( loopro.borrowersurname ) %][% loopro.borrowerfirstname %] [% loopro.borrowersurname %] ([% loopro.object %]) [% ELSE %]Member [% loopro.object %][% END %][% END %] </a>
214 [% IF ( loopro.module == 'CATALOGUING' ) %]
215 [% IF ( loopro.info.substr(0, 4) == 'item' ) %]
216 <a href="/cgi-bin/koha/catalogue/moredetail.pl?item=[% loopro.object %]&biblionumber=[% loopro.biblionumber %]&bi=[% loopro.biblioitemnumber %]#item[% loopro.object %]">Item [% loopro.object %]</a>
217 [% ELSIF ( loopro.info.substr(0, 6) == 'biblio' ) %]
218 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopro.object %]" title="Display detail for this biblio">Biblio [% loopro.object %]</a>
223 [% IF ( loopro.module == 'SERIAL' ) %]
224 <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% loopro.object %]">Subscription [% loopro.object %] </a>
226 [% IF ( loopro.module == 'AUTHORITIES' ) %]
227 <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% loopro.object %]" title="Display detail for this authority">Authority [% loopro.object %]</a>
236 [% IF ( loopro.module == 'CIRCULATION' ) %]
237 <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% loopro.info %]&biblionumber=[% loopro.biblionumber %]&bi=[% loopro.biblioitemnumber %]#item[% loopro.info %]" title="Display detail for this item">Item [% loopro.barcode |html %]</a>
239 [% loopro.info |html %]
242 <td>[% PROCESS translate_log_interface interface=loopro.interface %]</td>
248 <div class="dialog alert">
250 [% IF ( CATALOGUING ) %]
251 for <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% object | url %]">Bibliographic record [% object | html %]</a>
254 for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% object | url %]">[% INCLUDE 'patron-title.inc' %]</a>
262 <div class="yui-b noprint">
264 [% INCLUDE 'circ-menu.inc' %]
266 [% IF ( CATALOGUING ) %]
267 [% INCLUDE 'biblio-view-menu.inc' %]
269 [% INCLUDE 'tools-menu.inc' %]
274 [% INCLUDE 'intranet-bottom.inc' %]