mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Set txpower w/ iw, persist value in UI
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
<?php echo '<pre>' . var_export($arrTxPower, true) . '</pre>'; ?>
|
||||
<div class="tab-pane fade" id="advanced">
|
||||
<h4 class="mt-3"><?php echo _("Advanced settings"); ?></h4>
|
||||
<div class="row">
|
||||
@@ -58,7 +57,7 @@
|
||||
<label for="cbxtxpower"><?php echo _("Transmit power (dBm)") ?></label>
|
||||
<i class="fas fa-question-circle" data-toggle="tooltip" data-placement="right" title="<?php echo _("dBm is an abbreviation for decibel relative to one milliwatt. It is a unit of level used to indicate that a power ratio is expressed in decibels (dB) with reference to one milliwatt (mW)."); ?>"></i>
|
||||
<?php
|
||||
SelectorOptions('txpower', $arrTxPower, 'auto', 'cbxtxpower');
|
||||
SelectorOptions('txpower', $arrTxPower, $txpower, 'cbxtxpower');
|
||||
?>
|
||||
<small id="txpower_help" class="text-muted"><?php echo _("Sets the txpower option for the AP interface and the configured country."); ?></small>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user