summaryrefslogtreecommitdiffstats
path: root/app/expert-html.lsp
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
commite4b39f4255aff6f974eb1a1e4e78fe01587814aa (patch)
treef59de39a0fb4325e2b8623d734cf23ab7a6ada56 /app/expert-html.lsp
parent4bf00bc98b36c0233e1ea833571acffefe2ec73b (diff)
downloadacf-core-e4b39f4255aff6f974eb1a1e4e78fe01587814aa.tar.bz2
acf-core-e4b39f4255aff6f974eb1a1e4e78fe01587814aa.tar.xz
use <% %> instead of <? ?>
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1323 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'app/expert-html.lsp')
-rw-r--r--app/expert-html.lsp16
1 files changed, 8 insertions, 8 deletions
diff --git a/app/expert-html.lsp b/app/expert-html.lsp
index 49fffd4..d349048 100644
--- a/app/expert-html.lsp
+++ b/app/expert-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("status")
-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("startstop")
-end ?>
+end %>