4 [% USE AuthorisedValues %]
8 [% INCLUDE 'doc-head-open.inc' %]
10 Koha › Tools ›
17 [% INCLUDE 'doc-head-close.inc' %]
19 fieldset.rows label.viewlog {
36 <body id="tools_viewlog" class="tools">
37 [% INCLUDE 'header.inc' %]
38 [% INCLUDE 'cat-search.inc' %]
40 [% BLOCK translate_log_module %]
42 [% CASE 'CATALOGUING' %]Catalog
43 [% CASE 'AUTHORITIES' %]Authorities
44 [% CASE 'MEMBERS' %]Patrons
45 [% CASE 'ACQUISITIONS' %]Acquisitions
46 [% CASE 'SERIAL' %]Serials
47 [% CASE 'HOLDS' %]Holds
48 [% CASE 'ILL' %]Interlibrary loans
49 [% CASE 'CIRCULATION' %]Circulation
50 [% CASE 'LETTER' %]Letter
51 [% CASE 'FINES' %]Fines
52 [% CASE 'SYSTEMPREFERENCE' %]System prefs
53 [% CASE 'CRONJOBS' %]Cron jobs
54 [% CASE 'REPORTS' %]Reports
55 [% CASE %][% module | html %]
59 [% BLOCK translate_log_action %]
62 [% CASE 'DELETE' %]Delete
63 [% CASE 'MODIFY' %]Modify
64 [% CASE 'ISSUE' %]Checkout
65 [% CASE 'RETURN' %]Return
66 [% CASE 'CREATE' %]Create
67 [% CASE 'CANCEL' %]Cancel
68 [% CASE 'RESUME' %]Resume
69 [% CASE 'SUSPEND' %]Suspend
70 [% CASE 'RENEW' %]Renew
71 [% CASE 'RENEWAL' %]Renew
72 [% CASE 'CHANGE PASS' %]Change password
73 [% CASE 'ADDCIRCMESSAGE' %]Add circulation message
74 [% CASE 'DELCIRCMESSAGE' %]Delete circulation message
75 [% CASE 'STATUS_CHANGE' %]Change ILL request status
77 [% CASE %][% action | html %]
81 [% BLOCK translate_log_interface %]
82 [% SWITCH log_interface %]
83 [% CASE 'INTRANET' %]Intranet
86 [% CASE 'COMMANDLINE' %]Command-line
87 [% CASE %][% log_interface | html %]
91 <div id="breadcrumbs">
92 <a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> ›
94 <a href="/cgi-bin/koha/tools/viewlog.pl">Logs</a> › Results
100 <div class="main container-fluid">
102 <div class="col-sm-10 col-sm-push-2">
105 <h1>Browse system logs</h1>
106 <form method="post" action="/cgi-bin/koha/tools/viewlog.pl">
108 <input type="hidden" name="do_it" value="[% do_it | html %]" />
110 <input type="hidden" name="src" value="[% src | html %]" />
111 <fieldset class="rows">
114 <label for="user">Librarian:</label>
115 <input type="text" name="user" id="user" value="[% user | html %]" />
117 [% UNLESS src == "circ" %]
119 <label for="modules">Modules:</label>
120 <div class="log_modules">
122 <label for="moduleALL" class="viewlog"><input type="checkbox" id="moduleALL" name="modules" value="" checked="checked"> All</label>
124 <label for="moduleALL" class="viewlog"><input type="checkbox" id="moduleALL" name="modules" value=""> All</label>
126 [% FOREACH modx IN [ 'CATALOGUING' 'AUTHORITIES' 'MEMBERS' 'ACQUISITIONS' 'SERIAL' 'HOLDS' 'ILL' 'CIRCULATION' 'LETTER' 'FINES' 'SYSTEMPREFERENCE' 'CRONJOBS', 'REPORTS' ] %]
127 [% IF modules.grep(modx).size %]
128 <label for="module[% modx | html %]" class="viewlog"><input type="checkbox" id="module[% modx | html %]" name="modules" value="[% modx | html %]" checked="checked"> [% PROCESS translate_log_module module=modx %]</label>
130 <label for="module[% modx | html %]" class="viewlog"><input type="checkbox" id="module[% modx | html %]" name="modules" value="[% modx | html %]"> [% PROCESS translate_log_module module=modx %]</label>
136 <input type="hidden" name="modules" value="MEMBERS" />
139 <label for="actions">Actions:</label>
140 <div class="log_modules">
142 <label for="actionALL" class="viewlog"><input type="checkbox" id="actionALL" name="actions" value="" checked="checked"> All</label>
144 <label for="actionALL" class="viewlog"><input type="checkbox" id="actionALL" name="actions" value=""> All</label>
147 [% FOREACH actx IN [ 'ADD' 'DELETE' 'MODIFY' 'ISSUE' 'RETURN' 'RENEW' 'CREATE' 'CANCEL' 'SUSPEND' 'RESUME' 'ADDCIRCMESSAGE' 'DELCIRCMESSAGE' 'STATUS_CHANGE' 'CHANGE PASS' 'Run' ] %]
148 [% IF actions.grep(actx).size %]
149 <label for="action[% actx | html %]" class="viewlog"><input type="checkbox" id="action[% actx | html %]" name="actions" value="[% actx | html %]" checked="checked"> [% PROCESS translate_log_action action=actx %]</label>
151 <label for="action[% actx | html %]" class="viewlog"><input type="checkbox" id="action[% actx | html %]" name="actions" value="[% actx | html %]"> [% PROCESS translate_log_action action=actx %]</label>
157 [% IF src == 'circ' %]
158 <label for="object">Borrowernumber: </label>
159 <input type="text" id="object" name="object" value="[% object | html %]" readonly="readonly" title="This field cannot be modified from the circulation module." />
161 <label for="object">Object: </label>
162 <input type="text" id="object" name="object" value="[% object | html %]" />
166 <label for="info">Info:</label>
167 <input type="text" id="info" name="info" value="[% info | html %]" />
170 <label for="interfaces">Interface:</label>
171 [% UNLESS interfaces %]
172 <label for="interfaceALL" class="viewlog"><input type="checkbox" id="interfaceALL" name="interfaces" value="" checked="checked"> All</label>
174 <label for="interfaceALL" class="viewlog"><input type="checkbox" id="interfaceALL" name="interfaces" value=""> All</label>
177 [% FOREACH interf IN [ 'INTRANET' 'OPAC' 'SIP' 'COMMANDLINE' ] %]
178 [% IF interfaces.grep(interf).size %]
179 <label for="interface[% interf | html %]" class="viewlog"><input type="checkbox" id="interface[% interf | html %]" name="interfaces" value="" checked="checked"> [% PROCESS translate_log_interface log_interface=interf %]</label>
181 <label for="interface[% interf | html %]" class="viewlog"><input type="checkbox" id="interface[% interf | html %]" name="interfaces" value=""> [% PROCESS translate_log_interface log_interface=interf %]</label>
186 <label for="from"> Display from: </label> <input type="text" size="10" id="from" name="from" value="[% datefrom | html %]" class="datepickerfrom" />
187 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
190 <label for="to">Display to: </label> <input size="10" id="to" name="to" type="text" value="[% dateto | html %]" class="datepickerto" />
191 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
195 <fieldset class="rows">
196 <legend>Output</legend>
199 <label for="screen" >To screen in the browser:</label> <input id="screen" type="radio" checked="checked" name="output" value="screen" />
202 <label for="file">To a file:</label>
203 <input id="file" type="radio" name="output" value="file" />
204 <label class="inline" for="basename">Named:</label>
205 <input type="text" name="basename" id="basename" value="Export" />
207 <label for="MIME" class="inline">Into an application:</label>
208 [% CGIextChoice | html %]
209 [% CGIsepChoice | html %]
211 <input type="hidden" name="report_name" value="[% report_name | html %]" />
215 <fieldset class="action">
216 <input type="submit" value="Submit" />
217 <input type="hidden" name="do_it" value="1" />
222 <h4>[% total | html %] lines found.</h4>
236 [% FOREACH loopro IN looprow %]
238 <td>[% loopro.timestamp | $KohaDates with_hours=1 %]</td>
240 [% IF loopro.librarian %]
241 <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>
243 [% loopro.user | html %]
246 <td>[% PROCESS translate_log_module module=loopro.module %]</td>
247 <td>[% PROCESS translate_log_action action=loopro.action %]</td>
249 [% IF ( loopro.module == 'MEMBERS' ) || ( loopro.module == 'CIRCULATION' ) || ( loopro.module == 'FINES' ) %]
250 [% IF loopro.patron %]
251 <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>
253 [% loopro.object | html %]
256 [% IF ( loopro.module == 'CATALOGUING' ) %]
257 [% IF ( loopro.info.substr(0, 4) == 'item' ) %]
258 <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
259 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopro.biblionumber | uri %]" title="Display detail for this biblio">Biblio [% loopro.biblionumber | html %]</a>
260 [% ELSIF ( loopro.info.substr(0, 6) == 'biblio' ) %]
261 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopro.object | uri %]" title="Display detail for this biblio">Biblio [% loopro.object | html %]</a>
263 [% loopro.object | html %]
266 [% IF ( loopro.module == 'SERIAL' ) %]
267 <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% loopro.object | uri %]">Subscription [% loopro.object | html %] </a>
269 [% IF ( loopro.module == 'AUTHORITIES' ) %]
270 <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% loopro.object | uri %]" title="Display detail for this authority">Authority [% loopro.object | html %]</a>
272 [% loopro.object | html %]
279 [% IF ( loopro.module == 'CIRCULATION' ) %]
280 <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>
282 [% loopro.info | html %]
285 <td>[% PROCESS translate_log_interface log_interface=loopro.interface %]</td>
291 <div class="dialog alert">
293 [% IF ( CATALOGUING ) %]
294 for <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% object | url %]">Bibliographic record [% object | html %]</a>
297 for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% object | url %]">[% INCLUDE 'patron-title.inc' %]</a>
306 </div> <!-- /.col-sm-10.col-sm-push-2 -->
308 <div class="col-sm-2 col-sm-pull-10">
310 [% IF ( circulation ) %]
311 [% INCLUDE 'circ-menu.inc' %]
313 [% IF ( CATALOGUING ) %]
314 [% INCLUDE 'biblio-view-menu.inc' %]
316 [% INCLUDE 'tools-menu.inc' %]
320 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
321 </div> <!-- /.row -->
323 [% MACRO jsinclude BLOCK %]
324 [% INCLUDE 'calendar.inc' %]
325 [% Asset.js("js/tools-menu.js") | $raw %]
326 [% IF ( circulation ) %]
327 [% INCLUDE 'str/members-menu.inc' %]
328 [% Asset.js("js/members-menu.js") | $raw %]
330 [% Asset.js("js/viewlog.js") | $raw %]
333 [% INCLUDE 'intranet-bottom.inc' %]