cbi_addopt = "-- Additional Field --"
cbi_optional = " (optional)"
cbi_sectempty = "This section contains no values yet"
+cbi_saveapply = "Save & Apply"
cbi_invalid = "Error: Ungültige Eingabe"
cbi_addopt = "-- Zusätzliches Feld --"
cbi_sectempty = "Diese Sektion enthält noch keine Einträge"
+cbi_saveapply = "Speichern & Anwenden"
\ No newline at end of file
function Map.parse(self, ...)
Node.parse(self, ...)
uci.save(self.config)
+ if luci.http.formvalue("cbi.apply") then
+ uci.commit(self.config)
+ end
uci.unload(self.config)
end
-%>
<div>
+ <input type="submit" name="cbi.apply" value="<%:cbi_saveapply%>" />
<input type="submit" value="<%:save%>" />
<input type="reset" value="<%:reset%>" />
<script type="text/javascript">cbi_d_init();</script>