|
|
@@ -72,8 +72,8 @@
|
|
|
}
|
|
|
?>
|
|
|
|
|
|
- <div class="l-unit<? if($status == 'suspended') echo ' l-unit--suspended'; if($_SESSION['favourites']['FIREWALL'][$key] == 1) echo ' l-unit--starred'; ?>" v_unit_id="<?=$key?>" v_section="firewall"
|
|
|
-sort-action="<?=$data[$key]['ACTION']?>" sort-protocol="<?=$data[$key]['PROTOCOL']?>" sort-port="<?=$data[$key]['PORT']?>"
|
|
|
+ <div class="l-unit<? if($status == 'suspended') echo ' l-unit--suspended'; if($_SESSION['favourites']['FIREWALL'][$key] == 1) echo ' l-unit--starred'; ?>" v_unit_id="<?=$key?>" v_section="firewall"
|
|
|
+sort-action="<?=$data[$key]['ACTION']?>" sort-protocol="<?=$data[$key]['PROTOCOL']?>" sort-port="<?=$data[$key]['PORT']?>"
|
|
|
sort-ip="<?=str_replace('.', '', $data[$key]['IP'])?>" sort-comment="<?=$data[$key]['COMMENT']?>" sort-star="<? if($_SESSION['favourites']['FIREWALL'][$key] == 1) echo '1'; else echo '2'; ?>">
|
|
|
<div class="l-unit-toolbar clearfix">
|
|
|
<div class="l-unit-toolbar__col l-unit-toolbar__col--left">
|
|
|
@@ -121,11 +121,11 @@ sort-ip="<?=str_replace('.', '', $data[$key]['IP'])?>" sort-comment="<?=$data[$k
|
|
|
<!-- /.l-unit__col -->
|
|
|
<div class="l-unit__col l-unit__col--right">
|
|
|
<div class="l-unit__stats">
|
|
|
- <div class="clearfix l-unit__stat-col--left"><b><?=$data[$key]['ACTION'] ?></b></div>
|
|
|
- <div class="clearfix l-unit__stat-col--left compact"><b><?=$data[$key]['PROTOCOL']?></b></div>
|
|
|
+ <div class="clearfix l-unit__stat-col--left"><b><?=__($data[$key]['ACTION'])?></b></div>
|
|
|
+ <div class="clearfix l-unit__stat-col--left compact"><b><?=__($data[$key]['PROTOCOL'])?></b></div>
|
|
|
<div class="clearfix l-unit__stat-col--left wide-2"><? if(!empty($data[$key]['COMMENT'])) echo '/ ' . $data[$key]['COMMENT']; else echo " "; ?></div>
|
|
|
- <div class="clearfix l-unit__stat-col--left wide"><b><?=$data[$key]['PORT'] ?></b></div>
|
|
|
- <div class="clearfix l-unit__stat-col--left"><b><?=$data[$key]['IP'] ?></b></div>
|
|
|
+ <div class="clearfix l-unit__stat-col--left wide"><b><?=$data[$key]['PORT']?></b></div>
|
|
|
+ <div class="clearfix l-unit__stat-col--left"><b><?=$data[$key]['IP']?></b></div>
|
|
|
</div>
|
|
|
<!-- /.l-unit__stats -->
|
|
|
</div>
|