diff options
author | peter <peter@iMac-Peter.office.react.nl> | 2015-04-23 17:22:28 +0200 |
---|---|---|
committer | peter <peter@iMac-Peter.office.react.nl> | 2015-04-23 17:22:28 +0200 |
commit | 42328d90a4e5f3fcfe35f1c391d0d70c3a4236f4 (patch) | |
tree | 57cc887420a25a14a0e67ce3b2430560c403b1fd | |
parent | c9be8d9f0f3cc2a94401320c2710586df0394fa9 (diff) | |
download | pfsense-42328d90a4e5f3fcfe35f1c391d0d70c3a4236f4.zip pfsense-42328d90a4e5f3fcfe35f1c391d0d70c3a4236f4.tar.gz |
Removed double newlines.
Removed onclick event.
-rw-r--r-- | usr/local/www/services_wol.php | 5 | ||||
-rw-r--r-- | usr/local/www/services_wol_edit.php | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/usr/local/www/services_wol.php b/usr/local/www/services_wol.php index b05dcdd..7a392ab 100644 --- a/usr/local/www/services_wol.php +++ b/usr/local/www/services_wol.php @@ -130,7 +130,7 @@ if ($savemsg) print_info_box($savemsg); $form = new Form(new Form_Button( - 'Submit', + 'submit', 'Send' )); @@ -150,7 +150,6 @@ $section->addInput(new Form_Input( $mac ))->setHelp(gettext('Enter a MAC address in the following format: xx:xx:xx:xx:xx:xx')); - $form->add($section); print $form; ?> @@ -188,7 +187,7 @@ print $form; <a class="btn btn-xs btn-primary" href="services_wol_edit.php?id=<?=$i?>"> edit </a> - <a class="btn btn-xs btn-danger" href="services_wol.php?act=del&id=<?=$i?>" onclick="return confirm('<?=gettext("Do you really want to delete this entry?")?>')"> + <a class="btn btn-xs btn-danger" href="services_wol.php?act=del&id=<?=$i?>"> delete </a> </td> diff --git a/usr/local/www/services_wol_edit.php b/usr/local/www/services_wol_edit.php index 9c1aa0e..1279d9d 100644 --- a/usr/local/www/services_wol_edit.php +++ b/usr/local/www/services_wol_edit.php @@ -120,7 +120,6 @@ include("head.inc"); if ($input_errors) print_input_errors($input_errors); - $form = new Form; if (isset($id) && $a_wol[$id]) { @@ -155,7 +154,6 @@ $section->addInput(new Form_Input( $pconfig['descr'] ))->setHelp(gettext('You may enter a description here for your reference (not parsed).')); - $form->addGlobal(new Form_Button( 'cancel', 'Cancel', |