summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-10-30 14:05:57 -0400
committerStephen Beaver <sbeaver@netgate.com>2015-10-30 14:05:57 -0400
commitfd061309f76df0f8bc22cc6b6e274d31dad190b2 (patch)
treed63efc1cbe110fc618e6e1b1c638c7491423f5a1
parent092e7a96fc56e93f540612ce010e8a41f577dd68 (diff)
parent449ab605b44db2411e84c333b3f09302a5d08310 (diff)
downloadpfsense-fd061309f76df0f8bc22cc6b6e274d31dad190b2.zip
pfsense-fd061309f76df0f8bc22cc6b6e274d31dad190b2.tar.gz
Merge pull request #2004 from heper/patch-1
-rw-r--r--src/usr/local/www/firewall_aliases.php6
-rw-r--r--src/usr/local/www/firewall_schedule.php6
-rw-r--r--src/usr/local/www/firewall_virtual_ip.php6
3 files changed, 9 insertions, 9 deletions
diff --git a/src/usr/local/www/firewall_aliases.php b/src/usr/local/www/firewall_aliases.php
index 89fe0e7..8fae094 100644
--- a/src/usr/local/www/firewall_aliases.php
+++ b/src/usr/local/www/firewall_aliases.php
@@ -267,8 +267,8 @@ display_top_tabs($tab_array);
<?=htmlspecialchars($alias['descr'])?>&nbsp;
</td>
<td>
- <a href="firewall_aliases_edit.php?id=<?=$i?>" class="btn btn-xs btn-primary">edit</a>
- <a href="?act=del&amp;tab=<?=$tab?>&amp;id=<?=$i?>" class="btn btn-xs btn-danger">delete</a>
+ <a class="fa fa-pencil" title="<?=gettext("Edit alias"); ?>" href="firewall_aliases_edit.php?id=<?=$i?>"></a>
+ <a class="fa fa-trash" title="<?=gettext("Delete alias")?>" href="?act=del&amp;tab=<?=$tab?>&amp;id=<?=$i?>" onclick="return confirm('<?=gettext("Are you sure you want to delete this alias?")?>')"></a>
</td>
</tr>
<?php endif?>
@@ -293,4 +293,4 @@ print_info_box(gettext('Aliases act as placeholders for real hosts, networks or
'You can enter the name of an alias instead of the host, network or port where indicated. The alias will be resolved according to the list above.' . '<br />' .
'If an alias cannot be resolved (e.g. because you deleted it), the corresponding element (e.g. filter/NAT/shaper rule) will be considered invalid and skipped.'));
-include("foot.inc"); \ No newline at end of file
+include("foot.inc");
diff --git a/src/usr/local/www/firewall_schedule.php b/src/usr/local/www/firewall_schedule.php
index d52884f..1710041 100644
--- a/src/usr/local/www/firewall_schedule.php
+++ b/src/usr/local/www/firewall_schedule.php
@@ -255,8 +255,8 @@ foreach ($a_schedules as $schedule):
</td>
<td>
- <a href="firewall_schedule_edit.php?id=<?=$i?>" class="btn btn-xs btn-info"><?=gettext("Edit")?></a>
- <a href="firewall_schedule.php?act=del&amp;id=<?=$i?>" class="btn btn-xs btn-danger"><?=gettext("Delete")?></a>
+ <a class="fa fa-pencil" title="<?=gettext("Edit schedule"); ?>" href="firewall_schedule_edit.php?id=<?=$i?>"></a>
+ <a class="fa fa-trash" title="<?=gettext("Delete schedule")?>" href="firewall_schedule.php?act=del&amp;id=<?=$i?>" onclick="return confirm('<?=gettext("Are you sure you want to delete this schedule?")?>')"></a>
</td>
</tr>
@@ -279,4 +279,4 @@ endforeach;
print_info_box(gettext('Schedules act as placeholders for time ranges to be used in Firewall Rules.'));
-include("foot.inc"); \ No newline at end of file
+include("foot.inc");
diff --git a/src/usr/local/www/firewall_virtual_ip.php b/src/usr/local/www/firewall_virtual_ip.php
index fdd1eda..d971ee1 100644
--- a/src/usr/local/www/firewall_virtual_ip.php
+++ b/src/usr/local/www/firewall_virtual_ip.php
@@ -341,8 +341,8 @@ foreach ($a_vip as $vipent):
<?=htmlspecialchars($vipent['descr'])?>
</td>
<td>
- <a href="firewall_virtual_ip_edit.php?id=<?=$i?>" class="btn btn-xs btn-info"><?=gettext('Edit')?></a>
- <a href="firewall_virtual_ip.php?act=del&amp;id=<?=$i?>" class="btn btn-xs btn-danger"><?=gettext('Delete')?></a>
+ <a class="fa fa-pencil" title="<?=gettext("Edit virtual ip"); ?>" href="firewall_virtual_ip_edit.php?id=<?=$i?>"></a>
+ <a class="fa fa-trash" title="<?=gettext("Delete virtual ip")?>" href="firewall_virtual_ip.php?act=del&amp;id=<?=$i?>" onclick="return confirm('<?=gettext("Are you sure you want to delete this virtual ip?")?>')"></a>
</td>
</tr>
<?php
@@ -364,4 +364,4 @@ endforeach;
print_info_box(gettext('The virtual IP addresses defined on this page may be used in ') . '<a href="firewall_nat.php">' . gettext('NAT') . '</a>' . gettext(' mappings.') . '<br />' .
gettext('You can check the status of your CARP Virtual IPs and interfaces ') . '<a href="carp_status.php">' . gettext('here') . '</a>');
-include("foot.inc"); \ No newline at end of file
+include("foot.inc");
OpenPOWER on IntegriCloud