lars
882b9d1bb7
'EnterCurrentCryptoPassword' added to language files 'EnterAdminPassword' renamed to 'EnterCurrentAdminPassword' language file loaded immeadiately before rendering sort language links in web interface lexically reordered 'find' options to avoid warnings
32 lines
1.4 KiB
C#
32 lines
1.4 KiB
C#
<div id="config">
|
|
<h1><?cs var:Lang.Title.Config ?></h1>
|
|
|
|
<form action="<?cs call:getSelfURL('','') ?>" method="post"
|
|
enctype="application/x-www-form-urlencoded">
|
|
|
|
<?cs if:Data.Config.AdminPasswordIsSet ?>
|
|
<p><label for="current_admin_password"><?cs call:help_popUp(Lang.Text.EnterCurrentAdminPassword,"prove_admin_pw") ?></label><br/>
|
|
<input type="password" id="current_admin_password" name="current_admin_password" size="20" tabindex="1" maxlength="40" /> </p>
|
|
<?cs /if ?>
|
|
|
|
<p><label for="ip"><?cs call:help_popUp(Lang.Text.IPAddress,'set_ip_address') ?></label><br/>
|
|
<input type="text" id="ip" size="16" maxsize="15" name="ip"
|
|
value="<?cs var:Data.Config.IP ?>" /><p>
|
|
|
|
<p><label for="timeout"><?cs call:help_popUp(Lang.Text.TimeOut,'set_timeout') ?></label><br/>
|
|
<input type="text" id="timeout" size="5" maxsize="5" name="timeout"
|
|
value="<?cs var:Data.Config.TimeOut ?>" /></p>
|
|
|
|
<p><label for="language"><?cs call:help_popUp(Lang.Text.SelectLanguage,'set_language') ?></label><br/>
|
|
<select name="language">
|
|
<?cs each:item = Data.Languages ?>
|
|
<option value="<?cs name:item ?>" <?cs if:(name(item) == Data.Config.Language) ?>selected="selected"<?cs /if ?>><?cs var:item ?></option>
|
|
<?cs /each ?>
|
|
</select></p>
|
|
|
|
<button type="submit" name="action" value="config_do">
|
|
<?cs var:Lang.Button.SaveConfig ?></button>
|
|
|
|
</form>
|
|
</div>
|