From faab522fa51ec83c0284e3f1fc6129580d7360f7 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Tue, 15 Mar 2016 09:39:46 -0300 Subject: Revert "Merge pull request #2728 from phil-davis/form_button" This reverts commit a32bed49516f3df3d104a5026a5b2c74451f348f, reversing changes made to 9ec9978267a5d1985d6da8ba35d52b7174239d2f. --- src/usr/local/www/interfaces.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/usr/local/www/interfaces.php') diff --git a/src/usr/local/www/interfaces.php b/src/usr/local/www/interfaces.php index 91a4c53..8d78d20 100644 --- a/src/usr/local/www/interfaces.php +++ b/src/usr/local/www/interfaces.php @@ -1754,7 +1754,7 @@ $macaddress = new Form_Input( $btnmymac = new Form_Button( 'btnmymac', - gettext('Copy My MAC'), + 'Copy My MAC', null, 'fa-clone' ); @@ -1816,7 +1816,7 @@ $group->add(new Form_Select( $group->add(new Form_Button( 'addgw', - gettext('Add a new gateway'), + 'Add a new gateway', null, 'fa-plus' ))->addClass('btn-success')->setAttribute('data-target', '#newgateway')->setAttribute('data-toggle', 'modal'); @@ -1849,7 +1849,7 @@ $group->add(new Form_Select( $group->add(new Form_Button( 'addgw6', - gettext('Add a new gateway'), + 'Add a new gateway', null, 'fa-plus' ))->addClass('btn-success')->setAttribute('data-target', '#newgateway6')->setAttribute('data-toggle', 'modal'); @@ -1891,7 +1891,7 @@ $modal->addInput(new Form_Input( $btnaddgw6 = new Form_Button( 'add6', - gettext('Add'), + 'Add', null, 'fa-plus' ); @@ -1900,7 +1900,7 @@ $btnaddgw6->addClass('btn-success'); $btncnxgw6 = new Form_Button( 'cnx6', - gettext('Cancel'), + 'Cancel', null, 'fa-undo' ); @@ -2558,7 +2558,7 @@ $section->addInput(new Form_Select( $section->addInput(new Form_Button( 'btnadvppp', - gettext('Advanced PPP'), + 'Advanced PPP', isset($pconfig['pppid']) ? 'interfaces_ppps_edit.php?id=' . htmlspecialchars($pconfig['pppid']) : 'interfaces_ppps_edit.php', 'fa-cog' ))->addClass('btn-info')->setHelp('Create a new PPP configuration'); @@ -2684,7 +2684,7 @@ $section->add($group); $section->addInput(new Form_Button( 'btnadvppp', - gettext('Advanced and MLPPP'), + 'Advanced and MLPPP', isset($pconfig['pppid']) ? 'interfaces_ppps_edit.php?id=' . htmlspecialchars($pconfig['pppid']) : 'interfaces_ppps_edit.php', 'fa-cog' ))->addClass('btn-info')->setHelp('Click for additional PPPoE configuration options. Save first if changes have been made.'); @@ -2747,7 +2747,7 @@ if (isset($pconfig['pptp_localip'][1]) || isset($pconfig['pptp_subnet'][1]) || i $section->addInput(new Form_Button( 'btnadvppp', - gettext('Advanced and MLPPP'), + 'Advanced and MLPPP', isset($pconfig['pppid']) ? 'interfaces_ppps_edit.php?id=' . htmlspecialchars($pconfig['pppid']) : 'interfaces_ppps_edit.php', 'fa-cog' ))->addClass('btn-info')->setHelp($mlppp_text . 'Click for additional PPTP and L2TP configuration options. Save first if changes have been made.'); @@ -3198,7 +3198,7 @@ $modal->addInput(new Form_Input( $btnaddgw = new Form_Button( 'add', - gettext('Add'), + 'Add', null, 'fa-plus' ); @@ -3207,7 +3207,7 @@ $btnaddgw->addClass('btn-success'); $btncnxgw = new Form_Button( 'cnx', - gettext('Cancel'), + 'Cancel', null, 'fa-undo' ); -- cgit v1.1