* luci-0.8: backport forgotten html fixes from r3323 to stable branch
This commit is contained in:
parent
24cc552788
commit
d2d07e348f
4 changed files with 8 additions and 8 deletions
|
@ -14,7 +14,7 @@ $Id$
|
|||
-%>
|
||||
<%+header%>
|
||||
<h1><%:olsrd_mid%></h1>
|
||||
<p><%:olsrd_mid_desc%></h1>
|
||||
<p><%:olsrd_mid_desc%></p>
|
||||
<br />
|
||||
<table class="smalltext" cellspacing="0" cellpadding="6">
|
||||
<tr>
|
||||
|
|
|
@ -55,7 +55,7 @@ require("luci.http").prepare_content("text/html")
|
|||
|
||||
var lis = document.getElementById("mainmenu").getElementsByTagName("LI");
|
||||
var divs = document.getElementById("mainmenu").getElementsByTagName("DIV");
|
||||
|
||||
|
||||
for( var i = 0; i < lis.length; i++ ) ie_hover( lis[i] );
|
||||
for( var i = 0; i < divs.length; i++ ) ie_hover( divs[i] );
|
||||
}
|
||||
|
@ -110,7 +110,7 @@ local function submenu(prefix, node)
|
|||
href = (nnode.query) and href .. luci.http.build_querystring(nnode.query) or href
|
||||
%>
|
||||
<li>
|
||||
<span<% if nnode._menu_selected then %> class="active"<%end%>><a href="<%=href%>"><%=nnode.title%></a></span>
|
||||
<span<% if nnode._menu_selected then %> class="active"<%end%>><a href="<%=luci.util.pcdata(href)%>"><%=nnode.title%></a></span>
|
||||
<%- submenu(prefix .. v.name .. "/", nnode) %>
|
||||
</li>
|
||||
<%- end %>
|
||||
|
@ -154,7 +154,7 @@ end
|
|||
<%
|
||||
if tree.nodes[category] and tree.nodes[category].ucidata then
|
||||
local ucic = 0
|
||||
|
||||
|
||||
for i, j in pairs(require("luci.model.uci").cursor():changes()) do
|
||||
for k, l in pairs(j) do
|
||||
for m, n in pairs(l) do
|
||||
|
|
|
@ -55,7 +55,7 @@ require("luci.http").prepare_content("text/html")
|
|||
|
||||
var lis = document.getElementById("mainmenu").getElementsByTagName("LI");
|
||||
var divs = document.getElementById("mainmenu").getElementsByTagName("DIV");
|
||||
|
||||
|
||||
for( var i = 0; i < lis.length; i++ ) ie_hover( lis[i] );
|
||||
for( var i = 0; i < divs.length; i++ ) ie_hover( divs[i] );
|
||||
}
|
||||
|
@ -117,7 +117,7 @@ local function submenu(prefix, node)
|
|||
href = (nnode.query) and href .. luci.http.build_querystring(nnode.query) or href
|
||||
%>
|
||||
<li>
|
||||
<span<% if nnode._menu_selected then %> class="active"<%end%>><a href="<%=href%>"><%=nnode.title%></a></span>
|
||||
<span<% if nnode._menu_selected then %> class="active"<%end%>><a href="<%=luci.util.pcdata(href)%>"><%=nnode.title%></a></span>
|
||||
<%- submenu(prefix .. v.name .. "/", nnode) %>
|
||||
</li>
|
||||
<%- end %>
|
||||
|
|
|
@ -55,7 +55,7 @@ require("luci.http").prepare_content("application/xhtml+xml")
|
|||
|
||||
var lis = document.getElementById("mainmenu").getElementsByTagName("LI");
|
||||
var divs = document.getElementById("mainmenu").getElementsByTagName("DIV");
|
||||
|
||||
|
||||
for( var i = 0; i < lis.length; i++ ) ie_hover( lis[i] );
|
||||
for( var i = 0; i < divs.length; i++ ) ie_hover( divs[i] );
|
||||
}
|
||||
|
@ -118,7 +118,7 @@ local function submenu(prefix, node)
|
|||
href = (nnode.query) and href .. luci.http.build_querystring(nnode.query) or href
|
||||
%>
|
||||
<li>
|
||||
<span<% if nnode._menu_selected then %> class="active"<%end%>><a href="<%=href%>"><%=nnode.title%></a></span>
|
||||
<span<% if nnode._menu_selected then %> class="active"<%end%>><a href="<%=luci.util.pcdata(href)%>"><%=nnode.title%></a></span>
|
||||
<%- submenu(prefix .. v.name .. "/", nnode) %>
|
||||
</li>
|
||||
<%- end %>
|
||||
|
|
Loading…
Reference in a new issue