home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 October / PCWorld_2000-10_cd1.bin / Komunik / sambar / _setup.1 / Defaults.stm < prev    next >
Text File  |  2000-08-01  |  3KB  |  114 lines

  1. <HTML>
  2. <HEAD>
  3. <TITLE>Change your defaults</TITLE>
  4. <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
  5. <!--
  6. function fnForm_Validate(objForm) 
  7. {
  8.     bReturn = true
  9.     strAlert = "Please correct the following: \n";
  10.     
  11.     if(objForm.signature.length > 250) 
  12.     {
  13.         strAlert += "The signature cannot exceed 250 characters\n";
  14.         bReturn = false;
  15.     }
  16.     if(objForm.def_bcc.lenght > 80) 
  17.     {
  18.         strAlert += "The bcc address cannot exceed 80 characters\n";
  19.         bReturn = false;
  20.     }
  21.     if(bReturn == false) 
  22.     {
  23.         alert(strAlert);
  24.     }
  25.     return bReturn
  26. }
  27. //-->
  28. </SCRIPT>
  29. </HEAD>
  30. <BODY BGCOLOR="#ffffff" LINK="#0000ff" VLINK="#ff0000" ALINK="#ff0000" TEXT="#00
  31. 0000">
  32. <RCif RCEloggedin ! true>
  33. <FONT SIZE=+2 COLOR=#ff0000><B>Mail user not logged in!</B></FONT>
  34. </BODY></HTML>
  35. <RCexit>
  36. <RCendif>
  37. <RC$npage = RCShome/webmail.stm>
  38. <TABLE align="center" border=0 cellspacing=4 width=100%>
  39. <TR>
  40. <TD colspan=2 align="right">
  41. <B>
  42. <FONT SIZE=+3>S</FONT>AMBAR
  43. <FONT SIZE=+3>S</FONT>ERVER
  44. <FONT SIZE=+3>W</FONT>EBMAIL
  45. </B>
  46. </TD></TR>
  47. <TR>
  48. <TD>
  49.     <RCinclude RCShome/actions.stm>
  50. </TD>
  51. <TD WIDTH=80% valign="top">
  52.     <FORM action="<RCShome>/upddefs.stm" method="post" onsubmit="return fnForm_Validate(this)">
  53.     <TABLE border=0 cellpadding=6 cellspacing=0>
  54.     <TR bgcolor="#000080">
  55.     <TD>
  56.         <font color="#ffffff">Your signature:</font>
  57.     </TD>
  58.     </TR>
  59.     <TR>
  60.     <TD>
  61.     <TEXTAREA cols="72" rows="3" name="signature" wrap="hard"><RCPsignature></textarea>
  62.     </TD>
  63.     </TR>
  64.     <TR>
  65.     <TD>
  66.         <small>Your signature will be appended to your mail. It must be 
  67.         plaintext and the maximum length is 250 characters.</small>
  68.     </TD>
  69.     </TR>
  70.     <TR bgcolor="#000080">
  71.     <TD>
  72.         <font color="#ffffff">Your default bcc address:</font>
  73.     </TD>
  74.     </TR>
  75.     <TR>
  76.     <TD>
  77.         <INPUT type="text" value="<RCPdef_bcc>" name="def_bcc" size=72 maxlength=80>
  78.     </TD>
  79.     </TR>
  80.     <TR>
  81.     <TD>
  82.         <small>You can specify an email address here, that is filled in by 
  83.         default. This allows you to easily send a copy of every mail to an 
  84.         alternate address. Maximum length is 80 characters.</small>
  85.     </TD>
  86.     </TR>
  87.     <TR>
  88.     <TD class="attrheader">
  89.         <font color="#ffffff">Wrap outgoing messages?</font>
  90.     </TD>
  91.     </TR>
  92.     <TR>
  93.     <TD>
  94.         <SELECT NAME="wrap_out">
  95.         <OPTION value=0 <RCif RCPwrap_out = 0>SELECTED<RCendif>>none</option>
  96.         <OPTION value=60 <RCif RCPwrap_out = 60>SELECTED<RCendif>>60</option>
  97.         <OPTION value=72 <RCif RCPwrap_out = 72>SELECTED<RCendif>>72</option>
  98.         <OPTION value=80 <RCif RCPwrap_out = 80>SELECTED<RCendif>>80</option>
  99.         </SELECT>
  100.     </TD>
  101.     </TR>
  102.     <TR>
  103.     <TD>
  104.         <INPUT type="Submit" value="Update">
  105.     </TD>
  106.     </TR>
  107.     </TABLE>
  108.     </FORM>
  109. </TD>
  110. </TR>
  111. </table>
  112. </BODY>
  113. </HTML>
  114.