|
Lines 118-124
fieldset.rows label.viewlog {
Link Here
|
| 118 |
<li> |
118 |
<li> |
| 119 |
<label for="modules">Modules:</label> |
119 |
<label for="modules">Modules:</label> |
| 120 |
<div class="log_modules"> |
120 |
<div class="log_modules"> |
| 121 |
[% UNLESS modules %] |
121 |
[% IF modules.size == 0 %] |
| 122 |
<label for="moduleALL" class="viewlog"><input type="checkbox" id="moduleALL" name="modules" value="" checked="checked"> All</label> |
122 |
<label for="moduleALL" class="viewlog"><input type="checkbox" id="moduleALL" name="modules" value="" checked="checked"> All</label> |
| 123 |
[% ELSE %] |
123 |
[% ELSE %] |
| 124 |
<label for="moduleALL" class="viewlog"><input type="checkbox" id="moduleALL" name="modules" value=""> All</label> |
124 |
<label for="moduleALL" class="viewlog"><input type="checkbox" id="moduleALL" name="modules" value=""> All</label> |
|
Lines 138-144
fieldset.rows label.viewlog {
Link Here
|
| 138 |
<li> |
138 |
<li> |
| 139 |
<label for="actions">Actions:</label> |
139 |
<label for="actions">Actions:</label> |
| 140 |
<div class="log_modules"> |
140 |
<div class="log_modules"> |
| 141 |
[% UNLESS actions %] |
141 |
[% IF actions.length == 0 %] |
| 142 |
<label for="actionALL" class="viewlog"><input type="checkbox" id="actionALL" name="actions" value="" checked="checked"> All</label> |
142 |
<label for="actionALL" class="viewlog"><input type="checkbox" id="actionALL" name="actions" value="" checked="checked"> All</label> |
| 143 |
[% ELSE %] |
143 |
[% ELSE %] |
| 144 |
<label for="actionALL" class="viewlog"><input type="checkbox" id="actionALL" name="actions" value=""> All</label> |
144 |
<label for="actionALL" class="viewlog"><input type="checkbox" id="actionALL" name="actions" value=""> All</label> |
|
Lines 168-174
fieldset.rows label.viewlog {
Link Here
|
| 168 |
</li> |
168 |
</li> |
| 169 |
<li> |
169 |
<li> |
| 170 |
<label for="interfaces">Interface:</label> |
170 |
<label for="interfaces">Interface:</label> |
| 171 |
[% UNLESS interfaces %] |
171 |
[% IF interfaces.size == 0 %] |
| 172 |
<label for="interfaceALL" class="viewlog"><input type="checkbox" id="interfaceALL" name="interfaces" value="" checked="checked"> All</label> |
172 |
<label for="interfaceALL" class="viewlog"><input type="checkbox" id="interfaceALL" name="interfaces" value="" checked="checked"> All</label> |
| 173 |
[% ELSE %] |
173 |
[% ELSE %] |
| 174 |
<label for="interfaceALL" class="viewlog"><input type="checkbox" id="interfaceALL" name="interfaces" value=""> All</label> |
174 |
<label for="interfaceALL" class="viewlog"><input type="checkbox" id="interfaceALL" name="interfaces" value=""> All</label> |
|
Lines 176-184
fieldset.rows label.viewlog {
Link Here
|
| 176 |
|
176 |
|
| 177 |
[% FOREACH interf IN [ 'INTRANET' 'OPAC' 'SIP' 'COMMANDLINE' ] %] |
177 |
[% FOREACH interf IN [ 'INTRANET' 'OPAC' 'SIP' 'COMMANDLINE' ] %] |
| 178 |
[% IF interfaces.grep(interf).size %] |
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> |
179 |
<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> |
| 180 |
[% ELSE %] |
180 |
[% ELSE %] |
| 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> |
181 |
<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> |
| 182 |
[% END %] |
182 |
[% END %] |
| 183 |
[% END %] |
183 |
[% END %] |
| 184 |
</li> |
184 |
</li> |