* Added loginname=blah to the core code
authorfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 13 May 2001 15:59:48 +0000 (15:59 +0000)
committerfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 13 May 2001 15:59:48 +0000 (15:59 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1359 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/login.php

index bfa41d6..82ba320 100644 (file)
    echo "               <TD WIDTH=30% ALIGN=right>\n";
    echo _("Name:");
    echo "               </TD><TD WIDTH=* ALIGN=left>\n";
-   echo "                  <INPUT TYPE=TEXT NAME=\"$username_form_name\">\n";
+   echo "                  <INPUT TYPE=TEXT NAME=\"$username_form_name\"";
+   if (isset($loginname))
+      echo " value=\"" . htmlspecialchars($loginname) . "\"";
+   echo ">\n";
    echo "               </TD>\n";
    echo "            </TR><TR>\n";
    echo "               <TD WIDTH=30% ALIGN=right>\n";