home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / FAQ / cgi-bin / discus4_00 / source / options7.tmpl < prev    next >
Text File  |  2009-11-06  |  9KB  |  153 lines

  1. # FILE: options7.tmpl
  2. # DESCRIPTION: Options Manager Screen - For advanced mode, menu=6
  3. # Copyright (c) 2002, DiscusWare, LLC, all rights reserved
  4. # -------------------------------------------------------------------------------------------
  5.  
  6. <!--BEGIN-->
  7. <input type=hidden name="f" value="email">
  8. <div class="surround">
  9.     {#if $browser->{ieX}#}<p class="blbar">Activation</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Activation</font></font></td></tr></table>{#endif#}
  10.     <p>
  11.     <input onClick="document.opts.emforcesave.value = 1; if (document.opts.capable.checked == false) { if (document.opts.email.checked == true) { document.opts.email.checked = false; alert('Because you have specified that this server is not capable of sending e-mail messages, e-mail notification has been automatically disabled.'); } }" type=checkbox name=capable value=1{#if $GLOBAL_OPTIONS{capable}#} checked{#endif#}> Server is capable of sending e-mail messages<br>
  12.     <input onClick="document.opts.emforcesave.value = 1; if (document.opts.capable.checked == false) { alert('E-mail notification can be enabled only if your server is capable of sending e-mail messages.  You must check the option below next to:\n\nServer is capable of sending e-mail messages\n\n...before you can enable e-mail notification.'); document.forms[0].email.checked = 0; }" type=checkbox name=email value=1{#if $GLOBAL_OPTIONS{email}#} checked{#endif#}> E-mail notification enabled<br>
  13.     <input type=hidden name="a" value="capable">
  14.     <#if pro#>
  15.         <input onClick="document.opts.emforcesave.value = 1;" type=checkbox name="reply_email_admin" value=1{#if $GLOBAL_OPTIONS{reply_email_admin} == 1#} checked{#endif#}> Reply by e-mail -- administrative features enabled
  16.             (<a href="#" onClick="return openwin('$cgiurl?username=$general->{username}&action=email_admin_cfg');">Configure</a>)<br>
  17.         <input type=hidden name="a" value="reply_email_admin">
  18.     <#endif#>
  19.     <input onClick="document.opts.emforcesave.value = 1;" type=checkbox name="reply_email" value=1{#if $GLOBAL_OPTIONS{reply_email} == 1#} checked{#endif#}> Reply by e-mail -- posting features enabled<br>
  20.     <input type=hidden name="a" value="reply_email">
  21.     </p>
  22.     <input type=hidden name="a" value="email">
  23. </div>
  24. <br><br>
  25. <div class="surround">
  26.     {#if $browser->{ieX}#}<p class="blbar">E-mail Message Headers</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>E-mail Message Headers</font></font></td></tr></table>{#endif#}
  27.     <p>
  28.     This section controls the SMTP headers that are used when generating your e-mail
  29.     notification messages.  Note that replies to e-mail messages (if you have enabled
  30.     e-mail reply) will be sent to the "From Address" you specify below if a properly
  31.     functioning e-mail client is used to compose the reply.
  32.     </p>
  33.     <ul>
  34.         <table>
  35.         <tr>
  36.         <td class="ub">From Name:</td>
  37.         <td><input onChange="document.opts.emforcesave.value = 1;" type=text size=35 name="fromname" value="<#form escape "$mailer->{fromname}"#>"></td>
  38.         </tr>
  39.         <tr>
  40.         <td class="ub">From Address:</td>
  41.         <td><input onChange="document.opts.emforcesave.value = 1;" type=text size=35 name="fromaddr" value="<#form escape "$mailer->{fromaddr}"#>"></td>
  42.         </tr>
  43.         </table>
  44.     </ul>
  45.     <p>
  46.     If you utilize the BCC method of mail sending, you must supply a 'To' address to
  47.     which the e-mail messages will be sent.  Read the administration instructions for Options
  48.     Manager for more.  Just enter your own e-mail address here if you aren't sure what to do.
  49.     </p>
  50.     <ul>
  51.         <table>
  52.         <tr>
  53.         <td class="ub">To Address:</td>
  54.         <td><input onChange="document.opts.emforcesave.value = 1;" type=text size=35 name="chuckaddress" value="<#form escape "$mailer->{chuckaddress}"#>"></td>
  55.         </tr>
  56.         </table>
  57.     </ul>
  58.  
  59.  
  60.     <input type=hidden name="c" value="mail_config">
  61. </div>
  62. <br><br>
  63. <div class="surround">
  64.     {#if $browser->{ieX}#}<p class="blbar">Notification Options</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Notification Options</font></font></td></tr></table>{#endif#}
  65.     <p>
  66.     <#if pro#>
  67.         <input onClick="document.opts.emforcesave.value = 1;" type=checkbox value=1 name="email_edit_profile_link"{#if $GLOBAL_OPTIONS{email_edit_profile_link} == 1#} checked{#endif#}> Add a link to edit profile within message<br>
  68.         <input type=hidden name="a" value="email_edit_profile_link">
  69.         <input onClick="document.opts.emforcesave.value = 1;" type=checkbox value=1 name="disable_html_mail"{#if $GLOBAL_OPTIONS{disable_html_mail} == 1#} checked{#endif#}> Disable ability to receive HTML mail<br>
  70.         <input type=hidden name="a" value="disable_html_mail">
  71.     <#endif#>
  72.     <input onClick="document.opts.emforcesave.value = 1;" type=checkbox value=1 name="send_mail_only_admins"{#if $GLOBAL_OPTIONS{send_mail_only_admins} == 1#} checked{#endif#}> E-mail notification only to moderators<br>
  73.     <#if pro#>
  74.         <input onClick="document.opts.emforcesave.value = 1;" type=checkbox value=1 name="preserve_images_in_email"{#if $GLOBAL_OPTIONS{preserve_images_in_email} == 1#} checked{#endif#}> Preserve images and embedded items in HTML e-mail<br>
  75.         <input type=hidden name="a" value="preserve_images_in_email">
  76.     <#endif#>
  77.     <input onClick="document.opts.emforcesave.value = 1;" type=checkbox value=1 name="always_quoted_printable"{#if $GLOBAL_OPTIONS{always_quoted_printable} == 1#} checked{#endif#}> Treat all e-mail replies as if they are encoded with "Quoted Printable"<br>
  78.     <input type=hidden name="a" value="send_mail_only_admins,subject_line,always_quoted_printable">
  79.     <input onClick="document.opts.emforcesave.value = 1;" type=checkbox value=1 name="sendnotext"{#if $GLOBAL_OPTIONS{sendnotext} == 1#} checked{#endif#}> Send only headers (not message text)<br>
  80.     <#if pro#>
  81.         <input onClick="document.opts.emforcesave.value = 1;" type=checkbox value=1 name="email_bysubtopic"{#if $GLOBAL_OPTIONS{email_bysubtopic} == 1#} checked{#endif#}> Users may select e-mail notification by first-level subtopic<br>
  82.         <input type=hidden name="a" value="email_bysubtopic">
  83.     <#endif#>
  84.     </p>
  85.     <p>
  86.     Subject Line:  <select onSelect="document.opts.emforcesave.value = 1;" name="subject_line" size=1>
  87.     <option value="0"{#if $GLOBAL_OPTIONS{subject_line} == 0#} selected{#endif#}>Name of page</option>
  88.     <option value="1"{#if $GLOBAL_OPTIONS{subject_line} == 1#} selected{#endif#}>Navigation bar (topic and page name)</option>
  89.     <option value="2"{#if $GLOBAL_OPTIONS{subject_line} == 2#} selected{#endif#}>Static text from language file</option>
  90.     </select>
  91.     </p>
  92.     <input type=hidden name="a" value="sendnotext">
  93. </div>
  94. <#if $mailer->{pop3}#>
  95.     <br><br>
  96.     <div class="surround">
  97.         {#if $browser->{ieX}#}<p class="blbar">Reply by E-mail Through POP3 Mailbox</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Reply by E-mail through POP3 Mailbox</font></font></td></tr></table>{#endif#}
  98.         <p>
  99.         This option lets you scan a POP3 mailbox for posts to be made through reply by e-mail.
  100.         This works best with the {#if ! pro#}Discus Pro {#endif#}task scheduler function to
  101.         ensure that the mailbox is scanned regularly.
  102.         </p>
  103.         <p>
  104.         <input onClick="document.opts.emforcesave.value = 1;" type=checkbox value=1 name="scanpop3"{#if $GLOBAL_OPTIONS{scanpop3} == 1#} checked{#endif#}> Scan a POP3 mailbox for e-mail replies:
  105.         </p>
  106.         <ul>
  107.             <table>
  108.             <tr>
  109.             <td class="ub">POP3 server name/IP:</td>
  110.             <td><input onChange="document.opts.emforcesave.value = 1;" type=text size=35 name="pop3_host" value="<#form escape "$GLOBAL_OPTIONS{pop3_host}"#>"></td>
  111.             </tr>
  112.             <tr>
  113.             <td class="ub">Username:</td>
  114.             <td><input onChange="document.opts.emforcesave.value = 1;" type=text size=20 name="pop3_user" value="<#form escape "$GLOBAL_OPTIONS{pop3_user}"#>"></td>
  115.             </tr>
  116.             <tr>
  117.             <td class="ub">Password:</td>
  118.             <td><input onChange="document.opts.emforcesave.value = 1;" type=text size=20 name="pop3_pass" value="<#form escape "$GLOBAL_OPTIONS{pop3_pass}"#>"></td>
  119.             </tr>
  120.             <tr>
  121.             <td class="ub">E-mail Address:</td>
  122.             <td><input onChange="document.opts.emforcesave.value = 1;" type=text size=35 name="pop3_addr" value="<#form escape "$GLOBAL_OPTIONS{pop3_addr}"#>"></td>
  123.             </tr>
  124.             </table>
  125.             <p>
  126.             <input onClick="document.opts.emforcesave.value = 1;" type=checkbox name="pop3_scan" value=1{#if $GLOBAL_OPTIONS{pop3_scan} == 1#} checked{#endif#}> This mailbox receives both posts AND either regular e-mail or posts to other boards
  127.             </p>
  128.             <input type="hidden" name="a" value="scanpop3,pop3_scan">
  129.         </ul>
  130.         <input type="hidden" name="b" value="pop3_host,pop3_user,pop3_pass,pop3_addr">
  131.     </div>
  132. <#endif#>
  133. <br><br>
  134. <div class="surround">
  135.     {#if $browser->{ieX}#}<p class="blbar">Technical Configuration of Mail Program</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Technical Configuration of Mail Program</font></font></td></tr></table>{#endif#}
  136.     <p>
  137.     This is where you configure the e-mail program or sending module.  You need to do this
  138.     correctly in order for any e-mail functions (such as e-mail notification,
  139.     {#if ! pro#} and in Discus Pro,
  140.     the forgotten password utility, user self-registration, etc.)  to work properly.
  141.     Please refer to the administration instructions for Options Manager for details.
  142.     </p>
  143.     <ul>
  144.         <p>
  145.             <input type=submit value="Configure E-mail Notification" onClick="config_email_notify();">
  146.         </p>
  147.     </ul>
  148. </div>
  149. <input type=hidden name="emforcesave" value="0">
  150. <input type=hidden name="popconfig" value="0">
  151.  
  152. <!--END-->
  153.