Преглед изворни кода

Add placeholder info firewall (#1556)

* Add placeholder info firewall

* Typo: All port instead of ports
Jaap Marcus пре 5 година
родитељ
комит
0fdfc846cd
2 измењених фајлова са 6 додато и 6 уклоњено
  1. 3 3
      web/templates/admin/add_firewall.html
  2. 3 3
      web/templates/admin/edit_firewall.html

+ 3 - 3
web/templates/admin/add_firewall.html

@@ -80,17 +80,17 @@
                             </tr>
                             <tr>
                                 <td class="vst-text input-label">
-                                    <?php print _('Port');?> <span class="optional">(<?php print _('ranges are acceptable');?>)</span>
+                                    <?php print _('Port');?> <span class="optional">(<?php print _('Ranges and Lists are acceptable');?>)</span>
                                 </td>
                             </tr>
                             <tr>
                                 <td>
-                                    <input type="text" size="20" class="vst-input" name="v_port" value="<?=htmlentities(trim($v_port, "'"))?>">
+                                    <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');?>">
                                 </td>
                             </tr>
                             <tr>
                                 <td class="vst-text input-label">
-                                    <?php print _('IP address');?> <span class="optional">(<?php print _('CIDR format is supported');?>)</span>
+                                    <?php print _('IP address / IPset');?> <span class="optional">(<?php print _('CIDR format is supported');?>)</span>
                                 </td>
                             </tr>
                             <tr>

+ 3 - 3
web/templates/admin/edit_firewall.html

@@ -83,17 +83,17 @@
                             </tr>
                             <tr>
                                 <td class="vst-text input-label">
-                                    <?php print _('Port');?> <span class="optional">(<?php print _('ranges are acceptable');?>)</span>
+                                    <?php print _('Port');?> <span class="optional">(<?php print _('Ranges and Lists are acceptable');?>)</span>
                                 </td>
                             </tr>
                             <tr>
                                 <td>
-                                    <input type="text" size="20" class="vst-input" name="v_port" value="<?=htmlentities(trim($v_port, "'"))?>">
+                                    <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');?>">
                                 </td>
                             </tr>
                             <tr>
                                 <td class="vst-text input-label">
-                                    <?php print _('IP address');?> <span class="optional">(<?php print _('CIDR format is supported');?>)</span>
+                                    <?php print _('IP address / IPset');?> <span class="optional">(<?php print _('CIDR format is supported');?>)</span>
                                 </td>
                             </tr>
                             <tr>