summaryrefslogtreecommitdiffstats
path: root/hostname-model.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-05-14 20:44:18 +0000
committerTed Trask <ttrask01@yahoo.com>2008-05-14 20:44:18 +0000
commit4b9f0125157633ed5b75ca7e9c4d28d85f974847 (patch)
treea36a6200183383e9468f3eb9730ebb5a75d88d92 /hostname-model.lua
parent811043a4a1290d3ee9f3998d14e2ae20b6ab8ccb (diff)
downloadacf-alpine-baselayout-4b9f0125157633ed5b75ca7e9c4d28d85f974847.tar.bz2
acf-alpine-baselayout-4b9f0125157633ed5b75ca7e9c4d28d85f974847.tar.xz
Added suppress_view option to dispatch_component and return viewtable.
Removed hostname from pageinfo and replaced with component load in template. A little cleanup to use pageinfo in views. git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@1119 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'hostname-model.lua')
-rw-r--r--hostname-model.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/hostname-model.lua b/hostname-model.lua
index 9638ad7..ba0c117 100644
--- a/hostname-model.lua
+++ b/hostname-model.lua
@@ -8,7 +8,7 @@ get = function (self)
local f = io.popen("/bin/hostname")
local n = f:read("*a") or "unknown"
f:close()
- return (cfe{value=n, name="hostname"})
+ return (cfe{value=n, label="hostname"})
end