summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2010-01-13 16:30:15 +0000
committerTed Trask <ttrask01@yahoo.com>2010-01-13 16:30:15 +0000
commit6518f55980acc9f1e763978eff5dae532eaeb227 (patch)
tree1214acf1122fd979881893c4f62862a380db78e1 /app
parent0eebb26c9594f1c92b13e412e6ad24857143c288 (diff)
downloadacf-core-6518f55980acc9f1e763978eff5dae532eaeb227.tar.bz2
acf-core-6518f55980acc9f1e763978eff5dae532eaeb227.tar.xz
Added a skin to user options so users can choose own skin with user management.
Diffstat (limited to 'app')
-rw-r--r--app/acf_www-controller.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/acf_www-controller.lua b/app/acf_www-controller.lua
index 9bdf798..ab6dddb 100644
--- a/app/acf_www-controller.lua
+++ b/app/acf_www-controller.lua
@@ -226,6 +226,9 @@ local view_resolver = function(self)
orig_action = self.conf.orig_action or self.conf.prefix .. self.conf.controller .. "/" .. self.conf.action,
clientdata = self.clientdata,
}
+ if self.sessiondata.userinfo and self.sessiondata.userinfo.skin and self.sessiondata.userinfo.skin ~= "" then
+ pageinfo.skin = self.sessiondata.userinfo.skin
+ end
return func, viewlibrary, pageinfo, self.sessiondata
end