Files
webgui/plugins/dynamix/SMBWorkGroup.page
2020-03-04 17:33:46 +01:00

40 lines
1.5 KiB
Plaintext

Menu="SMB:2"
Title="Workgroup Settings"
Tag="sitemap"
Cond="($var['shareSMBEnabled']=='yes')"
---
<?PHP
/* Copyright 2005-2020, Lime Technology
* Copyright 2012-2020, Bergware International.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*/
?>
<form markdown="1" name="WorkGroup" method="POST" action="/update.htm" target="progressFrame">
_(Workgroup)_:
: <input type="text" name="WORKGROUP" maxlength="40" value="<?=htmlspecialchars($var['WORKGROUP'])?>" class="narrow" <?if ($var['fsState']=="Started"):?>disabled<?endif;?>>
:help79
> Enter your local network Workgroup name. Usually this is "WORKGROUP".
:end
_(Local master)_:
: <select name="localMaster" <?if ($var['fsState']=="Started"):?>disabled<?endif;?>>
<?=mk_option($var['localMaster'], "no", _('No'))?>
<?=mk_option($var['localMaster'], "yes", _('Yes'))?>
</select>
:help80
> If set to 'Yes' then the server will fully participate in browser elections, and in the absense
> of other servers, will usually become the local Master Browser.
:end
&nbsp;
: <input type="submit" name="changeShare" value="_(Apply)_" disabled><input type="button" value="_(Done)_" onclick="done()"><?if ($var['fsState']=="Started"):?>*_(Array must be **Stopped** to change)_*<?endif;?>
</form>