Link to resume composing a draft email.
[squirrelmail.git] / src / options_personal.php
index 62b62e4e80b29bd18cabfa87bb59313a99e12a3c..a2403528c47dd224b40e42b7eb527f74230873e0 100644 (file)
     **  $Id$
     **/
 
-   include('../src/validate.php');
-   include('../functions/display_messages.php');
-   include('../functions/imap.php');
-   include('../functions/array.php');
-   include('../functions/plugin.php');
+   require_once('../src/validate.php');
+   require_once('../functions/display_messages.php');
+   require_once('../functions/imap.php');
+   require_once('../functions/array.php');
+   require_once('../functions/plugin.php');
    
    displayPageHeader($color, 'None');
 
                <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> &lt;<?php
+                  echo _("Author's Name");
+               ?>&gt;
+               <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">Edit Advanced Identities</a>
-               (discards changes made on this form so far)
-           </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>&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 )
-    echo '<input type="checkbox" value="1" name="prefixsig" checked>&nbsp;&nbsp;' 
-        . _( "Prefix signature with '--' ?" ) . '<BR>';
-  else
-    echo '<input type="checkbox" value="1" name="prefixsig">&nbsp;&nbsp;' . 
-        _( "Prefix signature with '--' ?" ) . '<BR>';
+   echo '<input type=checkbox value="1" name=usesignature';
+   if ($use_signature)
+      echo ' checked';
+   echo '>&nbsp;&nbsp;' . _("Use a signature?") . '&nbsp;&nbsp;';
+   echo '<input type="checkbox" value="1" name="prefixsig"';
+   if ( $prefix_sig )
+     echo ' checked';
+   echo '>&nbsp;&nbsp;' .
+        _( "Prefix signature with '-- ' ?" ) . '<BR>';
    echo "\n<textarea name=\"signature_edit\" rows=\"5\" cols=\"50\">$signature_abs</textarea><br>";
 ?>
             </td>
 
 </td></tr>
 </table>
-</body></html>
+</body></html>
\ No newline at end of file