cryptonas-branches/pythonrewrite/templates/form_config.cs
lars 0aa1f9f74b german language file updated
WebInterfaceDataset replaces CryptoBoxWebserverSettings
WebInterfaceSites replaces CryptoBoxWebserverSites
input validation rewritten
clearsiler macro 'print_form_header' now expects the 'action' as a parameter
2006-09-07 11:21:56 +00:00

33 lines
1.3 KiB
C#

<?cs # $Id$ ?>
<div id="config">
<h1><?cs var:html_escape(Lang.Title.Config) ?></h1>
<?cs call:print_form_header("config_do") ?>
<?cs if:Data.Config.AdminPasswordIsSet ?>
<p><label for="current_admin_password"><?cs var:html_escape(Lang.Text.EnterCurrentAdminPassword) ?></label><br/>
<input type="password" id="current_admin_password" name="current_admin_password" size="20" maxlength="40" /> </p>
<?cs /if ?>
<!-- turned off - will get moved to system-settings
<p><label for="ip"><?cs var:html_escape(Lang.Text.IPAddress) ?></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 var:html_escape(Lang.Text.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 var:html_escape(Lang.Text.SelectLanguage) ?></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"><?cs var:html_escape(Lang.Button.SaveConfig) ?></button>
</form>
</div>