diff options
author | Steven Barth <steven@midlink.org> | 2008-03-24 21:50:48 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-03-24 21:50:48 +0000 |
commit | 9fa7e0e92ddae9ff68f50ad20bbdfc8a3c09135a (patch) | |
tree | f1d316abaaced25c6d8476e65ad6d50f57013768 /src/ffluci/view/cbi/tsection.htm | |
parent | 8e7ed0e8a752bc3f551aabcf2a20807b64e707ed (diff) |
* CBI: updates
* UCI: fixed argument escaping
Diffstat (limited to 'src/ffluci/view/cbi/tsection.htm')
-rw-r--r-- | src/ffluci/view/cbi/tsection.htm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ffluci/view/cbi/tsection.htm b/src/ffluci/view/cbi/tsection.htm index bd19ecf59..987449406 100644 --- a/src/ffluci/view/cbi/tsection.htm +++ b/src/ffluci/view/cbi/tsection.htm @@ -5,7 +5,19 @@ <fieldset class="cbi-tsection-node" id="cbi-<%=self.config%>-<%=k%>"> <% if not self.anonymous then %><legend><%=k%></legend><% end %> <% self:render_children(k) %> + <% if self.addremove then %> + <input type="submit" name="cbi.rts.<%=self.config%>.<%=k%>" value="<%:cbi_del Eintrag entfernen%>" /> + <% end %> </fieldset> <br /> <% end %> +<% if self.addremove then %> + <div class="cbi-tsection-create"> + <% if self.anonymous then %> + <input type="submit" name="cbi.cts.<%=self.config%>.<%=self.sectiontype%>" value="<%:cbi_add Eintrag hinzufügen%>" /> + <% else %><input type="text" class="cbi-tsection-create-name" name="cbi.cts.<%=self.config%>.<%=self.sectiontype%>" /> + <input type="submit" value="<%:cbi_add Eintrag hinzufügen%>" /> + <% end %><% if self.err_invalid then %><div class="cbi-error"><%:cbi_invalid Fehler: Ungültiger Wert%></div><% end %> + </div> +<% end %> </div> |