Changeset 4021


Ignore:
Timestamp:
2006-06-20T12:02:34+02:00 (10 years ago)
Author:
florian
Message:

Add upload template for webif, closes #590 and definitively #525

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/whiterussian/openwrt/package/webif/files/usr/lib/webif/form.awk

    r3192 r4021  
    8181$1 ~ /^text/ { print "<input id=\"" $2 "\" type=\"text\" name=\"" $2 "\" value=\"" $3 "\" />" $4 } 
    8282$1 ~ /^password/ { print "<input id=\"" $2 "\" type=\"password\" name=\"" $2 "\" value=\"" $3 "\" />" $4 } 
     83$1 ~ /^upload/ { print "<input id=\"" $2 "\" type=\"file\" name=\"" $2 "\"/>" } 
    8384$1 ~ /^submit/ { print "<input type=\"submit\" name=\"" $2 "\" value=\"" $3 "\" />" } 
    8485$1 ~ /^helpitem/ { form_help = form_help "<dt>@TR<<" $2 ">>: </dt>" } 
Note: See TracChangeset for help on using the changeset viewer.