diff options
author | Mika Havela <mika.havela@gmail.com> | 2008-05-21 11:37:50 +0000 |
---|---|---|
committer | Mika Havela <mika.havela@gmail.com> | 2008-05-21 11:37:50 +0000 |
commit | f8137ef66d0e1575047b90ea62ada0b5619688c0 (patch) | |
tree | eafdefd74f45c6830de4a8e528e3684570b595eb /app | |
parent | 50364fd4b47c6eb47973f9089595e2bc29d0cabd (diff) | |
download | acf-core-f8137ef66d0e1575047b90ea62ada0b5619688c0.tar.bz2 acf-core-f8137ef66d0e1575047b90ea62ada0b5619688c0.tar.xz |
Adding support to move skins to a specific subfolder.
Preparation to move out skins to separate acf's (instead of having all skins in acf-core.
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1138 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'app')
-rw-r--r-- | app/acf_www-controller.lua | 1 | ||||
-rw-r--r-- | app/template-html.lsp | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/app/acf_www-controller.lua b/app/acf_www-controller.lua index 903851d..8ae00a6 100644 --- a/app/acf_www-controller.lua +++ b/app/acf_www-controller.lua @@ -193,6 +193,7 @@ local view_resolver = function(self) prefix = self.conf.prefix, script = self.conf.script, appname = self.conf.appname, + skindir = self.conf.skindir or "", skin = self.conf.skin or "" } diff --git a/app/template-html.lsp b/app/template-html.lsp index 08ab9b4..8e35a84 100644 --- a/app/template-html.lsp +++ b/app/template-html.lsp @@ -23,10 +23,10 @@ if viewlibrary and viewlibrary.dispatch_component then end ?> <title><?= hostname .. " - " .. pageinfo.controller .. "->" .. pageinfo.action ?></title> -<link rel="stylesheet" type="text/css" href="/static/reset.css"> -<link rel="stylesheet" type="text/css" href="<?= "/"..pageinfo.skin.."/"..pageinfo.skin..".css" ?>"> +<link rel="stylesheet" type="text/css" href="<?= pageinfo.skindir ?>static/reset.css"> +<link rel="stylesheet" type="text/css" href="<?= pageinfo.skindir .. pageinfo.skin.."/"..pageinfo.skin..".css" ?>"> <!--[if IE]> -<link rel="stylesheet" type="text/css" href="<?= "/"..pageinfo.skin.."/"..pageinfo.skin.."-ie.css" ?>"> +<link rel="stylesheet" type="text/css" href="<?= pageinfo.skindir .. pageinfo.skin.."/"..pageinfo.skin.."-ie.css" ?>"> <![endif]--> </head> <body> |