diff options
author | Ermal Luçi <ermal.luci@gmail.com> | 2012-07-25 07:20:05 -0700 |
---|---|---|
committer | Ermal Luçi <ermal.luci@gmail.com> | 2012-07-25 07:20:05 -0700 |
commit | a171abeee65f03c2f127ef635e21e883d93964be (patch) | |
tree | e983bc48d2a79b72da7949bca97dc4b59a70f7aa /config/snort/snort_interfaces_whitelist.php | |
parent | d8a9094c00f80da94d6aa60aa2536745ba90f66d (diff) | |
parent | 52b44ab8f4781ebf82821fb4f2968aa360b7b87d (diff) | |
download | pfsense-packages-a171abeee65f03c2f127ef635e21e883d93964be.tar.gz pfsense-packages-a171abeee65f03c2f127ef635e21e883d93964be.tar.bz2 pfsense-packages-a171abeee65f03c2f127ef635e21e883d93964be.zip |
Merge pull request #293 from rbgarga/master
Implement gettext calls and remove unecessary ones
Diffstat (limited to 'config/snort/snort_interfaces_whitelist.php')
-rw-r--r-- | config/snort/snort_interfaces_whitelist.php | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/config/snort/snort_interfaces_whitelist.php b/config/snort/snort_interfaces_whitelist.php index 294deef2..f90cbe1f 100644 --- a/config/snort/snort_interfaces_whitelist.php +++ b/config/snort/snort_interfaces_whitelist.php @@ -124,12 +124,12 @@ if ($savemsg) print_info_box($savemsg); <td valign="middle"><a href="snort_interfaces_whitelist_edit.php?id=<?=$i;?>"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" - width="17" height="17" border="0" title="edit whitelist"></a></td> + width="17" height="17" border="0" title="<?php echo gettext("edit whitelist"); ?>"></a></td> <td><a href="/snort/snort_interfaces_whitelist.php?act=del&id=<?=$i;?>" - onclick="return confirm('Do you really want to delete this whitelist? All elements that still use it will become invalid (e.g. snort rules will fall back to the default whitelist)!')"><img + onclick="return confirm('<?php echo gettext("Do you really want to delete this whitelist? All elements that still use it will become invalid (e.g. snort rules will fall back to the default whitelist)!"); ?>')"><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" - width="17" height="17" border="0" title="delete whitelist"></a></td> + width="17" height="17" border="0" title="<?php echo gettext("delete whitelist"); ?>"></a></td> </tr> </table> </td> @@ -144,7 +144,7 @@ if ($savemsg) print_info_box($savemsg); <td valign="middle"><a href="snort_interfaces_whitelist_edit.php?id=<?php echo $id_gen;?> "><img src="/themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" - width="17" height="17" border="0" title="add a new list"></a></td> + width="17" height="17" border="0" title="<?php echo gettext("add a new list"); ?>"></a></td> </tr> </table> </td> @@ -156,13 +156,13 @@ if ($savemsg) print_info_box($savemsg); <br> <table width="100%" border="0" cellpadding="0" cellspacing="0"> - <td width="100%"><span class="vexpl"><span class="red"><strong>Note:</strong></span> - <p><span class="vexpl">Here you can create whitelist files for your - snort package rules.<br> - Please add all the ips or networks you want to protect against snort - block decisions.<br> - Remember that the default whitelist only includes local networks.<br> - Be careful, it is very easy to get locked out of you system.</span></p></td> + <td width="100%"><span class="vexpl"><span class="red"><strong><?php echo gettext("Note:"); ?></strong></span> + <p><span class="vexpl"><?php echo gettext("Here you can create whitelist files for your " . + "snort package rules."); ?><br> + <?php echo gettext("Please add all the ips or networks you want to protect against snort " . + "block decisions."); ?><br> + <?php echo gettext("Remember that the default whitelist only includes local networks."); ?><br> + <?php echo gettext("Be careful, it is very easy to get locked out of you system."); ?></span></p></td> </table> </form> <?php include("fend.inc"); ?> |