summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorNatanael Copa <natanael.copa@gmail.com>2007-11-16 16:00:17 +0000
committerNatanael Copa <natanael.copa@gmail.com>2007-11-16 16:00:17 +0000
commitd38700593d54f5103160843f09b40f2a4a99b953 (patch)
treea5b75e72228d2bb0eac9e6feb26c1a1131d0c3a5 /app
parentdff154a30c36d8f50557ba9ff2640c59dcfc0ec1 (diff)
downloadacf-core-d38700593d54f5103160843f09b40f2a4a99b953.tar.bz2
acf-core-d38700593d54f5103160843f09b40f2a4a99b953.tar.xz
support for skins
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@322 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'app')
-rw-r--r--app/acf_www-controller.lua3
-rw-r--r--app/template-html.lsp3
2 files changed, 4 insertions, 2 deletions
diff --git a/app/acf_www-controller.lua b/app/acf_www-controller.lua
index 5f30124..60c4ad4 100644
--- a/app/acf_www-controller.lua
+++ b/app/acf_www-controller.lua
@@ -160,7 +160,8 @@ view_resolver = function(self)
action = self.conf.action,
hostname = h.hostname.value,
prefix = self.conf.prefix,
- script = self.conf.appuri
+ script = self.conf.appuri,
+ skin = self.conf.skin
}
-- Build the menu table
diff --git a/app/template-html.lsp b/app/template-html.lsp
index de19458..59a68f0 100644
--- a/app/template-html.lsp
+++ b/app/template-html.lsp
@@ -14,7 +14,8 @@ Content-Type: text/html
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title><?= pageinfo.hostname .. " - " .. pageinfo.controller .. "->" .. pageinfo.action ?></title>
-<link rel="stylesheet" type="text/css" href="/static/webconf.css">
+<link rel="stylesheet" type="text/css"
+ href=<?= "/"..pageinfo.skin.."/"..pageinfo.skin..".css" ?> ">
</head>
<body>