themes/freifunk-generic: Change link in footer that was pointing to nowhere after...
[project/luci.git] / themes / freifunk-generic / luasrc / view / themes / freifunk-generic / footer.htm
index f8f8c20110a56a27ad8d457d4ff1e26212b495ba..f21a5ff504dfc617ca5787be0425fa126ca86ae5 100644 (file)
@@ -8,19 +8,22 @@ 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
-
-$Id: footer.htm 4185 2009-01-30 14:00:35Z jow $
-
 -%>
-<% local xtime = (string.format("%.2fs", os.clock() - exectime)) %>
+<% local xtime
+if exectime then
+       xtime = (string.format("%.2fs", os.clock() - exectime)) 
+end %>
+
 </div>
 <div class="clear"></div>
 <div class="push"></div>
 </div>
 
 <div class="footer">
-<p class="luci"><a href="<%=controller%>/about">Powered by <%= luci.__appname__ .. " (v" .. luci.__version__ .. ")" %></a></p>
+<p class="luci"><a href="http://luci.subsignal.org">Powered by <%= luci.__appname__ .. " (v" .. luci.__version__ .. ")" %></a></p>
+<% if xtime then %>
 <p class="exectime">Script execution time: <%=xtime%></p>
+<% end %>
 </div>
 
 </body>