1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

show current nax_num_sta as input value,

make field description translatable
This commit is contained in:
glaszig 2019-08-10 11:57:10 +02:00
parent 0e9ed7d833
commit 3f9d176793

View File

@ -228,8 +228,8 @@ if ($arrConfig['ignore_broadcast_ssid'] == 1 || $arrConfig['ignore_broadcast_ssi
<div class="row"> <div class="row">
<div class="form-group col-md-4"> <div class="form-group col-md-4">
<label for="max_num_sta"><?php echo _("Maximum number of clients") ?></label> <label for="max_num_sta"><?php echo _("Maximum number of clients") ?></label>
<input type="text" id="max_num_sta" class="form-control" name="max_num_sta" placeholder="2007" value="<?php echo $_POST["max_num_sta"] ?>" aria-describedby="max_num_sta_help"> <input type="text" id="max_num_sta" class="form-control" name="max_num_sta" placeholder="2007" value="<?php echo $arrConfig["max_num_sta"] ?>" aria-describedby="max_num_sta_help">
<span id="max_num_sta_help" class="help-block">Configures the <code>max_num_sta</code> option of hostapd. The default and maximum is 2007. If empty or 0, the default applies.</span> <span id="max_num_sta_help" class="help-block"><?php echo _("Configures the <code>max_num_sta</code> option of hostapd. The default and maximum is 2007. If empty or 0, the default applies.") ?></span>
</div> </div>
</div> </div>
<div class="row"> <div class="row">