fixed uninitialized urlMailbox bug on bug list
[squirrelmail.git] / src / options_personal.php
index 8d71cae2a50d863b1aa3dfca43a57365af707421..05a0923dff45afb14c30d37905f9127d59828af9 100644 (file)
@@ -25,6 +25,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 +41,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"); ?>:
@@ -62,7 +64,7 @@
          <tr>
             <td align=right nowrap valign=top><br><?php echo _("Signature"); ?>:
             </td><td>
-<?
+<?php
    if ($use_signature == true)
       echo "<input type=checkbox value=\"0\" name=usesignature checked>&nbsp;&nbsp;" . _("Use a signature") . "?<BR>";
    else {
 ?>
             </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>