mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
Translate page titles, dialog captions, 'Shortcuts', firewall actions & protocols, and list2ban chains
I think protocols and chains shouldn't be translated
This commit is contained in:
parent
7be9a01b8d
commit
e76c3fd808
8 changed files with 37 additions and 37 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue