diff options
author | Renato Botelho <renato@netgate.com> | 2016-03-15 09:39:46 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-03-15 09:39:46 -0300 |
commit | faab522fa51ec83c0284e3f1fc6129580d7360f7 (patch) | |
tree | 18d092c0126f1d5b48b4285fad3345b4c3d225e9 /src/usr/local/www/services_captiveportal.php | |
parent | 8658cc0ed1127c2c7f1d84b4610db75675d914e7 (diff) | |
download | pfsense-faab522fa51ec83c0284e3f1fc6129580d7360f7.zip pfsense-faab522fa51ec83c0284e3f1fc6129580d7360f7.tar.gz |
Revert "Merge pull request #2728 from phil-davis/form_button"
This reverts commit a32bed49516f3df3d104a5026a5b2c74451f348f, reversing
changes made to 9ec9978267a5d1985d6da8ba35d52b7174239d2f.
Diffstat (limited to 'src/usr/local/www/services_captiveportal.php')
-rw-r--r-- | src/usr/local/www/services_captiveportal.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/usr/local/www/services_captiveportal.php b/src/usr/local/www/services_captiveportal.php index 29c32b8..68ec06f 100644 --- a/src/usr/local/www/services_captiveportal.php +++ b/src/usr/local/www/services_captiveportal.php @@ -1105,21 +1105,21 @@ if ($pconfig['page']['htmltext']) { $group = new Form_Group('Current Portal Page'); $group->add(new Form_Button( 'btnview', - gettext('View'), + 'View', $href, 'fa-file-text-o' ))->addClass('btn btn-info btn-xs')->setAttribute("target", "_blank"); $group->add(new Form_Button( 'btndownload', - gettext('Download'), + 'Download', '?zone=' . $cpzone . '&act=gethtmlhtml', 'fa-download' ))->addClass('btn btn-primary btn-xs')->setAttribute("target", "_blank"); $group->add(new Form_Button( 'btndownload', - gettext('Restore Default Page'), + 'Restore Default Page', '?zone=' . $cpzone . '&act=delhtmlhtml', 'fa-undo' ))->addClass('btn btn-danger btn-xs')->setAttribute("target", "_blank"); @@ -1139,21 +1139,21 @@ if ($pconfig['page']['errtext']) { $group = new Form_Group('Current Auth Error Page'); $group->add(new Form_Button( 'btnview', - gettext('View'), + 'View', '?zone=' . $cpzone . '&act=viewerrhtml', 'fa-file-text-o' ))->addClass('btn btn-info btn-xs')->setAttribute("target", "_blank"); $group->add(new Form_Button( 'btndownload', - gettext('Download'), + 'Download', '?zone=' . $cpzone . '&act=geterrhtml', 'fa-download' ))->addClass('btn btn-primary btn-xs')->setAttribute("target", "_blank"); $group->add(new Form_Button( 'btndownload', - gettext('Restore Default Page'), + 'Restore Default Page', '?zone=' . $cpzone . '&act=delerrhtml', 'fa-undo' ))->addClass('btn btn-danger btn-xs')->setAttribute("target", "_blank"); @@ -1171,21 +1171,21 @@ if ($pconfig['page']['logouttext']) { $group = new Form_Group('Current Logout Page'); $group->add(new Form_Button( 'btnview', - gettext('View'), + 'View', '?zone=' . $cpzone . '&act=viewlogouthtml', 'fa-file-text-o' ))->addClass('btn btn-info btn-xs')->setAttribute("target", "_blank"); $group->add(new Form_Button( 'btndownload', - gettext('Download'), + 'Download', '?zone=' . $cpzone . '&act=getlogouthtml', 'fa-download' ))->addClass('btn btn-primary btn-xs')->setAttribute("target", "_blank"); $group->add(new Form_Button( 'btndownload', - gettext('Restore Default Page'), + 'Restore Default Page', '?zone=' . $cpzone . '&act=dellogouthtml', 'fa-undo' ))->addClass('btn btn-danger btn-xs')->setAttribute("target", "_blank"); |