summaryrefslogtreecommitdiffstats
path: root/opennhrp-config-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'opennhrp-config-html.lsp')
-rw-r--r--opennhrp-config-html.lsp20
1 files changed, 10 insertions, 10 deletions
diff --git a/opennhrp-config-html.lsp b/opennhrp-config-html.lsp
index 509236d..d6bc903 100644
--- a/opennhrp-config-html.lsp
+++ b/opennhrp-config-html.lsp
@@ -1,25 +1,25 @@
-<? local form, viewlibrary, page_info = ...
+<% 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
+<% if viewlibrary and viewlibrary.dispatch_component then
viewlibrary.dispatch_component("status")
-end ?>
+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
+<% if viewlibrary and viewlibrary.dispatch_component then
viewlibrary.dispatch_component("startstop")
-end ?>
+end %>