themes/freifunk-generic: Don't show js-warnings on Freifunk and Splash pages

This commit is contained in:
Manuel Munz 2010-12-06 01:22:11 +00:00
parent 655a313479
commit 698f7fde5e

View file

@ -185,10 +185,11 @@ if tree.nodes[category] and tree.nodes[category].ucidata then
<div class="clear"></div> <div class="clear"></div>
</div> </div>
<div id="maincontent"> <div id="maincontent">
<% if category ~= "freifunk" and category ~= "splash" then %>
<noscript> <noscript>
<div class="errorbox"> <div class="errorbox">
<strong><%:Java Script required!%></strong><br /> <strong><%:Java Script required!%></strong><br />
<%:You must enable Java Script in your browser or LuCI will not work properly.%> <%:You must enable Java Script in your browser or LuCI will not work properly.%>
</div> </div>
</noscript> </noscript>
<% end %>