Streamline password viewing.

This commit is contained in:
Nate Jones
2014-03-07 02:59:20 +00:00
parent 9006c074d5
commit 69d4813824
6 changed files with 17 additions and 17 deletions
+2 -2
View File
@@ -668,13 +668,13 @@ else {
case "password":
echo "<td valign='top' align='left' class='vtable'>\n";
echo "<input type='hidden' name='".$x."field_name' value='".$row['field_name']."'>\n";
echo "<input tabindex='".$row['field_order_tab']."' class='formfld' style='width:90%' type='password' name='".$x."field_value' maxlength='50' value=\"".$data_row[$row['field_name']]."\">\n";
echo "<input tabindex='".$row['field_order_tab']."' class='formfld' style='width:90%' type='password' name='".$x."field_value' onmouseover=\"this.type='text';\" onfocus=\"this.type='text';\" onmouseout=\"if (!$(this).is(':focus')) { this.type='password'; }\" onblur=\"this.type='password';\" maxlength='50' value=\"".$data_row[$row['field_name']]."\">\n";
echo "</td>\n";
break;
case "pin_number":
echo "<td valign='top' align='left' class='vtable'>\n";
echo "<input type='hidden' name='".$x."field_name' value=\"".$row['field_name']."\">\n";
echo "<input tabindex='".$row['field_order_tab']."' class='formfld' style='width:90%' type='password' name='".$x."field_value' maxlength='50' value=\"".$data_row[$row['field_name']]."\">\n";
echo "<input tabindex='".$row['field_order_tab']."' class='formfld' style='width:90%' type='password' name='".$x."field_value' onmouseover=\"this.type='text';\" onfocus=\"this.type='text';\" onmouseout=\"if (!$(this).is(':focus')) { this.type='password'; }\" onblur=\"this.type='password';\" maxlength='50' value=\"".$data_row[$row['field_name']]."\">\n";
echo "</td>\n";
break;
case "hidden":