From 27d6a45b2b2f453120f2eeef620c941f5134855b Mon Sep 17 00:00:00 2001 From: jim-p Date: Thu, 10 Mar 2016 15:40:19 -0500 Subject: More icon/button inconsistencies. Ticket #5965 --- src/etc/inc/shaper.inc | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) (limited to 'src/etc/inc') diff --git a/src/etc/inc/shaper.inc b/src/etc/inc/shaper.inc index ad2ec7a..e88454a 100644 --- a/src/etc/inc/shaper.inc +++ b/src/etc/inc/shaper.inc @@ -749,10 +749,11 @@ class altq_root_queue { $form .= '
'; $form .= '
'; - $form .= ''; - $form .= gettext("Disable shaper on interface") . ''; + $form .= ''; + $form .= gettext("Remove shaper from this interface") . ''; $form .= '
'; @@ -768,10 +769,7 @@ class altq_root_queue { */ function build_form() { - $sform = new Form(new Form_Button( - 'Submit', - 'Save' - )); + $sform = new Form(); $sform->setAction("firewall_shaper.php"); @@ -1354,10 +1352,7 @@ class priq_queue { function build_form() { - $sform = new Form(new Form_Button( - 'Submit', - 'Save' - )); + $sform = new Form(); $sform->setAction("firewall_shaper.php"); @@ -1524,7 +1519,8 @@ class priq_queue { $form .= ''; - $form .= gettext("Delete queue from interface") . ''; + $form .= ''; + $form .= gettext("Delete Queue from this Interface") . ''; $form .= ' '; @@ -3757,7 +3753,7 @@ var addBwRowTo = (function() { cell1.innerHTML = ""; cell2.innerHTML = ""; cell3.innerHTML = ""; - cell4.innerHTML = 'Remove'; + cell4.innerHTML = 'Delete'; }); })(); @@ -3846,14 +3842,15 @@ EOD; $form .= ""; $form .= ""; $form .= ''; - $form .= '' . gettext('Remove') . ''; + $form .= '' . gettext('Delete') . ''; $form .= ""; } } $form .= "
"; $form .= ''; - $form .= gettext("Add another schedule") . ""; + $form .= ''; + $form .= gettext("Add Schedule") . ""; return($form); } @@ -4688,7 +4685,8 @@ function build_iface_without_this_queue($iface, $qname) { $form .= ''; - $form .= gettext("Clone shaper on the I/F") . ''; + $form .= ''; + $form .= gettext("Clone Shaper to this Interface") . ''; $form .= ' '; $form .= ''; -- cgit v1.1