more warnings removed
[squirrelmail.git] / src / options_personal.php
index f140316fba096b906f6d49119bb6f82e3b49c1e3..7db053d03cfe14e58b2bb2a1c0fc571209023bd6 100644 (file)
@@ -7,14 +7,15 @@
     **
     **  Displays all options relating to personal information
     **
+    **  $Id$
     **/
 
    session_start();
 
-   if (!isset($config_php))
-      include("../config/config.php");
    if (!isset($strings_php))
       include("../functions/strings.php");
+   if (!isset($config_php))
+      include("../config/config.php");
    if (!isset($page_header_php))
       include("../functions/page_header.php");
    if (!isset($display_messages_php))
@@ -25,6 +26,8 @@
       include("../functions/array.php");
    if (!isset($i18n_php))
       include("../functions/i18n.php");
+   if (!isset($plugin_php))
+      include("../functions/plugin.php");
 
    include("../src/load_prefs.php");
    displayPageHeader($color, "None");
@@ -39,7 +42,7 @@
       <center><b><?php echo _("Options") . " - " . _("Personal Information"); ?></b></center>
    </td></tr></table>
 
-   <form action="options.php" method=post>
+   <form name=f action="options.php" method=post>
       <table width=100% cellpadding=0 cellspacing=2 border=0>
          <tr>
             <td align=right nowrap><?php echo _("Full Name"); ?>:
@@ -64,7 +67,7 @@
             </td><td>
 <?php
    if ($use_signature == true)
-      echo "<input type=checkbox value=\"0\" name=usesignature checked>&nbsp;&nbsp;" . _("Use a signature") . "?<BR>";
+      echo "<input type=checkbox value=\"1\" name=usesignature checked>&nbsp;&nbsp;" . _("Use a signature") . "?<BR>";
    else {
       echo "<input type=checkbox value=\"1\" name=usesignature>&nbsp;&nbsp;";
       echo _("Use a signature?");
 ?>
             </td>
          </tr>
+         <?php do_hook("options_personal_inside"); ?>
          <tr>
             <td>&nbsp;
             </td><td>
-               <input type="submit" value="Submit" name="submit_personal">
+               <input type="submit" value="<?php echo _("Submit"); ?>" name="submit_personal">
             </td>
          </tr>
       </table>   
    </form>
+   <?php do_hook("options_personal_bottom"); ?>
 </body></html>