Skip to content

Commit 0fdfc84

Browse files
authored
Add placeholder info firewall (hestiacp#1556)
* Add placeholder info firewall * Typo: All port instead of ports
1 parent 5cbf835 commit 0fdfc84

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

web/templates/admin/add_firewall.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,17 +80,17 @@
8080
</tr>
8181
<tr>
8282
<td class="vst-text input-label">
83-
<?php print _('Port');?> <span class="optional">(<?php print _('ranges are acceptable');?>)</span>
83+
<?php print _('Port');?> <span class="optional">(<?php print _('Ranges and Lists are acceptable');?>)</span>
8484
</td>
8585
</tr>
8686
<tr>
8787
<td>
88-
<input type="text" size="20" class="vst-input" name="v_port" value="<?=htmlentities(trim($v_port, "'"))?>">
88+
<input type="text" size="20" class="vst-input" name="v_port" value="<?=htmlentities(trim($v_port, "'"))?>" placeholder="<?php print _('All ports: 0, Range: 80-82, List: 80,443,8080,8443');?>">
8989
</td>
9090
</tr>
9191
<tr>
9292
<td class="vst-text input-label">
93-
<?php print _('IP address');?> <span class="optional">(<?php print _('CIDR format is supported');?>)</span>
93+
<?php print _('IP address / IPset');?> <span class="optional">(<?php print _('CIDR format is supported');?>)</span>
9494
</td>
9595
</tr>
9696
<tr>

web/templates/admin/edit_firewall.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,17 +83,17 @@
8383
</tr>
8484
<tr>
8585
<td class="vst-text input-label">
86-
<?php print _('Port');?> <span class="optional">(<?php print _('ranges are acceptable');?>)</span>
86+
<?php print _('Port');?> <span class="optional">(<?php print _('Ranges and Lists are acceptable');?>)</span>
8787
</td>
8888
</tr>
8989
<tr>
9090
<td>
91-
<input type="text" size="20" class="vst-input" name="v_port" value="<?=htmlentities(trim($v_port, "'"))?>">
91+
<input type="text" size="20" class="vst-input" name="v_port" value="<?=htmlentities(trim($v_port, "'"))?>" placeholder="<?php print _('All ports: 0, Range: 80-82, List: 80,443,8080,8443');?>">
9292
</td>
9393
</tr>
9494
<tr>
9595
<td class="vst-text input-label">
96-
<?php print _('IP address');?> <span class="optional">(<?php print _('CIDR format is supported');?>)</span>
96+
<?php print _('IP address / IPset');?> <span class="optional">(<?php print _('CIDR format is supported');?>)</span>
9797
</td>
9898
</tr>
9999
<tr>

0 commit comments

Comments
 (0)