Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
bf9a9697
Commit
bf9a9697
authored
Jul 24, 2015
by
Fabian Franz
Committed by
Franco Fichtner
Jul 25, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed issue also in dynamic view and corrected comment
parent
57526fb8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
+15
-2
diag_logs_filter.php
src/www/diag_logs_filter.php
+1
-1
diag_logs_filter_dynamic.php
src/www/diag_logs_filter_dynamic.php
+14
-1
No files found.
src/www/diag_logs_filter.php
View file @
bf9a9697
...
@@ -712,7 +712,7 @@ include("head.inc");
...
@@ -712,7 +712,7 @@ include("head.inc");
<td
class=
"listMRlr nowrap"
align=
"center"
sorttable_customkey=
"
<?=
$filterent
[
'act'
]
?>
"
>
<td
class=
"listMRlr nowrap"
align=
"center"
sorttable_customkey=
"
<?=
$filterent
[
'act'
]
?>
"
>
<a
onclick=
"javascript:getURL('diag_logs_filter.php?getrulenum=
<?php
echo
"
{
$filterent
[
'rulenum'
]
}
,
{
$filterent
[
'act'
]
}
"
;
?>
', outputrule);"
title=
"
<?php
echo
$filterent
[
'act'
];
?>
"
><span
class=
"glyphicon glyphicon-
<?php
switch
(
$filterent
[
'act'
])
{
<a
onclick=
"javascript:getURL('diag_logs_filter.php?getrulenum=
<?php
echo
"
{
$filterent
[
'rulenum'
]
}
,
{
$filterent
[
'act'
]
}
"
;
?>
', outputrule);"
title=
"
<?php
echo
$filterent
[
'act'
];
?>
"
><span
class=
"glyphicon glyphicon-
<?php
switch
(
$filterent
[
'act'
])
{
case
'pass'
:
case
'pass'
:
echo
"play"
;
/* icon
for a tick
*/
echo
"play"
;
/* icon
triangle
*/
break
;
break
;
case
'match'
:
case
'match'
:
echo
"random"
;
echo
"random"
;
...
...
src/www/diag_logs_filter_dynamic.php
View file @
bf9a9697
...
@@ -124,7 +124,20 @@ include("head.inc");
...
@@ -124,7 +124,20 @@ include("head.inc");
$rowIndex
++
;
?>
$rowIndex
++
;
?>
<tr
class=
"
<?=
$evenRowClass
?>
"
>
<tr
class=
"
<?=
$evenRowClass
?>
"
>
<td
class=
"listMRlr nowrap"
align=
"center"
>
<td
class=
"listMRlr nowrap"
align=
"center"
>
<a
href=
"#"
onclick=
"javascript:getURL('diag_logs_filter.php?getrulenum=
<?php
echo
"
{
$filterent
[
'rulenum'
]
}
,
{
$filterent
[
'act'
]
}
"
;
?>
', outputrule);"
title=
"
<?php
echo
$filterent
[
'act'
];
?>
"
><span
class=
"glyphicon glyphicon-remove"
></span>
<a
href=
"#"
onclick=
"javascript:getURL('diag_logs_filter.php?getrulenum=
<?php
echo
"
{
$filterent
[
'rulenum'
]
}
,
{
$filterent
[
'act'
]
}
"
;
?>
', outputrule);"
title=
"
<?php
echo
$filterent
[
'act'
];
?>
"
><span
class=
"glyphicon glyphicon-
<?php
switch
(
$filterent
[
'act'
])
{
case
'pass'
:
echo
"play"
;
/* icon triangle */
break
;
case
'match'
:
echo
"random"
;
break
;
case
'reject'
:
case
'block'
:
default
:
echo
'remove'
;
/* a x*/
break
;
}
?>
"
></span>
</a>
</a>
</td>
</td>
<td
class=
"listMRr nowrap"
>
<?php
echo
htmlspecialchars
(
$filterent
[
'time'
]);
?>
</td>
<td
class=
"listMRr nowrap"
>
<?php
echo
htmlspecialchars
(
$filterent
[
'time'
]);
?>
</td>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment