* Core translation
[project/luci.git] / modules / admin-core / luasrc / model / cbi / admin_services / httpd.lua
1 --[[
2 LuCI - Lua Configuration Interface
3
4 Copyright 2008 Steven Barth <steven@midlink.org>
5
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10         http://www.apache.org/licenses/LICENSE-2.0
11
12 $Id$
13 ]]--
14 m = Map("httpd", "Busybox HTTPd", translate("a_srv_http1", "Ein kleiner Webserver, der für die Bereitstellung von LuCI genutzt werden kann."))
15
16 s = m:section(TypedSection, "httpd", "")
17 s.anonymous = true
18
19 port = s:option(Value, "port", translate("port", "Port"))
20 port.isinteger = true
21
22 s:option(Value, "home", translate("a_srv_http_root", "Wurzelverzeichnis"))
23
24 config = s:option(Value, "c_file", translate("configfile", "Konfigurationsdatei"), translate("a_srv_http_config1", "/etc/httpd.conf wenn leer"))
25 config.rmempty = true
26
27 realm = s:option(Value, "realm", translate("a_srv_http_authrealm", "Anmeldeaufforderung"), translate("a_srv_http_authrealm1", "Aufforderungstext zum Anmelden im Administrationsbereich"))
28 realm.rmempty = true
29
30 return m