* Fixed a silly bug
[squirrelmail.git] / src / options_personal.php
index 784dd757a780e7906d95fdf056ed56e822504730..e80f6934f2fc1b3d7fa7a72c5e2f9ac84cc06143 100644 (file)
     **/
 
    include('../src/validate.php');
-   include('../functions/page_header.php');
    include('../functions/display_messages.php');
    include('../functions/imap.php');
    include('../functions/array.php');
    include('../functions/plugin.php');
-   include('../src/load_prefs.php');
    
    displayPageHeader($color, 'None');
 
 
 ?>
    <br>
-   <table width=95% align=center border=0 cellpadding=2 cellspacing=0><tr><td bgcolor="<?php echo $color[0] ?>">
-      <center><b><?php echo _("Options") . " - " . _("Personal Information"); ?></b></center>
-   </td></tr></table>
+<table width=95% align=center border=0 cellpadding=2 cellspacing=0>
+<tr><td align="center" bgcolor="<?php echo $color[0] ?>">
 
-   <form name=f action="options.php" method=post>
-      <table width=100% cellpadding=0 cellspacing=2 border=0>
+      <b><?php echo _("Options") . " - " . _("Personal Information"); ?></b>
+
+    <table width="100%" border="0" cellpadding="1" cellspacing="1">
+    <tr><td bgcolor="<?php echo $color[4] ?>" align="center">
+
+   <form name=f action="options.php" method=post><br>
+      <table width=100% cellpadding=2 cellspacing=0 border=0>
          <tr>
             <td align=right nowrap><?php echo _("Full Name"); ?>:
             </td><td>
                <input size=50 type=text value="<?php echo $replyto ?>" name=reply_to> 
             </td>
          </tr>
+        <tr>
+           <td align=right nowrap><?PHP echo _("Multiple Identities"); ?>:
+           </td><td>
+              <a href="options_identities.php">Edit Advanced Identities</a>
+               (discards changes made on this form so far)
+           </td>
+        </tr>
+         <tr><td colspan=2><hr size=1 width=80%></td></tr>
          <tr>
             <td align=right nowrap valign=top><br><?php echo _("Signature"); ?>:
             </td><td>
@@ -58,7 +68,7 @@
       echo '<input type=checkbox value="1" name=usesignature checked>&nbsp;&nbsp;' . _("Use a signature?") . '&nbsp;&nbsp;';
    else
       echo '<input type=checkbox value="1" name=usesignature>&nbsp;&nbsp;' . _("Use a signature?") . '&nbsp;&nbsp;';
-  if ( ! isset($prefix_sig) || $prefix_sig == true )
+  if ( ! isset($prefix_sig) && $prefix_sig == true )
     echo '<input type="checkbox" value="1" name="prefixsig" checked>&nbsp;&nbsp;' 
         . _( "Prefix signature with '--' ?" ) . '<BR>';
   else
             </td>
          </tr>
       </table>   
-   </form>
+</form>
+
    <?php do_hook('options_personal_bottom'); ?>
+
+    </td></tr>
+    </table>
+
+</td></tr>
+</table>
 </body></html>