summaryrefslogtreecommitdiffstats
path: root/opennhrp-config-html.lsp
blob: 509236da25b92c241c7e34b01f06943a6856d226 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<? local form, viewlibrary, page_info = ... 
require("viewfunctions")
?>
<?
--[[ DEBUG INFORMATION
io.write("<H1>DEBUGGING</H1><span style='color:red'><H2>DEBUG INFO: CFE</H2>")
io.write(html.cfe_unpack(form))
io.write("</span>")
--]]
?>

<? if viewlibrary and viewlibrary.dispatch_component then
	viewlibrary.dispatch_component("status")
end ?>

<H1>Config</H1>
<?
	form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action
	local order = {"outgoinginterface", "peers", "publishedinterfaces"}
	displayform(form, order)
?>

<? if viewlibrary and viewlibrary.dispatch_component then
	viewlibrary.dispatch_component("startstop")
end ?>