summaryrefslogtreecommitdiffhomepage
path: root/themes/fledermaus/luasrc
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-07-29 15:33:28 +0000
committerSteven Barth <steven@midlink.org>2008-07-29 15:33:28 +0000
commitf8f4fe752307e1d0c042496b642aa691589c2a5f (patch)
treef538b93456733a1b8e2d0cfc08a84c72a6d49694 /themes/fledermaus/luasrc
parent43ffb3aacbe78fd7ed19217c23438f14acaa27f5 (diff)
modules: Redesigned configuration save, apply, save & apply menu options
Diffstat (limited to 'themes/fledermaus/luasrc')
-rw-r--r--themes/fledermaus/luasrc/view/themes/fledermaus/header.htm10
1 files changed, 4 insertions, 6 deletions
diff --git a/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm b/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm
index 5abe5d4eed..30aa57d86f 100644
--- a/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm
+++ b/themes/fledermaus/luasrc/view/themes/fledermaus/header.htm
@@ -146,15 +146,13 @@ end
end
%>
<div><%:config%>
- <ul>
<% if ucic > 0 then %>
- <li><a href="<%=controller%>/admin/uci/changes"><%:changes%>: <%=ucic%></a></li>
- <li><a href="<%=controller%>/admin/uci/apply"><%:apply%></a></li>
- <li><a href="<%=controller%>/admin/uci/revert"><%:revert%></a></li>
+ <% submenu(category .. "/uci/", tree.nodes[category].nodes["uci"]) -%>
<% else %>
- <li><%:changes%>: 0</li>
+ <ul>
+ <li><%:changes%>: 0</li>
+ </ul>
<% end %>
- </ul>
</div>
<% end %>
</div>