syslog: change local folder selection to dropdown menu with available shares

This commit is contained in:
bergware
2019-02-08 19:44:59 +01:00
parent 9917ec84e8
commit 6fb6c6f588
+5 -5
View File
@@ -53,12 +53,12 @@ Local syslog server:
<div markdown="1" id="local_folder" style="display:none">
Local syslog folder:
: <input type="text" name="server_folder" value="<?=$syslog['server_folder']?>" placeholder="/mnt/user/system">
: <select name="server_folder" class="narrow" size="1">
<?foreach ($shares as $share){echo mk_option($syslog['server_folder'], '/mnt/user/'.$share['name'], $share['name']);}?>
</select>
> Enter the name of the local folder to store syslog information.
> By default this is set to /mnt/user/system
>
> *Important: make sure the folder EXIST when changing this field*
> Select the share folder where the syslogs will be stored.
> It is recommended that you use a share located on the cache drive to prevent array disk spinups.
</div>