extend webif start_form() function
authorFelix Fietkau <nbd@openwrt.org>
Tue, 7 Mar 2006 16:24:15 +0000 (16:24 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 7 Mar 2006 16:24:15 +0000 (16:24 +0000)
SVN-Revision: 3330

openwrt/package/webif/files/usr/lib/webif/common.awk

index a15a66b34304616d75544e6e3470eb7cef44b14c..de3483e1505dcb963be963cee53850fc8fde9a8e 100644 (file)
@@ -1,7 +1,7 @@
-function start_form(title, field_opts) {
+function start_form(title, field_opts, field_opts2) {
        print "<div class=\"settings\"" field_opts ">"
        if (title != "") print "<div class=\"settings-title\"><h3><strong>" title "</strong></h3></div>"
-       print "<div class=\"settings-content\">"
+       print "<div class=\"settings-content\"" field_opts2 ">"
 }
 
 function end_form(form_help, form_help_link) {