summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/services_wol.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2016-03-11 10:29:40 -0500
committerjim-p <jimp@pfsense.org>2016-03-11 10:30:00 -0500
commite8a37c8746c94809ba54df96f75e224bcafaeb3c (patch)
tree5be2bab640a96cad68b82ab0c9958f79df7ac2f3 /src/usr/local/www/services_wol.php
parent759cbbd1026524f2c428fae232f0f23996297ee3 (diff)
downloadpfsense-e8a37c8746c94809ba54df96f75e224bcafaeb3c.zip
pfsense-e8a37c8746c94809ba54df96f75e224bcafaeb3c.tar.gz
Tweaks/fixes for WoL, ticket #5965
Diffstat (limited to 'src/usr/local/www/services_wol.php')
-rw-r--r--src/usr/local/www/services_wol.php12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/usr/local/www/services_wol.php b/src/usr/local/www/services_wol.php
index 350e9e4..394d52b 100644
--- a/src/usr/local/www/services_wol.php
+++ b/src/usr/local/www/services_wol.php
@@ -182,14 +182,15 @@ $section->addInput(new Form_Input(
$mac
))->setHelp(gettext('Enter a MAC address in the following format: xx:xx:xx:xx:xx:xx'));
-$section->addInput(new Form_Button(
+$form->add($section);
+
+$form->addGlobal(new Form_Button(
'Submit',
'Send',
null,
'fa-power-off'
))->addClass('btn-primary');
-$form->add($section);
print $form;
?>
@@ -223,8 +224,9 @@ print $form;
<?=htmlspecialchars($wolent['descr']);?>
</td>
<td>
- <a class="fa fa-pencil" title="<?=gettext('Edit device')?>" href="services_wol_edit.php?id=<?=$i?>"></a>
- <a class="fa fa-trash" title="<?=gettext('Delete device')?>" href="services_wol.php?act=del&amp;id=<?=$i?>"></a>
+ <a class="fa fa-pencil" title="<?=gettext('Edit Device')?>" href="services_wol_edit.php?id=<?=$i?>"></a>
+ <a class="fa fa-trash" title="<?=gettext('Delete Device')?>" href="services_wol.php?act=del&amp;id=<?=$i?>"></a>
+ <a class="fa fa-power-off" title="<?=gettext('Wake Device')?>" href="?mac=<?=$wolent['mac'];?>&amp;if=<?=$wolent['interface'];?>"></a>
</td>
</tr>
<?php endforeach?>
@@ -240,7 +242,7 @@ print $form;
<a href="services_wol.php?wakeall=true" role="button" class="btn btn-primary">
<i class="fa fa-power-off icon-embed-btn"></i>
- <?=gettext("Wake all devices")?>
+ <?=gettext("Wake All Devices")?>
</a>
</div>
</div>
OpenPOWER on IntegriCloud