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
commit1436b110926763eb27db3c87a69772493aa02137 (patch)
tree0b30857b66d9030706a2729b2f88ed6e4234d15a
parentd4aa413da103f2f893c97008222e35484836d6bd (diff)
downloadacf-quagga-1436b110926763eb27db3c87a69772493aa02137.tar.bz2
acf-quagga-1436b110926763eb27db3c87a69772493aa02137.tar.xz
use <% %> instead of <? ?>
git-svn-id: svn://svn.alpinelinux.org/acf/quagga/trunk@1323 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r--quagga-bgpexpert-html.lsp16
1 files changed, 8 insertions, 8 deletions
diff --git a/quagga-bgpexpert-html.lsp b/quagga-bgpexpert-html.lsp
index 9a2abe2..ed28a11 100644
--- a/quagga-bgpexpert-html.lsp
+++ b/quagga-bgpexpert-html.lsp
@@ -1,16 +1,16 @@
-<? local form, viewlibrary, page_info, session = ... ?>
-<? require("viewfunctions") ?>
+<% local form, viewlibrary, page_info, session = ... %>
+<% require("viewfunctions") %>
-<? if viewlibrary and viewlibrary.dispatch_component then
+<% if viewlibrary and viewlibrary.dispatch_component then
viewlibrary.dispatch_component("bgpstatus")
-end ?>
+end %>
-<?
+<%
local pattern = string.gsub(page_info.prefix..page_info.controller, "[%(%)%.%%%+%-%*%?%[%]%^%$]", "%%%1")
local func = haserl.loadfile(page_info.viewfile:gsub(pattern..".*$", "/") .. "filedetails-html.lsp")
func(form, viewlibrary, page_info, session)
-?>
+%>
-<? if viewlibrary and viewlibrary.dispatch_component and session.permissions[page_info.controller].startstop then
+<% if viewlibrary and viewlibrary.dispatch_component and session.permissions[page_info.controller].startstop then
viewlibrary.dispatch_component("bgpstartstop")
-end ?>
+end %>