cryptonas/cbox-tree.d/usr/share/cryptobox/templates/config_form.cs

27 lines
987 B
C#
Raw Normal View History

<div id="config">
<h1><?cs var:Lang.Title.Config ?></h1>
<form action="<?cs call:getSelfURL() ?>" method="post"
enctype="application/x-www-form-urlencoded">
2005-07-23 00:00:10 +02:00
<p><label for="ip"><?cs var:Lang.Text.IPAddress ?></label><br/>
2005-07-23 00:00:10 +02:00
<input type="text" id="ip" size="16" maxsize="15" name="ip"
value="<?cs var:Data.Config.IP ?>" /><p>
<p><label for="timeout"><?cs var:Lang.Text.TimeOut ?></label><br/>
<input type="text" id="timeout" size="5" maxsize="5" name="timeout"
2005-07-23 00:00:10 +02:00
value="<?cs var:Data.Config.TimeOut ?>" /></p>
<p><label for="language"><?cs var:Lang.Text.SelectLanguage ?></label><br/>
<select name="language">
2005-07-23 04:15:29 +02:00
<?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>
2005-07-23 04:15:29 +02:00
<?cs /each ?>
2005-07-23 00:00:10 +02:00
</select></p>
<button type="submit" name="action" value="config_do">
<?cs var:Lang.Button.SaveConfig ?></button>
</form>
</div>