summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <natanael.copa@gmail.com>2008-07-28 06:48:16 +0000
committerNatanael Copa <natanael.copa@gmail.com>2008-07-28 06:48:16 +0000
commit6507fcabf3bf6be70d536796b4bb337e9fd261d9 (patch)
tree3d5c6242a5d0ac62c5e82364fb101bb9c11bd32f
parente87110a3692c44b508e017809bc0d9582d72295d (diff)
downloadacf-opennhrp-6507fcabf3bf6be70d536796b4bb337e9fd261d9.tar.bz2
acf-opennhrp-6507fcabf3bf6be70d536796b4bb337e9fd261d9.tar.xz
use <% %> instead of <? ?>
git-svn-id: svn://svn.alpinelinux.org/acf/opennhrp/trunk@1323 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r--opennhrp-config-html.lsp20
-rw-r--r--opennhrp-show-html.lsp12
2 files changed, 16 insertions, 16 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 %>
diff --git a/opennhrp-show-html.lsp b/opennhrp-show-html.lsp
index 4490d56..fce8a79 100644
--- a/opennhrp-show-html.lsp
+++ b/opennhrp-show-html.lsp
@@ -1,12 +1,12 @@
-<? local data, viewlibrary, page_info = ...
+<% local data, viewlibrary, page_info = ...
require("viewfunctions")
-?>
+%>
-<? if viewlibrary and viewlibrary.dispatch_component then
+<% if viewlibrary and viewlibrary.dispatch_component then
viewlibrary.dispatch_component("status")
-end ?>
+end %>
-<H1><?= data.label ?></H1>
+<H1><%= data.label %></H1>
<DL>
-<? displayitem(data) ?>
+<% displayitem(data) %>
</DL>