From 08ec2d996099baf305efd8f28ee267c7fd043390 Mon Sep 17 00:00:00 2001 From: Stephen Beaver Date: Fri, 2 Oct 2015 14:57:24 -0400 Subject: Completes #5159 All duplicated JS removed to included file --- src/usr/local/www/vpn_pppoe_edit.php | 180 ++--------------------------------- 1 file changed, 10 insertions(+), 170 deletions(-) (limited to 'src/usr/local/www/vpn_pppoe_edit.php') diff --git a/src/usr/local/www/vpn_pppoe_edit.php b/src/usr/local/www/vpn_pppoe_edit.php index 6bc2674..d6540a5 100644 --- a/src/usr/local/www/vpn_pppoe_edit.php +++ b/src/usr/local/www/vpn_pppoe_edit.php @@ -543,10 +543,17 @@ if ($usernames != ""){ } } -$section->addInput(new Form_Button( +$btnaddrow = new Form_Button( 'addrow', - 'Add' -))->removeClass('btn-primary')->addClass('btn-success'); + 'Add user' +); + +$btnaddrow->removeClass('btn-primary')->addClass('btn-success'); + +$section->addInput(new Form_StaticText( + null, + ' ' . $btnaddrow +)); // Hidden fields if(isset($id)) { @@ -576,155 +583,6 @@ print_info_box(gettext('Don\'t forget to add a firewall rule to permit traffic f -- cgit v1.1