tag rc6
[openwrt/svn-archive/openwrt.git] / openwrt / package / webif / files / usr / lib / webif / common.awk
diff --git a/openwrt/package/webif/files/usr/lib/webif/common.awk b/openwrt/package/webif/files/usr/lib/webif/common.awk
deleted file mode 100644 (file)
index de3483e..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-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\"" field_opts2 ">"
-}
-
-function end_form(form_help, form_help_link) {
-       print "</div>"
-       if (form_help != "") form_help = "<dl>" form_help "</dl>"
-       print "<div class=\"settings-help\"><blockquote><h3><strong>@TR<<Short help>>:</strong></h3>" form_help form_help_link "</blockquote></div>"
-       print "<div style=\"clear: both\">&nbsp;</div></div>"
-}
-
-function textinput(name, value) {
-       return "<input type=\"text\" name=\"" name "\" value=\"" value "\" />"
-}
-
-function hidden(name, value) {
-       return "<input type=\"hidden\" name=\"" name "\" value=\"" value "\" />"
-}
-
-function button(name, caption) {
-       return "<input type=\"submit\" name=\"" name "\" value=\"@TR<<" caption ">>\" />"
-}
-
-function helpitem(name) { 
-       return "<dt>@TR<<" name ">>: </dt>"
-}
-
-function helptext(short, name) { 
-       return "<dd>@TR<<" short "|" name ">>: </dd>"
-}
-
-function sel_option(name, caption, default, sel) {
-       if (default == name) sel = " selected=\"selected\""
-       else sel = ""
-       return "<option value=\"" name "\"" sel ">@TR<<" caption ">></option>"
-}