diff options
author | Steven Barth <steven@midlink.org> | 2008-03-20 20:34:44 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-03-20 20:34:44 +0000 |
commit | 6e0df95e270dc0ee4c5d10e1d6ac2550f78ff54f (patch) | |
tree | f8d30923d291d0d119181eaafc88d35abff6b8ae /src | |
parent | e9461f898cdd8f740accdf8c0c99dd1cfe48d1ea (diff) |
* CBI cleanup
Diffstat (limited to 'src')
-rw-r--r-- | src/ffluci/view/cbi/lvalue.htm | 2 | ||||
-rw-r--r-- | src/ffluci/view/cbi/nsection.htm | 2 | ||||
-rw-r--r-- | src/ffluci/view/cbi/tsection.htm | 4 | ||||
-rw-r--r-- | src/ffluci/view/cbi/value.htm | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/ffluci/view/cbi/lvalue.htm b/src/ffluci/view/cbi/lvalue.htm index b7db0def96..eb2eac2fd9 100644 --- a/src/ffluci/view/cbi/lvalue.htm +++ b/src/ffluci/view/cbi/lvalue.htm @@ -1,7 +1,7 @@ <div class="cbi-lvalue"> <div class="cbi-lvalue-title"><%=self.title%></div> <div class="cbi-lvalue-field"> -<select name="<%=self.map.config.."."..self.section.."."..self.option%>"> +<select name="<%=self.config.."."..self.section.."."..self.option%>"> <%for k, v in self.list do%> <option value="<%=k%>"><%=v%></option> <% end %> diff --git a/src/ffluci/view/cbi/nsection.htm b/src/ffluci/view/cbi/nsection.htm index 4607a872cc..5badeca562 100644 --- a/src/ffluci/view/cbi/nsection.htm +++ b/src/ffluci/view/cbi/nsection.htm @@ -1,4 +1,4 @@ -<div class="cbi-nsection" id="cbi-<%=self.map.config%>-<%=self.sectiontype%>-<%=self.section%>"> +<div class="cbi-nsection" id="cbi-<%=self.config%>-<%=self.sectiontype%>-<%=self.section%>"> <h2><%=self.title%></h2> <div class="cbi-nsection-descr"><%=self.description%></div> <% for k, node in ipairs(self.children) do node:render() end %> diff --git a/src/ffluci/view/cbi/tsection.htm b/src/ffluci/view/cbi/tsection.htm index 420bfd14a8..8c7f0c1151 100644 --- a/src/ffluci/view/cbi/tsection.htm +++ b/src/ffluci/view/cbi/tsection.htm @@ -7,11 +7,11 @@ for k, v in pairs(allsections) do end end %> -<div class="cbi-tsection" id="cbi-<%=self.map.config%>-<%=self.sectiontype%>"> +<div class="cbi-tsection" id="cbi-<%=self.config%>-<%=self.sectiontype%>"> <h2><%=self.title%></h2> <div class="cbi-tsection-descr"><%=self.description%></div> <% for k, v in pairs(sections) do %> -<div class="cbi-tsection-node" id="cbi-<%=self.map.config%>-<%=k%>"> +<div class="cbi-tsection-node" id="cbi-<%=self.config%>-<%=k%>"> <% for k, node in ipairs(self.children) do node.section = k node:render(k) diff --git a/src/ffluci/view/cbi/value.htm b/src/ffluci/view/cbi/value.htm index a39010ac8d..cc22c4e564 100644 --- a/src/ffluci/view/cbi/value.htm +++ b/src/ffluci/view/cbi/value.htm @@ -1,7 +1,7 @@ <div class="cbi-value"> <div class="cbi-value-title"><%=self.title%></div> <div class="cbi-value-field"> -<input type="text" name="<%=self.map.config.."."..self.section.."."..self.option%>" value="<%=self:ucivalue()%>" /> +<input type="text" name="<%=self.config.."."..self.section.."."..self.option%>" value="<%=self:ucivalue()%>" /> </div> <div class="cbi-value-description"><%=self.description%></div> </div>
\ No newline at end of file |