applications/freifunk-widgets: remove order variable, fix html in rss view, fix searc...
[project/luci.git] / applications / luci-freifunk-widgets / luasrc / view / freifunk / widgets / html / main.htm
index f59a9302d37f392a5f30eabd0ccd5b6e6d7e8b85..87ad5b6292e5ccb786db1c2fca67f3387ff6f63b 100644 (file)
@@ -1,7 +1,21 @@
 <%
 <%
+--[[
+LuCI - Lua Configuration Interface
+
+Copyright 2012 Manuel Munz <freifunk at somakoma dot de>
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+]]--
+
 --local utl = require "luci.util"
 local fs = require "luci.fs"
 local title = data.title
 --local utl = require "luci.util"
 local fs = require "luci.fs"
 local title = data.title
+local name = data['.name']
 local file = "/usr/share/customtext/" .. name .. ".html"
 local text = fs.readfile(file)
 local width = data.width or "100%"
 local file = "/usr/share/customtext/" .. name .. ".html"
 local text = fs.readfile(file)
 local width = data.width or "100%"