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 'AUTH' %]Authentication
43 [% CASE 'CATALOGUING' %]Catalog
44 [% CASE 'AUTHORITIES' %]Authorities
45 [% CASE 'MEMBERS' %]Patrons
46 [% CASE 'ACQUISITIONS' %]Acquisitions
47 [% CASE 'SERIAL' %]Serials
48 [% CASE 'HOLDS' %]Holds
49 [% CASE 'ILL' %]Interlibrary loans
50 [% CASE 'CIRCULATION' %]Circulation
51 [% CASE 'LETTER' %]Letter
52 [% CASE 'FINES' %]Fines
53 [% CASE 'SYSTEMPREFERENCE' %]System prefs
54 [% CASE 'CRONJOBS' %]Cron jobs
55 [% CASE 'REPORTS' %]Reports
56 [% CASE %][% module | html %]
60 [% BLOCK translate_log_action %]
63 [% CASE 'DELETE' %]Delete
64 [% CASE 'MODIFY' %]Modify
65 [% CASE 'ISSUE' %]Checkout
66 [% CASE 'RETURN' %]Return
67 [% CASE 'CREATE' %]Create
68 [% CASE 'CANCEL' %]Cancel
69 [% CASE 'RESUME' %]Resume
70 [% CASE 'SUSPEND' %]Suspend
71 [% CASE 'RENEW' %]Renew
72 [% CASE 'RENEWAL' %]Renew
73 [% CASE 'CHANGE PASS' %]Change password
74 [% CASE 'ADDCIRCMESSAGE' %]Add circulation message
75 [% CASE 'DELCIRCMESSAGE' %]Delete circulation message
76 [% CASE 'STATUS_CHANGE' %]Change ILL request status
78 [% CASE %][% action | html %]
82 [% BLOCK translate_log_interface %]
83 [% SWITCH log_interface.upper %]
84 [% CASE 'INTRANET' %]Intranet
87 [% CASE 'COMMANDLINE' %]Command-line
88 [% CASE 'API' %]REST API
89 [% CASE %][% log_interface | html %]
93 <div id="breadcrumbs">
94 <a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> ›
96 <a href="/cgi-bin/koha/tools/viewlog.pl">Logs</a> › Results
102 <div class="main container-fluid">
104 <div class="col-sm-10 col-sm-push-2">
107 <h1>Browse system logs</h1>
108 <form method="post" action="/cgi-bin/koha/tools/viewlog.pl">
110 <input type="hidden" name="do_it" value="[% do_it | html %]" />
112 <input type="hidden" name="src" value="[% src | html %]" />
113 <fieldset class="rows">
116 <label for="user">Librarian:</label>
117 <input type="text" name="user" id="user" value="[% user | html %]" />
119 [% UNLESS src == "circ" %]
121 <label for="modules">Modules:</label>
122 <div class="log_modules">
123 [% IF modules.size == 0 %]
124 <label for="moduleALL" class="viewlog"><input type="checkbox" id="moduleALL" name="modules" value="" checked="checked"> All</label>
126 <label for="moduleALL" class="viewlog"><input type="checkbox" id="moduleALL" name="modules" value=""> All</label>
128 [% FOREACH modx IN [ 'AUTH' 'CATALOGUING' 'AUTHORITIES' 'MEMBERS' 'ACQUISITIONS' 'SERIAL' 'HOLDS' 'ILL' 'CIRCULATION' 'LETTER' 'FINES' 'SYSTEMPREFERENCE' 'CRONJOBS', 'REPORTS' ] %]
129 [% IF modules.grep(modx).size %]
130 <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>
132 <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>
138 <input type="hidden" name="modules" value="MEMBERS" />
139 <input type="hidden" name="modules" value="CIRCULATION" />
142 <label for="actions">Actions:</label>
143 <div class="log_modules">
144 [% IF actions.length == 0 %]
145 <label for="actionALL" class="viewlog"><input type="checkbox" id="actionALL" name="actions" value="" checked="checked"> All</label>
147 <label for="actionALL" class="viewlog"><input type="checkbox" id="actionALL" name="actions" value=""> All</label>
150 [% FOREACH actx IN [ 'ADD' 'DELETE' 'MODIFY' 'ISSUE' 'RETURN' 'RENEW' 'CREATE' 'CANCEL' 'SUSPEND' 'RESUME' 'ADDCIRCMESSAGE' 'DELCIRCMESSAGE' 'STATUS_CHANGE' 'CHANGE PASS' 'Run' ] %]
151 [% IF actions.grep(actx).size %]
152 <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>
154 <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>
160 [% IF src == 'circ' %]
161 <label for="object">Borrowernumber: </label>
162 <input type="text" id="object" name="object" value="[% object | html %]" readonly="readonly" title="This field cannot be modified from the circulation module." />
164 <label for="object">Object: </label>
165 <input type="text" id="object" name="object" value="[% object | html %]" />
169 <label for="info">Info:</label>
170 <input type="text" id="info" name="info" value="[% info | html %]" />
173 <label for="interfaces">Interface:</label>
174 [% IF interfaces.size == 0 %]
175 <label for="interfaceALL" class="viewlog"><input type="checkbox" id="interfaceALL" name="interfaces" value="" checked="checked"> All</label>
177 <label for="interfaceALL" class="viewlog"><input type="checkbox" id="interfaceALL" name="interfaces" value=""> All</label>
180 [% FOREACH interf IN [ 'INTRANET' 'OPAC' 'SIP' 'COMMANDLINE' 'API' ] %]
181 [% IF interfaces.grep(interf).size %]
182 <label for="interface[% interf | html %]" class="viewlog"><input type="checkbox" id="interface[% interf | html %]" name="interfaces" value="[% interf | html %]" checked="checked"> [% PROCESS translate_log_interface log_interface=interf %]</label>
184 <label for="interface[% interf | html %]" class="viewlog"><input type="checkbox" id="interface[% interf | html %]" name="interfaces" value="[% interf | html %]"> [% PROCESS translate_log_interface log_interface=interf %]</label>
189 <label for="from"> Display from: </label> <input type="text" size="10" id="from" name="from" value="[% datefrom | html %]" class="datepickerfrom" />
190 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
193 <label for="to">Display to: </label> <input size="10" id="to" name="to" type="text" value="[% dateto | html %]" class="datepickerto" />
194 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
198 <fieldset class="rows">
199 <legend>Output</legend>
202 <label for="screen" >To screen in the browser:</label> <input id="screen" type="radio" checked="checked" name="output" value="screen" />
205 <label for="file">To a file:</label>
206 <input id="file" type="radio" name="output" value="file" />
207 <label class="inline" for="basename">Named:</label>
208 <input type="text" name="basename" id="basename" value="Export" />
210 <label for="MIME" class="inline">Into an application:</label>
211 [% CGIextChoice | html %]
212 [% CGIsepChoice | html %]
214 <input type="hidden" name="report_name" value="[% report_name | html %]" />
218 <fieldset class="action">
219 <input type="submit" value="Submit" />
220 <input type="hidden" name="do_it" value="1" />
225 <h4>[% total | html %] lines found.</h4>
239 [% FOREACH loopro IN looprow %]
241 <td>[% loopro.timestamp | $KohaDates with_hours=1 %]</td>
243 [% IF loopro.librarian %]
244 <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>
246 [% loopro.user | html %]
249 <td>[% PROCESS translate_log_module module=loopro.module %]</td>
250 <td>[% PROCESS translate_log_action action=loopro.action %]</td>
252 [% IF ( loopro.module == 'MEMBERS' ) || ( loopro.module == 'CIRCULATION' ) || ( loopro.module == 'FINES' ) %]
253 [% IF loopro.patron %]
254 <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>
256 [% loopro.object | html %]
259 [% IF ( loopro.module == 'CATALOGUING' ) %]
260 [% IF ( loopro.info.substr(0, 4) == 'item' ) %]
261 <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
262 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopro.biblionumber | uri %]" title="Display detail for this biblio">Biblio [% loopro.biblionumber | html %]</a>
263 [% ELSIF ( loopro.info.substr(0, 6) == 'biblio' ) %]
264 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopro.object | uri %]" title="Display detail for this biblio">Biblio [% loopro.object | html %]</a>
266 [% loopro.object | html %]
269 [% IF ( loopro.module == 'SERIAL' ) %]
270 <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% loopro.object | uri %]">Subscription [% loopro.object | html %] </a>
272 [% IF ( loopro.module == 'AUTHORITIES' ) %]
273 <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% loopro.object | uri %]" title="Display detail for this authority">Authority [% loopro.object | html %]</a>
275 [% loopro.object | html %]
282 [% IF ( loopro.module == 'CIRCULATION' ) %]
283 <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>
285 [% loopro.info | html %]
288 <td>[% PROCESS translate_log_interface log_interface=loopro.interface %]</td>
294 <div class="dialog alert">
296 [% IF ( CATALOGUING ) %]
297 for <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% object | url %]">Bibliographic record [% object | html %]</a>
300 for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% object | url %]">[% INCLUDE 'patron-title.inc' %]</a>
309 </div> <!-- /.col-sm-10.col-sm-push-2 -->
311 <div class="col-sm-2 col-sm-pull-10">
313 [% IF ( circulation ) %]
314 [% INCLUDE 'circ-menu.inc' %]
316 [% IF ( CATALOGUING ) %]
317 [% INCLUDE 'biblio-view-menu.inc' %]
319 [% INCLUDE 'tools-menu.inc' %]
323 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
324 </div> <!-- /.row -->
326 [% MACRO jsinclude BLOCK %]
327 [% INCLUDE 'calendar.inc' %]
328 [% Asset.js("js/tools-menu.js") | $raw %]
329 [% IF ( circulation ) %]
330 [% INCLUDE 'str/members-menu.inc' %]
331 [% Asset.js("js/members-menu.js") | $raw %]
333 [% Asset.js("js/viewlog.js") | $raw %]
336 [% INCLUDE 'intranet-bottom.inc' %]