From fce110981700dfd57cd9f8c381d3bdd15ee8befd Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Thu, 14 Aug 2008 11:50:13 +0000 Subject: [PATCH] libs/cbi: Add cross-linking capabilities --- libs/cbi/luasrc/view/cbi/full_valueheader.htm | 6 +++++- libs/cbi/luasrc/view/cbi/tblsection.htm | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/libs/cbi/luasrc/view/cbi/full_valueheader.htm b/libs/cbi/luasrc/view/cbi/full_valueheader.htm index 566e236ed..ce079ca57 100644 --- a/libs/cbi/luasrc/view/cbi/full_valueheader.htm +++ b/libs/cbi/luasrc/view/cbi/full_valueheader.htm @@ -14,5 +14,9 @@ $Id$ -%>
"> - +
diff --git a/libs/cbi/luasrc/view/cbi/tblsection.htm b/libs/cbi/luasrc/view/cbi/tblsection.htm index 36304081b..a397762f4 100644 --- a/libs/cbi/luasrc/view/cbi/tblsection.htm +++ b/libs/cbi/luasrc/view/cbi/tblsection.htm @@ -34,7 +34,11 @@ end   <%- end -%> <%- for i, k in pairs(self.children) do if not k.optional then -%> - <%=k.title%> + + <%- if k.titleref then -%><%- end -%> + <%-=k.title-%> + <%- if k.titleref then -%><%- end -%> + <%- count = count + 1; end; end; if self.extedit or self.addremove then -%>   <%- count = count + 1; end -%> -- 2.25.1