From bbd2ac3794416762976d8579e54f1418dfb09ba4 Mon Sep 17 00:00:00 2001 From: Florian Fainelli <florian@openwrt.org> Date: Sat, 14 Jan 2006 15:07:10 +0000 Subject: [PATCH] Added entry for password fields SVN-Revision: 2976 --- openwrt/package/webif/files/usr/lib/webif/form.awk | 1 + 1 file changed, 1 insertion(+) diff --git a/openwrt/package/webif/files/usr/lib/webif/form.awk b/openwrt/package/webif/files/usr/lib/webif/form.awk index 30c1ec5277..7f43d4f872 100644 --- a/openwrt/package/webif/files/usr/lib/webif/form.awk +++ b/openwrt/package/webif/files/usr/lib/webif/form.awk @@ -73,6 +73,7 @@ $1 ~ /^select/ { print "<tr><td width=\"100%\" colspan="2"><input type=\"text\" name=\"" $2 "add\" value=\"" $5 "\" /><input type=\"submit\" name=\"" $2 "submit\" value=\"Add\" /></td></tr>" } $1 ~ /^text/ { print "<input id=\"" $2 "\" type=\"text\" name=\"" $2 "\" value=\"" $3 "\" />" $4 } +$1 ~ /^password/ { print "<input id=\"" $2 "\" type=\"password\" name=\"" $2 "\" value=\"" $3 "\" />" $4 } $1 ~ /^submit/ { print "<input type=\"submit\" name=\"" $2 "\" value=\"" $3 "\" />" } $1 ~ /^helpitem/ { form_help = form_help "<dt>" $2 ":</dt>" } $1 ~ /^helptext/ { form_help = form_help "<dd>" $2 "</dd>" } -- 2.30.2