Lex audit files
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
% layout 'default', title => "Sme server 2 - viewlogfiles";
|
||||
% layout "default", title => "Sme server 2 - viewlogfiles";
|
||||
|
||||
% content_for 'module' => begin
|
||||
<div id='module' class='module viewlogfiles-panel'>
|
||||
% content_for "module" => begin
|
||||
<div id="module" class="module viewlogfiles-panel">
|
||||
%if (config->{debug} == 1) {
|
||||
<p>
|
||||
(DBG)route: <%= $c->current_route %><br>
|
||||
@@ -10,59 +10,59 @@
|
||||
<h1><%= $title %></h1>
|
||||
<br>
|
||||
<%= $notif %>
|
||||
<% my $btn = l('NEXT'); %>
|
||||
<% my $btn = l("NEXT"); %>
|
||||
|
||||
%= form_for 'viewlogfiles' => (method => 'POST') => begin
|
||||
%= form_for "viewlogfiles" => (method => "POST") => begin
|
||||
<p>
|
||||
%=l 'log_FIRSTPAGE_DESC'
|
||||
%=l "log_FIRSTPAGE_DESC"
|
||||
<br>
|
||||
<span class=label>
|
||||
%=l 'log_LOG_FILE_SELECT_DESC'
|
||||
%=l "log_LOG_FILE_SELECT_DESC"
|
||||
</span><span class=data>
|
||||
% param 'Filename' => 'messages';
|
||||
<!-- select_field 'Filename' => [['toto'], ['tata']], class => 'input' -->
|
||||
%= select_field 'Filename' => $c->findlogFiles(), class => 'input'
|
||||
% param "Filename" => "messages";
|
||||
<!-- select_field "Filename" => [["toto"], ["tata"]], class => "input" -->
|
||||
%= select_field "Filename" => $c->findlogFiles(), class => "input"
|
||||
</span>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
%=l 'log_FILTER_PATTERN_DESC'
|
||||
%=l "log_FILTER_PATTERN_DESC"
|
||||
<br>
|
||||
<span class=label>
|
||||
%=l 'log_FILTER_PATTERN_LABEL'
|
||||
%=l "log_FILTER_PATTERN_LABEL"
|
||||
</span><span class=data>
|
||||
%= text_field 'Matchpattern', class => 'input'
|
||||
%= text_field "Matchpattern", class => "input"
|
||||
</span>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
%=l 'log_MATCH_PATTERN_DESC'
|
||||
%=l "log_MATCH_PATTERN_DESC"
|
||||
<br>
|
||||
<span class=label>
|
||||
%=l 'log_MATCH_PATTERN_LABEL'
|
||||
%=l "log_MATCH_PATTERN_LABEL"
|
||||
</span><span class=data>
|
||||
%= text_field 'Highlightpattern', class => 'input'
|
||||
%= text_field "Highlightpattern", class => "input"
|
||||
</span>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
%=l 'log_OP_DESC'
|
||||
%=l "log_OP_DESC"
|
||||
<br>
|
||||
<span class=label>
|
||||
%=l 'log_OP_LABEL'
|
||||
%=l "Operation"
|
||||
</span><span class=data>
|
||||
%if ($log_datas->{'default_op'} eq 'download') {
|
||||
% param 'Operation' => 'download';
|
||||
%if ($log_datas->{"default_op"} eq "download") {
|
||||
% param "Operation" => "download";
|
||||
%}
|
||||
%= select_field 'Operation' => [[(l 'log_VIEW') => 'view'],[(l 'DOWNLOAD') => 'download']], class => 'input'
|
||||
%= select_field "Operation" => [[(l "log_VIEW") => "view"],[(l "DOWNLOAD") => "download"]], class => "input"
|
||||
</span>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
%=l 'log_END_DESC'
|
||||
%=l "log_END_DESC"
|
||||
</p>
|
||||
|
||||
%= submit_button "$btn", class => 'action'
|
||||
%= submit_button "$btn", class => "action"
|
||||
% end
|
||||
</div>
|
||||
%end
|
||||
|
Reference in New Issue
Block a user