diff options
author | Steven Barth <steven@midlink.org> | 2008-03-28 11:00:58 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-03-28 11:00:58 +0000 |
commit | fb2a9a328d619ecf329e64cb500ff1385e3f8290 (patch) | |
tree | 1a87e35efbfe276d7dbf850fa53fe85578bdbbfe /src/ffluci/view/cbi/valuefooter.htm | |
parent | 7e9c97808d27443d6d02a163d9ef0a8bc295f396 (diff) |
* CBI: Generalized templates
* admin > network > ifaces: Set default value for protocol allowing new sections to be created.
Diffstat (limited to 'src/ffluci/view/cbi/valuefooter.htm')
-rw-r--r-- | src/ffluci/view/cbi/valuefooter.htm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ffluci/view/cbi/valuefooter.htm b/src/ffluci/view/cbi/valuefooter.htm new file mode 100644 index 0000000000..3f92f09e26 --- /dev/null +++ b/src/ffluci/view/cbi/valuefooter.htm @@ -0,0 +1,8 @@ + <div class="cbi-value-description inline"><%=self.description%></div> + </div> + <% if self.tag_invalid[section] then %><div class="cbi-error"><%:cbi_invalid Fehler: Ungültige Eingabe%></div><% end %> + </div> + <% if #self.deps > 0 then %><script type="text/javascript"> + <% for j, d in ipairs(self.deps) do %>cbi_d_add("cbi-<%=self.config.."-"..section.."-"..self.option%>", "cbid.<%=self.config.."."..section.."."..d.field%>", "<%=d.value%>"); + <% end %> + </script><% end %>
\ No newline at end of file |