**
** Displays all options relating to personal information
**
+ ** $Id$
**/
- session_start();
+ include('../src/validate.php');
+ include('../functions/display_messages.php');
+ include('../functions/imap.php');
+ include('../functions/array.php');
+ include('../functions/plugin.php');
+
+ displayPageHeader($color, 'None');
- if (!isset($config_php))
- include("../config/config.php");
- if (!isset($strings_php))
- include("../functions/strings.php");
- if (!isset($page_header_php))
- include("../functions/page_header.php");
- if (!isset($display_messages_php))
- include("../functions/display_messages.php");
- if (!isset($imap_php))
- include("../functions/imap.php");
- if (!isset($array_php))
- 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");
-
- $fullname = getPref($data_dir, $username, "full_name");
- $replyto = getPref($data_dir, $username, "reply_to");
- $email_address = getPref($data_dir, $username, "email_address");
+ $fullname = getPref($data_dir, $username, 'full_name');
+ $replyto = getPref($data_dir, $username, 'reply_to');
+ $email_address = getPref($data_dir, $username, 'email_address');
?>
<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] ?>">
+
+ <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>
- <table width=100% cellpadding=0 cellspacing=2 border=0>
+ <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 _("Reply Citation Style") ?>:</td>
+ <td><select name="new_reply_citation_style">
+ <option value="none"<?PHP
+ if ($reply_citation_style == 'none') echo ' SELECTED';
+ ?>>- <?PHP echo _("No Citation"); ?> -</option>
+ <option value="author_said"<?PHP
+ if ($reply_citation_style == 'author_said') echo ' SELECTED';
+ ?>><?PHP echo _("AUTHOR Said"); ?></option>
+ <option value="quote_who"<?PHP
+ if ($reply_citation_style == 'quote_who') echo ' SELECTED';
+ ?>><?PHP echo _("Quote Who XML"); ?></option>
+ <option value="user-defined"<?PHP
+ if ($reply_citation_style == 'user-defined') echo ' SELECTED';
+ ?>><?PHP echo _("User-Defined"); ?></option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td align="right" nowrap><?php echo _("User-Defined Reply Citation"); ?>:</td>
+ <td>
+ <tt><input type="text" size="20" name="new_reply_citation_start" value="<?php
+ echo $reply_citation_start;
+ ?>"></tt> <<?php
+ echo _("Author's Name");
+ ?>>
+ <tt><input type="text" size="20" name="new_reply_citation_end" value="<?php
+ echo $reply_citation_end;
+ ?>"></tt>
+ </td>
+ </tr>
+ <tr>
+ <td align=right nowrap><?PHP echo _("Multiple Identities"); ?>:
+ </td><td>
+ <a href="options_identities.php"><?PHP
+ echo _("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>
<?php
- if ($use_signature == true)
- echo "<input type=checkbox value=\"1\" name=usesignature checked> " . _("Use a signature") . "?<BR>";
- else {
- echo "<input type=checkbox value=\"1\" name=usesignature> ";
- echo _("Use a signature?");
- echo "<BR>";
- }
- echo "\n<textarea name=signature_edit rows=5 cols=50>$signature_abs</textarea><br>";
+ echo '<input type=checkbox value="1" name=usesignature';
+ if ($use_signature)
+ echo ' checked';
+ echo '> ' . _("Use a signature?") . ' ';
+ echo '<input type="checkbox" value="1" name="prefixsig"';
+ if ( $prefix_sig )
+ echo ' checked';
+ echo '> ' .
+ _( "Prefix signature with '--' ?" ) . '<BR>';
+ echo "\n<textarea name=\"signature_edit\" rows=\"5\" cols=\"50\">$signature_abs</textarea><br>";
?>
</td>
</tr>
</td>
</tr>
</table>
- </form>
- <?php do_hook("options_personal_bottom"); ?>
+</form>
+
+ <?php do_hook('options_personal_bottom'); ?>
+
+ </td></tr>
+ </table>
+
+</td></tr>
+</table>
</body></html>