Bug 14233: Select the correct tab
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / tools / viewlog.tt
1 [% USE raw %]
2 [% USE Asset %]
3 [% USE Koha %]
4 [% USE AuthorisedValues %]
5 [% USE Branches %]
6 [% USE KohaDates %]
7 [% USE TablesSettings %]
8 [% SET footerjs = 1 %]
9 [% INCLUDE 'doc-head-open.inc' %]
10 <title>
11         Koha &rsaquo; Tools &rsaquo;
12         [% IF ( do_it ) %]
13                 Logs &rsaquo; Results
14         [% ELSE %]
15                 Logs
16         [% END %]
17 </title>
18 [% INCLUDE 'doc-head-close.inc' %]
19 [% Asset.css("css/humanmsg.css") | $raw %]
20 [% FILTER collapse %]
21     <style>
22         fieldset.rows label.viewlog {
23             float: none;
24             font-weight: normal;
25             margin: 0;
26             min-width: 9em;
27             padding: .5em;
28             text-align: left;
29             white-space: nowrap;
30             width: auto;
31         }
32         .log_modules {
33             display: flex;
34             flex-wrap: wrap;
35         }
36         .compare_info {
37             background-color: #E6F0F2;
38             margin: .5em -.5em -.5em -.5em;
39             padding: .5em;
40             text-align: right;
41         }
42         .modal-dialog {
43             width : 90%;
44         }
45         /* jsdiff styles */
46         ins {
47             background-color: #e6ffe6;
48         }
49         del {
50             background-color: #ffe6e6;
51         }
52         #col1 ins,
53         #col2 del {
54             display: none;
55         }
56         pre {
57             overflow: scroll;
58             padding: 10px;
59         }
60     </style>
61 [% END %]
62 </head>
63
64 <body id="tools_viewlog" class="tools">
65 [% INCLUDE 'header.inc' %]
66 [% INCLUDE 'cat-search.inc' %]
67
68 [% BLOCK translate_log_module %]
69 [%    SWITCH module %]
70 [%        CASE 'AUTH'         %]Authentication[% UNLESS Koha.Preference('AuthFailureLog') || Koha.Preference('AuthScuccessLog') %] <i class="fa fa-warning" title="Log not enabled"></i>[% END %]
71 [%        CASE 'CATALOGUING'  %]Catalog[% UNLESS Koha.Preference('CataloguingLog') %] <i class="fa fa-warning" title="Log not enabled"></i>[% END %]
72
73 [%        CASE 'AUTHORITIES'  %]Authorities[% UNLESS Koha.Preference('AuthoritiesLog') %] <i class="fa fa-warning" title="Log not enabled"></i>[% END %]
74
75 [%        CASE 'MEMBERS'      %]Patrons[% UNLESS Koha.Preference('BorrowersLog') %] <i class="fa fa-warning" title="Log not enabled"></i>[% END %]
76
77 [%        CASE 'ACQUISITIONS' %]Acquisitions <i class="fa fa-warning" title="Log not enabled"></i>
78
79 [%        CASE 'SERIAL'       %]Serials[% UNLESS Koha.Preference('SubscriptionLog') %] <i class="fa fa-warning" title="Log not enabled"></i>[% END %]
80
81 [%        CASE 'HOLDS'        %]Holds[% UNLESS Koha.Preference('HoldsLog') %] <i class="fa fa-warning" title="Log not enabled"></i>[% END %]
82
83 [%        CASE 'ILL'          %]Interlibrary loans[% UNLESS Koha.Preference('IllLog') %] <i class="fa fa-warning" title="Log not enabled"></i>[% END %]
84
85 [%        CASE 'CIRCULATION'  %]Circulation[% UNLESS Koha.Preference('IssueLog') %] <i class="fa fa-warning" title="Log not enabled"></i>[% END %]
86
87 [%        CASE 'LETTER'       %]Letter[% UNLESS Koha.Preference('LetterLog') %] <i class="fa fa-warning" title="Log not enabled"></i>[% END %]
88
89 [%        CASE 'FINES'        %]Fines[% UNLESS Koha.Preference('FinesLog') %] <i class="fa fa-warning" title="Log not enabled"></i>[% END %]
90
91 [%        CASE 'SYSTEMPREFERENCE' %]System prefs
92
93 [%        CASE 'CRONJOBS' %]Cron jobs[% UNLESS Koha.Preference('CronjobLog') %] <i class="fa fa-warning" title="Log not enabled"></i>[% END %]
94
95 [%        CASE 'REPORTS'      %]Reports[% UNLESS Koha.Preference('ReportsLog') %] <i class="fa fa-warning" title="Log not enabled"></i>[% END %]
96
97 [%        CASE 'SEARCHENGINE' %]Search engine
98
99 [%        CASE 'NOTICES'      %]Notices[% UNLESS Koha.Preference('NoticesLog') %] <i class="fa fa-warning" title="Log not enabled"></i>[% END %]
100 [%        CASE %][% module | html %]
101 [%    END %]
102 [% END %]
103
104 [% BLOCK translate_log_action %]
105 [%    SWITCH action %]
106 [%        CASE 'ADD'    %]Add
107 [%        CASE 'DELETE' %]Delete
108 [%        CASE 'MODIFY' %]Modify
109 [%        CASE 'ISSUE'  %]Checkout
110 [%        CASE 'RETURN' %]Return
111 [%        CASE 'CREATE' %]Create
112 [%        CASE 'CANCEL' %]Cancel
113 [%        CASE 'RESUME' %]Resume
114 [%        CASE 'SUSPEND' %]Suspend
115 [%        CASE 'RENEW'  %]Renew
116 [%        CASE 'RENEWAL' %]Renew
117 [%        CASE 'CHANGE PASS' %]Change password
118 [%        CASE 'ADDCIRCMESSAGE' %]Add circulation message
119 [%        CASE 'DELCIRCMESSAGE' %]Delete circulation message
120 [%        CASE 'STATUS_CHANGE'  %]Change ILL request status
121 [%        CASE 'PATRON_NOTICE'  %]ILL notice sent to patron
122 [%        CASE 'Run'    %]Run
123 [%        CASE 'EDIT_MAPPINGS' %]Edit mappings
124 [%        CASE 'RESET_MAPPINGS' %]Reset mappings
125 [%        CASE %][% action | html %]
126 [%    END %]
127 [% END %]
128
129 [% BLOCK translate_log_interface %]
130 [%    SWITCH log_interface.upper %]
131 [%        CASE 'INTRANET'    %]Intranet
132 [%        CASE 'OPAC'        %]OPAC
133 [%        CASE 'SIP'         %]SIP
134 [%        CASE 'COMMANDLINE' %]Command-line
135 [%        CASE 'API'         %]REST API
136 [%        CASE 'CRON'        %]Cron job
137 [%        CASE %][% log_interface | html %]
138 [%    END %]
139 [% END %]
140
141 <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
142     <ol>
143         <li>
144             <a href="/cgi-bin/koha/mainpage.pl">Home</a>
145         </li>
146         <li>
147             <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
148         </li>
149         [% IF ( do_it ) %]
150             <li>
151                 <a href="/cgi-bin/koha/tools/viewlog.pl">Logs</a>
152             </li>
153             <li>
154                 <a href="#" aria-current="page">
155                     Results
156                 </a>
157             </li>
158         [% ELSE %]
159             <li>
160                 <a href="#" aria-current="page">
161                     Logs
162                 </a>
163             </li>
164         [% END %]
165     </ol>
166 </nav>
167
168 <div class="main container-fluid">
169     <div class="row">
170         <div class="col-sm-10 col-sm-push-2">
171             <main>
172
173                                 <h1>Browse system logs</h1>
174                                 <form method="post" action="/cgi-bin/koha/tools/viewlog.pl">
175                                         [% IF ( do_it ) %]
176                                                 <input type="hidden" name="do_it" value="[% do_it | html %]" />
177                                         [% END %]
178                     <input type="hidden" name="src" value="[% src | html %]" />
179                                         <fieldset class="rows">
180                                                 <ol>
181                                                         <li>
182                                                                 <label for="user">Librarian:</label>
183                                 <input type="text" name="user" id="user" value="[% user | html %]" />
184                                                         </li>
185                             [% UNLESS src == "circ" %]
186                                 <li>
187                                     <label>Modules:</label>
188                                     <div class="log_modules">
189                                         [% IF modules.size == 0 %]
190                                             <label for="moduleALL" class="viewlog"><input type="checkbox" id="moduleALL" name="modules" value="" checked="checked"> All</label>
191                                         [% ELSE %]
192                                             <label for="moduleALL" class="viewlog"><input type="checkbox" id="moduleALL" name="modules" value=""> All</label>
193                                         [% END %]
194                                         [% FOREACH modx IN [ 'AUTH' 'CATALOGUING' 'AUTHORITIES' 'MEMBERS' 'ACQUISITIONS' 'SERIAL' 'HOLDS' 'ILL' 'CIRCULATION' 'LETTER' 'FINES' 'SYSTEMPREFERENCE' 'CRONJOBS', 'REPORTS', 'SEARCHENGINE', 'NOTICES' ] %]
195                                             [% IF modules.grep(modx).size %]
196                                                 <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>
197                                             [% ELSE %]
198                                                 <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>
199                                             [% END %]
200                                         [% END %]
201                                     </div>
202                                 </li>
203                             [% ELSE %]
204                                 <input type="hidden" name="modules" value="MEMBERS" />
205                                 <input type="hidden" name="modules" value="CIRCULATION" />
206                             [% END %]
207                             <li>
208                                 <label>Actions:</label>
209                                 <div class="log_modules">
210                                     [% IF actions.length == 0 %]
211                                         <label for="actionALL" class="viewlog"><input type="checkbox" id="actionALL" name="actions" value="" checked="checked"> All</label>
212                                     [% ELSE %]
213                                         <label for="actionALL" class="viewlog"><input type="checkbox" id="actionALL" name="actions" value=""> All</label>
214                                     [% END %]
215
216                                     [% FOREACH actx IN [ 'ADD' 'DELETE' 'MODIFY' 'ISSUE' 'RETURN' 'RENEW' 'CREATE' 'CANCEL' 'SUSPEND' 'RESUME' 'ADDCIRCMESSAGE' 'DELCIRCMESSAGE' 'STATUS_CHANGE' 'PATRON_NOTICE' 'CHANGE PASS' 'Run' 'EDIT_MAPPINGS' 'RESET_MAPPINGS' ] %]
217                                         [% IF actions.grep(actx).size %]
218                                             <label for="action[% actx| replace('\s+', '_') | html %]" class="viewlog"><input type="checkbox" id="action[% actx | replace('\s+', '_') | html %]" name="actions" value="[% actx | html %]" checked="checked"> [% PROCESS translate_log_action action=actx %]</label>
219                                         [% ELSE %]
220                                             <label for="action[% actx| replace('\s+', '_') | html %]" class="viewlog"><input type="checkbox" id="action[% actx | replace('\s+', '_') | html %]" name="actions" value="[% actx | html %]"> [% PROCESS translate_log_action action=actx %]</label>
221                                         [% END %]
222                                     [% END %]
223                                 </div>
224                             </li>
225                             <li>
226                                 [% IF src == 'circ' %]
227                                     <label for="object">Borrowernumber: </label>
228                                     <input type="text" id="object" name="object" value="[% object | html %]" readonly="readonly" title="This field cannot be modified from the circulation module." />
229                                 [% ELSE %]
230                                     <label for="object">Object: </label>
231                                     <input type="text" id="object" name="object" value="[% object | html %]" />
232                                 [% END %]
233                             </li>
234                                                         <li>
235                                                                 <label for="info">Info:</label>
236                                 <input type="text" id="info" name="info" value="[% info | html %]" />
237                                                         </li>
238                             <li>
239                                 <label>Interface:</label>
240                                 [% IF interfaces.size == 0 %]
241                                     <label for="interfaceALL" class="viewlog"><input type="checkbox" id="interfaceALL" name="interfaces" value="" checked="checked"> All</label>
242                                 [% ELSE %]
243                                     <label for="interfaceALL" class="viewlog"><input type="checkbox" id="interfaceALL" name="interfaces" value=""> All</label>
244                                 [% END %]
245
246                                 [% FOREACH interf IN [ 'INTRANET' 'OPAC' 'SIP' 'COMMANDLINE' 'API' 'CRON' ] %]
247                                     [% IF interfaces.grep(interf).size %]
248                                         <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>
249                                     [% ELSE %]
250                                         <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>
251                                     [% END %]
252                                 [% END %]
253                             </li>
254                                                         <li>
255                                 <label for="from"> Display from: </label> <input type="text" size="10" id="from" name="from" value="[% datefrom | html %]" class="datepickerfrom" />
256                                 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
257                                                         </li>
258                                                         <li>
259                                 <label for="to">Display to: </label> <input size="10" id="to" name="to" type="text" value="[% dateto | html %]" class="datepickerto" />
260                                 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
261                                                         </li>
262                                                 </ol>
263                                         </fieldset>
264                                         <fieldset class="rows">
265                                                 <legend>Output</legend>
266                                                 <ol>
267                                                         <li>
268                                                                 <label for="screen" >To screen in the browser:</label> <input id="screen" type="radio" checked="checked" name="output" value="screen" />
269                                                         </li>
270                                                         <li>
271                                                                 <label for="file">To a file:</label>
272                                                                 <input id="file" type="radio" name="output" value="file" />
273                                                                 <label class="inline" for="basename">Named:</label>
274                                                                 <input type="text" name="basename" id="basename" value="Export" />
275                                                                 <!--
276                                                                         <label for="MIME" class="inline">Into an application:</label>
277                                                                         [% CGIextChoice | html %]
278                                                                         [% CGIsepChoice | html %]
279                                                                 -->
280                                                                 <input type="hidden" name="report_name" value="[% report_name | html %]" />
281                                                         </li>
282                                                 </ol>
283                                         </fieldset>
284                                         <fieldset class="action">
285                                                 <input type="submit" value="Submit" />
286                                                 <input type="hidden" name="do_it" value="1" />
287                                         </fieldset>
288                         </form>
289                 [% IF ( do_it ) %]
290                     [% IF ( total ) %]
291                         <h3>Log entries</h3>
292                         <div id="toolbar" class="btn-toolbar">
293                             <a href="#" id="select_none" class="btn btn-link disabled"><i class="fa fa-remove"></i> Check none</a>
294                             <button class="btn btn-link disabled compare_link"><i class="fa fa-columns"></i> Compare selected</button>
295                         </div>
296                         <table id="logst">
297                             <thead>
298                                 <tr>
299                                     <th>Date</th>
300                                     <th>Librarian</th>
301                                     <th>Module</th>
302                                     <th>Action</th>
303                                     <th>Object</th>
304                                     <th>Info</th>
305                                     <th>Interface</th>
306                                 </tr>
307                             </thead>
308                             <tbody>
309                             [% FOREACH loopro IN looprow %]
310                                 <tr>
311                                     <td data-order="[% loopro.timestamp | html %]">[% loopro.timestamp | $KohaDates with_hours=1 %]</td>
312                                     <td>
313                                         [% IF loopro.librarian %]
314                                             <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>
315                                         [% ELSE %]
316                                             [% loopro.user | html %]
317                                         [% END %]
318                                     </td>
319                                     <td>[% PROCESS translate_log_module module=loopro.module %]</td>
320                                     <td>[% PROCESS translate_log_action action=loopro.action %]</td>
321                                     <td>
322                                         [% IF ( loopro.module == 'MEMBERS' ) || ( loopro.module == 'CIRCULATION' ) || ( loopro.module == 'FINES' ) %]
323                                             [% IF loopro.patron %]
324                                                 <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>
325                                             [% ELSE %]
326                                                 [% loopro.object | html %]
327                                             [% END %]
328                                         [% ELSIF ( loopro.module == 'CATALOGUING' ) %]
329                                             [% IF ( loopro.info.substr(0, 4) == 'item' ) %]
330                                                 <a href="/cgi-bin/koha/catalogue/moredetail.pl?item=[% loopro.object | uri %]&amp;biblionumber=[% loopro.biblionumber | uri %]&amp;bi=[% loopro.biblioitemnumber | uri %]#item[% loopro.object | uri %]">Item [% loopro.object | html %]</a> from
331                                                 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopro.biblionumber | uri %]" title="Display detail for this biblio">Biblio [% loopro.biblionumber | html %]</a>
332                                             [% ELSIF ( loopro.info.substr(0, 6) == 'biblio' ) %]
333                                                 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopro.object | uri %]" title="Display detail for this biblio">Biblio [% loopro.object | html %]</a>
334                                             [% ELSE %]
335                                                 [% loopro.object | html %]
336                                             [% END %]
337                                         [% ELSIF ( loopro.module == 'SERIAL' ) %]
338                                             <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% loopro.object | uri %]">Subscription [% loopro.object | html %] </a>
339                                         [% ELSIF ( loopro.module == 'AUTHORITIES' ) %]
340                                             <a href="/cgi-bin/koha/authorities/detail.pl?authid=[% loopro.object | uri %]" title="Display detail for this authority">Authority [% loopro.object | html %]</a>
341                                         [% ELSIF ( loopro.module == 'NOTICES' ) %]
342                                             [% IF ( loopro.notice ) %]
343                                                 <a href="/cgi-bin/koha/tools/letter.pl?op=add_form&branchcode=[% loopro.notice.branchcode | uri %]&module=[% loopro.notice.module | uri %]&code=[% loopro.notice.code | uri %]#lang_[% loopro.notice.lang | uri %]">Notice [% loopro.notice.title | html %] ([% loopro.notice.code | html %])</a>
344                                             [% ELSE %]
345                                                 [% loopro.object | html %]
346                                             [% END %]
347                                         [% ELSE %]
348                                             [% loopro.object | html %]
349                                         [% END %]
350                                     </td>
351                                     <td>
352                                         [% IF ( loopro.module == 'CIRCULATION' ) %]
353                                             <a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% loopro.info | uri %]&amp;biblionumber=[% loopro.biblionumber | uri %]&amp;bi=[% loopro.biblioitemnumber | uri %]#item[% loopro.info | uri %]" title="Display detail for this item">Item [% loopro.barcode | html %]</a>
354                                         [% ELSE %]
355                                             [% IF loopro.module == "SYSTEMPREFERENCE" || loopro.module == "REPORTS" %]
356                                                 <div class="loginfo" id="loginfo[% loopro.action_id | html %]">[% loopro.info | trim | html %]</div>
357                                                 <div class="compare_info" id="compare_info[% loopro.action_id | html %]">
358                                                     <label><input type="checkbox" name="diff" id="action_id[% loopro.action_id | html %]" data-actionid="[% loopro.action_id | html %]" data-filter="[% FOREACH info IN loopro.info.split(' \| ') %][% IF loop.first %][% info | html %][% END %][% END %]" class="compare" /> Compare</label>
359                                                 </div>
360                                             [% ELSIF loopro.module == "NOTICES" %]
361                                                 <div class="loginfo" id="loginfo[% loopro.action_id | html %]">[% loopro.info | trim | html %]</div>
362                                                 <div class="compare_info" id="compare_info[% loopro.action_id | html %]">
363                                                     <label><input type="checkbox" name="diff" id="action_id[% loopro.action_id | html %]" data-actionid="[% loopro.action_id | html %]" data-filter="[% IF loopro.notice %][% loopro.notice.title | html %][% ELSE %][% loopro.object | html %][% END %]" class="compare" /> Compare</label>
364                                                 </div>
365                                             [% ELSE %]
366                                                 <div class="loginfo" id="loginfo[% loopro.action_id | html %]">
367                                                     [% loopro.info | html %]
368                                                 </div>
369                                             [% END %]
370                                         [% END %]
371                                     </td>
372                                     <td>[% PROCESS translate_log_interface log_interface=loopro.interface %]</td>
373                                 </tr>
374                             [% END %]
375                             </tbody>
376                         </table>
377                     [% ELSE %]
378                         <div class="dialog alert">
379                             No log found
380                             [% IF ( CATALOGUING ) %]
381                                 for <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% object | url %]">Bibliographic record [% object | html %]</a>
382                             [% END %]
383                             [% IF ( MEMBERS ) %]
384                                 for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% object | url %]">[% INCLUDE 'patron-title.inc' %]</a>
385                             [% END %]
386                             .
387                         </div>
388                     [% END %]
389                 [% END %]
390
391
392             </main>
393         </div> <!-- /.col-sm-10.col-sm-push-2 -->
394
395         <div class="col-sm-2 col-sm-pull-10">
396             <aside>
397                 [% IF ( circulation ) %]
398                     [% INCLUDE 'circ-menu.inc' %]
399                 [% ELSE %]
400                     [% IF ( CATALOGUING ) %]
401                         [% INCLUDE 'biblio-view-menu.inc' %]
402                     [% ELSE %]
403                         [% INCLUDE 'tools-menu.inc' %]
404                     [% END %]
405                 [% END %]
406             </aside>
407         </div> <!-- /.col-sm-2.col-sm-pull-10 -->
408      </div> <!-- /.row -->
409
410 <div class="modal" id="compareInfo" tabindex="-1" role="dialog" aria-labelledby="compareInfoLabel">
411     <div class="modal-dialog modal-lg" role="document">
412         <div class="modal-content">
413             <div class="modal-header">
414                 <button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
415                 <h4 class="modal-title" id="compareInfoLabel">Compare preference values</h4>
416             </div>
417             <div class="modal-body">
418                 <div class="row">
419                     <div class="compare_pane col-sm-6" id="col1">
420                         <h5>Older version</h5>
421                         <pre></pre>
422                     </div>
423                     <div class="compare_pane col-sm-6" id="col2">
424                         <h5>Newer version</h5>
425                         <pre></pre>
426                     </div>
427                 </div>
428             </div> <!-- /.modal-body -->
429             <div class="modal-footer">
430                 <button type="button" class="btn btn-default deny" data-dismiss="modal">Close</button>
431             </div>
432         </div> <!-- /.modal-content -->
433     </div> <!-- /.modal-dialog -->
434 </div> <!-- /#compareInfo -->
435
436 [% MACRO jsinclude BLOCK %]
437     [% INCLUDE 'calendar.inc' %]
438     [% INCLUDE 'datatables.inc' %]
439     [% INCLUDE 'columns_settings.inc' %]
440     [% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %]
441     [% Asset.js("js/tools-menu.js") | $raw %]
442     [% Asset.js("lib/hc-sticky.js") | $raw %]
443     [% IF ( circulation ) %]
444         [% INCLUDE 'str/members-menu.inc' %]
445         [% Asset.js("js/members-menu.js") | $raw %]
446     [% END %]
447     [% Asset.js("lib/jsdiff/jsdiff.min.js") | $raw %]
448     <script>
449         var columns_settings = [% TablesSettings.GetColumns('tools', 'logviewer', 'logst', 'json') | $raw %];
450     </script>
451     [% Asset.js("js/viewlog.js") | $raw %]
452 [% END %]
453
454 [% INCLUDE 'intranet-bottom.inc' %]