\n";
print " | $text{'passwd_name'} | \n";
print "[0]\"> | \n";
print "$text{'passwd_uid'} | \n";
print "[2]\"> | \n";
print " | $text{'passwd_real'} | \n";
print "[4]\"> | \n";
print "$text{'passwd_home'} | \n";
print "[5]\"> ",
&file_chooser_button("home", 1)," | \n";
print " | $text{'passwd_shell'} | \n";
print " \n";
printf " %s | \n",
$found ? '' : $passwd->[6], &file_chooser_button("other");
$pass = $mode ? $shadow->[1] : $passwd->[1];
%uconfig = &foreign_config("useradmin");
print "$text{'passwd_pass'} | \n";
printf" %s \n",
$pass eq "" ? "checked" : "",
$uconfig{'empty_mode'} ? $text{'passwd_none1'} : $text{'passwd_none2'};
printf" $text{'passwd_nologin'} \n",
$pass eq $uconfig{'lock_string'} ? "checked" : "";
print " $text{'passwd_clear'}\n";
printf " \n",
$uconfig{'passwd_stars'} ? "type=password" : "";
printf " $text{'passwd_encrypted'}\n",
$pass && $pass ne $uconfig{'lock_string'} ? "checked" :"";
printf "\n",
$pass && $pass ne $uconfig{'lock_string'} ? $pass : "";
print " | \n";
print " | $text{'passwd_gid'} | \n";
print " | \n";
if ($mode == 2) {
print " |