4 [% USE AuthorisedValues %]
7 [% INCLUDE 'doc-head-open.inc' %]
9 Koha › Tools ›
16 [% INCLUDE 'doc-head-close.inc' %]
19 <body id="tools_viewlog" class="tools">
20 [% INCLUDE 'header.inc' %]
21 [% INCLUDE 'cat-search.inc' %]
23 [% BLOCK translate_log_module %]
25 [% CASE 'CATALOGUING' %]Catalog
26 [% CASE 'AUTHORITIES' %]Authorities
27 [% CASE 'MEMBERS' %]Patrons
28 [% CASE 'ACQUISITIONS' %]Acquisitions
29 [% CASE 'SERIAL' %]Serials
30 [% CASE 'HOLDS' %]Holds
31 [% CASE 'CIRCULATION' %]Circulation
32 [% CASE 'LETTER' %]Letter
33 [% CASE 'FINES' %]Fines
34 [% CASE 'SYSTEMPREFERENCE' %]System prefs
35 [% CASE 'CRONJOBS' %]Cron jobs
36 [% CASE 'REPORTS' %]Reports
37 [% CASE %][% module | html %]
41 [% BLOCK translate_log_action %]
44 [% CASE 'DELETE' %]Delete
45 [% CASE 'MODIFY' %]Modify
46 [% CASE 'ISSUE' %]Checkout
47 [% CASE 'RETURN' %]Return
48 [% CASE 'CREATE' %]Create
49 [% CASE 'CANCEL' %]Cancel
50 [% CASE 'RESUME' %]Resume
51 [% CASE 'SUSPEND' %]Suspend
52 [% CASE 'RENEW' %]Renew
53 [% CASE 'CHANGE PASS' %]Change password
54 [% CASE 'ADDCIRCMESSAGE' %]Add circulation message
55 [% CASE 'DELCIRCMESSAGE' %]Delete circulation message
57 [% CASE %][% action | html %]
61 [% BLOCK translate_log_interface %]
62 [% SWITCH log_interface %]
63 [% CASE 'INTRANET' %]Intranet
66 [% CASE 'COMMANDLINE' %]Command-line
67 [% CASE %][% log_interface | html %]
71 <div id="breadcrumbs">
72 <a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> ›
74 <a href="/cgi-bin/koha/tools/viewlog.pl">Logs</a> › Results
80 <div id="doc3" class="yui-t2">
84 <h1>Browse system logs</h1>
85 <form method="post" action="/cgi-bin/koha/tools/viewlog.pl">
87 <input type="hidden" name="do_it" value="[% do_it | html %]" />
89 <input type="hidden" name="src" value="[% src | html %]" />
90 <fieldset class="rows">
93 <label for="user">Librarian:</label>
94 <input type="text" name="user" id="user" value="[% user | html %]" />
97 <label for="modules">Modules:</label>
98 <select name="modules" id="modules" multiple="multiple">
100 <option value="" selected="selected">All</option>
102 <option value="">All</option>
104 [% FOREACH modx IN [ 'CATALOGUING' 'AUTHORITIES' 'MEMBERS' 'ACQUISITIONS' 'SERIAL' 'HOLDS' 'CIRCULATION' 'LETTER' 'FINES' 'SYSTEMPREFERENCE' 'CRONJOBS', 'REPORTS' ] %]
105 [% IF modules.grep(modx).size %]
106 <option value="[% modx | html %]" selected="selected">[% PROCESS translate_log_module module=modx %]</option>
108 <option value="[% modx | html %]">[% PROCESS translate_log_module module=modx %]</option>
114 <label for="actions">Actions:</label>
115 <select name="actions" id="actions" multiple="multiple">
117 <option value="" selected="selected">All</option>
119 <option value="">All</option>
122 [% FOREACH actx IN [ 'ADD' 'DELETE' 'MODIFY' 'ISSUE' 'RETURN' 'RENEW' 'CREATE' 'CANCEL' 'SUSPEND' 'RESUME' 'ADDCIRCMESSAGE' 'DELCIRCMESSAGE' 'CHANGE PASS' 'Run' ] %]
123 [% IF actions.grep(actx).size %]
124 <option value="[% actx | html %]" selected="selected">[% PROCESS translate_log_action action=actx %]</option>
126 <option value="[% actx | html %]">[% PROCESS translate_log_action action=actx %]</option>
132 <label for="object">Object: </label>
133 <input type="text" id="object" name="object" value="[% object | html %]" />
136 <label for="info">Info:</label>
137 <input type="text" id="info" name="info" value="[% info | html %]" />
140 <label for="interfaces">Interface:</label>
141 <select name="interfaces" id="interfaces" multiple="multiple">
142 [% UNLESS interfaces %]
143 <option value="" selected="selected">All</option>
145 <option value="">All</option>
148 [% FOREACH interf IN [ 'INTRANET' 'OPAC' 'SIP' 'COMMANDLINE' ] %]
149 [% IF interfaces.grep(interf).size %]
150 <option value="[% interf | html %]" selected="selected">[% PROCESS translate_log_interface log_interface=interf %]</option>
152 <option value="[% interf | html %]">[% PROCESS translate_log_interface log_interface=interf %]</option>
158 <label for="from"> Display from: </label> <input type="text" size="10" id="from" name="from" value="[% datefrom | html %]" class="datepickerfrom" />
159 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
162 <label for="to">Display to: </label> <input size="10" id="to" name="to" type="text" value="[% dateto | html %]" class="datepickerto" />
163 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
167 <fieldset class="rows">
168 <legend>Output</legend>
171 <label for="screen" >To screen in the browser:</label> <input id="screen" type="radio" checked="checked" name="output" value="screen" />
174 <label for="file">To a file:</label>
175 <input id="file" type="radio" name="output" value="file" />
176 <label class="inline" for="basename">Named:</label>
177 <input type="text" name="basename" id="basename" value="Export" />
179 <label for="MIME" class="inline">Into an application:</label>
180 [% CGIextChoice | html %]
181 [% CGIsepChoice | html %]
183 <input type="hidden" name="report_name" value="[% report_name | html %]" />
187 <fieldset class="action">
188 <input type="submit" value="Submit" />
189 <input type="hidden" name="do_it" value="1" />
194 <h4>[% total | html %] lines found.</h4>
208 [% FOREACH loopro IN looprow %]
210 <td>[% loopro.timestamp | html %]</td>
212 [% IF loopro.librarian %]
213 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopro.librarian.borrowernumber | html %]" 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>
215 [% loopro.user | html %]
218 <td>[% PROCESS translate_log_module module=loopro.module %]</td>
219 <td>[% PROCESS translate_log_action action=loopro.action %]</td>
221 [% IF ( loopro.module == 'MEMBERS' ) || ( loopro.module == 'CIRCULATION' ) || ( loopro.module == 'FINES' ) %]
222 [% IF loopro.patron %]
223 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopro.object | html %]" 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>
225 [% loopro.object | html %]
228 [% IF ( loopro.module == 'CATALOGUING' ) %]
229 [% IF ( loopro.info.substr(0, 4) == 'item' ) %]
230 <a href="/cgi-bin/koha/catalogue/moredetail.pl?item=[% loopro.object | html %]&biblionumber=[% loopro.biblionumber | html %]&bi=[% loopro.biblioitemnumber | html %]#item[% loopro.object | html %]">Item [% loopro.object | html %]</a>
231 [% ELSIF ( loopro.info.substr(0, 6) == 'biblio' ) %]
232 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopro.object | html %]" title="Display detail for this biblio">Biblio [% loopro.object | html %]</a>
234 [% loopro.object | html %]
237 [% IF ( loopro.module == 'SERIAL' ) %]
238 <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% loopro.object | html %]">Subscription [% loopro.object | html %] </a>
240 [% IF ( loopro.module == 'AUTHORITIES' ) %]
241 <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% loopro.object | html %]" title="Display detail for this authority">Authority [% loopro.object | html %]</a>
243 [% loopro.object | html %]
250 [% IF ( loopro.module == 'CIRCULATION' ) %]
251 <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% loopro.info | html %]&biblionumber=[% loopro.biblionumber | html %]&bi=[% loopro.biblioitemnumber | html %]#item[% loopro.info | html %]" title="Display detail for this item">Item [% loopro.barcode | html %]</a>
253 [% loopro.info | html %]
256 <td>[% PROCESS translate_log_interface log_interface=loopro.interface %]</td>
262 <div class="dialog alert">
264 [% IF ( CATALOGUING ) %]
265 for <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% object | url %]">Bibliographic record [% object | html %]</a>
268 for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% object | url %]">[% INCLUDE 'patron-title.inc' %]</a>
276 <div class="yui-b noprint">
277 [% IF ( circulation ) %]
278 [% INCLUDE 'circ-menu.inc' %]
280 [% IF ( CATALOGUING ) %]
281 [% INCLUDE 'biblio-view-menu.inc' %]
283 [% INCLUDE 'tools-menu.inc' %]
289 [% MACRO jsinclude BLOCK %]
290 [% INCLUDE 'calendar.inc' %]
291 [% Asset.js("js/tools-menu.js") | $raw %]
294 [% INCLUDE 'intranet-bottom.inc' %]