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 / version.tmpl < prev    next >
Text File  |  2009-11-06  |  13KB  |  329 lines

  1. # FILE: version.tmpl
  2. # DESCRIPTION: Version Manager screen
  3. # Copyright (c) 2002, DiscusWare, LLC, all rights reserved
  4. # -------------------------------------------------------------------------------------------
  5.  
  6. <!--BEGIN-->
  7.  
  8. <#define array @menubar (number,name)#>
  9. 0    Information
  10. 1    Upgrades
  11. 2    Mailing List
  12. <#/define#>
  13.  
  14. <html><head><title>Version Manager</title>
  15. <style>
  16. td.unselected {font: bold 9pt verdana,arial,helvetica; background-color: #d0d0d0}
  17. td.selected {font: bold 9pt verdana,arial,helvetica; background-color: #f7f757}
  18. td.ub {font: bold 8pt verdana,arial,helvetica}
  19. td.n {font: 9pt verdana,arial,helvetica}
  20. td.nn {font: 8pt verdana,arial,helvetica}
  21. td.nb {font: bold 9pt verdana,arial,helvetica}
  22. a.bar {text-decoration: none}
  23. p { margin-left: 2pt; }
  24. p.blbar {margin-left: 0pt; font: 11pt verdana,arial,helvetica; color: #ffff00; background-color: #000000; width: 100% }
  25. .surround {border: thin black inset; width: 100%; font: 10pt verdana,arial,helvetica }
  26. .normal {font: 10pt verdana,arial,helvetica}
  27. .comment {font: 9pt verdana,arial,helvetica; margin-left: 20pt; }
  28. </style>
  29. </head>
  30. <body bgcolor="#ffffff" text="#000000" link="#0000FF" vlink="#0000FF">
  31. $fs<font size=3><center><b>Version Manager</b></center></font>
  32. <hr>
  33. <table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td bgcolor=#d0d0d0>
  34. <table cellpadding=5 cellspacing=0><tr>
  35. <#foreach $barid (@menubar)#>
  36.     <#if $general->{menu} == $barid->{number}#>
  37.         <td class="selected">
  38.     <#else#>
  39.         <td class="unselected">
  40.     <#endif#>
  41.     <a class="bar" href="$general->{url}&menu=$barid->{number}">$barid->{name}</a>
  42.     </td>
  43. <#endloop#>
  44. </tr></table>
  45. </td></tr></table>
  46. <hr>
  47. <p>
  48. <#if $general->{menu} == 0#>
  49.     <div class="surround">
  50.         {#if $browser->{ieX}#}<p class="blbar">Board Information</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Board Information</font></font></td></tr></table>{#endif#}
  51.         <p>
  52.         <b>$title</b> is running Discus <#if pro#> Professional <#else#> Freeware <#endif#>$general->{version} (build $serial)
  53.         <#if pro#><br>Your Discus Professional license number is: <b>$pro_license</b>
  54.         <br>
  55.         <#if $topicinfo->{messages_total} > 0#>
  56.             You have
  57.             <b>$topicinfo->{messages_total}</b> message{#if $topicinfo->{messages_total} != 1#}s{#endif#}
  58.             in <b>$topicinfo->{pages_total}</b> page{#if $topicinfo->{pages_total} != 1#}s{#endif#}
  59.             under <b>$topicinfo->{topics_total}</b> topic{#if $topicinfo->{topics_total} != 1#}s{#endif#}.
  60.             <br>
  61.             Most recent post on <b><#date $topicinfo->{last_post} format "%nmonth-%day-%2year %24hour:%minute"#></b>
  62.             by <b>$topicinfo->{last_poster}</b>.
  63.         <#else#>
  64.             You have <b>0</b> messages posted on your board.
  65.         <#endif#>
  66.         </p>
  67.     </div>
  68.     <br><br>
  69.     <#if $vminfo->{urgent_notice} ne ""#>
  70.         <div class="surround">
  71.             {#if $browser->{ieX}#}<p class="blbar">URGENT NOTICE FROM DISCUSWARE</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>URGENT NOTICE FROM DISCUSWARE</font></font></td></tr></table>{#endif#}
  72.             <p>
  73.             $vminfo->{urgent_notice}
  74.             </p>
  75.         </div>
  76.         <br><br>
  77.     <#endif#>
  78.     
  79.     <div class="surround">
  80.         {#if $browser->{ieX}#}<p class="blbar">Version Check</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Version Check</font></font></td></tr></table>{#endif#}
  81.         <#if $vminfo->{update} == -1#>
  82.             <p><font color=#ff0000>Upgrade Check Disabled</font></p>
  83.             <p>
  84.             You have selected not to have Version Manager contact DiscusWare's servers to
  85.             determine if an upgrade is available (this option is set in your Options
  86.             Manager).  You must manually check the Discus Home Page at
  87.             <a href="http://www.discusware.com" target=_blank>http://www.discusware.com</a>
  88.             to determine if an upgrade is available.
  89.             </p> 
  90.         <#endif#>
  91.         <#if $vminfo->{update} == 0 || $vminfo->{update} eq ""#>
  92.             <p><font color=#ff0000>Error connecting to www.discusware.com</font></p>
  93.             <p>
  94.             Please check the DiscusWare Home Page at
  95.             <a href="http://www.discusware.com" target=_blank>http://www.discusware.com</a>
  96.             to determine if an upgrade is available.
  97.             </p> 
  98.         <#endif#>
  99.         <#if $vminfo->{update} == 1#>
  100.             <p><font color=#ff0000><b>Upgrade Recommended</b></font></p>
  101.             
  102.             <p>
  103.             It is suggested that you upgrade to version <b>$vminfo->{latest}</b>.
  104.             </p>
  105.             
  106.              
  107.         <#endif#>
  108.         <#if $vminfo->{update} == 2#>
  109.             <p><font color=#119911><b>No Upgrade Needed</b></font></p>
  110.             <p>
  111.             You are running the latest version of Discus{#if pro#} Professional{#endif#}.
  112.             </p>
  113.              
  114.         <#endif#>
  115.         <#if $vminfo->{update} == 3#>
  116.             <p><font color=#119911><b>No Upgrade Needed</b></font></p>
  117.             <p>
  118.             You are running the latest version of Discus{#if pro#} Professional{#endif#}.
  119.             However, a new beta version is available.
  120.             </p>
  121.              
  122.         <#endif#>
  123.         <#if $vminfo->{update} >= 4#>
  124.             <p><font color=#ff0000><b>Discus Professional License Problem</b></font></p>
  125.             <p>
  126.             Your Discus Professional license has been disabled due to sales or licensing issues.
  127.             Please contact DiscusWare at <i>sales@discusware.com</i> so the situation can
  128.             be remedied.
  129.             </p>
  130.              
  131.         <#endif#>
  132.     </div>
  133.     <br><br>
  134.     <#if !pro#>
  135.         <div class="surround">
  136.             {#if $browser->{ieX}#}<p class="blbar">Discus Professional</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Discus Professional</font></font></td></tr></table>{#endif#}
  137.             <p>
  138.             <a href="http://www.discusware.com/products/professional.html" target="_blank">Discus Professional</a> is a commercial
  139.             version of the freeware product you are now using.  It offers numerous feature enhancements, such as:
  140.             </p>
  141.             <ul>
  142.                 <li>Read-restricted topics
  143.                 <li>User self-registration and password retrieval
  144.                 <li>Automatic archiving and pruning of subtopics and messages
  145.                 <li>Enhanced user profiles and user lists
  146.                 <li>Message queue (approve messages before they are posted)
  147.                 <li>Backup and restore of critical data files
  148.                 <li>Attachment uploading (arbitrary file types)
  149.                 <li>IP screening (banning or privileges)
  150.                 <li>Log analysis tools
  151.                 <li>MySQL backend for user management, logs, and searching
  152.                 <li><i>... and many more!</i>
  153.             </ul>
  154.             <p>
  155.             You will get to keep all of your moderators, users, topics, messages, and settings when you
  156.             upgrade.  For more information please browse to:
  157.             </p>
  158.             <p align=center>
  159.             <a href="http://www.discusware.com/products/professional.html" target="_blank">http://www.discusware.com/products/professional.html</a>
  160.             </p>
  161.             <p>
  162.             <font size=1>The above price and feature lists are correct as of the release of this
  163.             version of Discus but are subject to change.  For all the latest pricing information
  164.             and feature lists, please visit the document above.
  165.             </font>
  166.             </p>
  167.         </div>
  168.     <#endif#>
  169.  
  170. <#endif#>
  171.  
  172. <#if $general->{menu} == 1#>
  173.     <#define $software = "Freeware Discus"#>
  174.     <#if pro#>
  175.         <#define $software = "Discus Professional"#>
  176.     <#endif#>
  177.     <div class="surround">
  178.         {#if $browser->{ieX}#}<p class="blbar">Telnet/SSH/Console Upgrade</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Telnet/SSH/Console Upgrade</font></font></td></tr></table>{#endif#}
  179.         <#if pro#>
  180.             <p>
  181.             You can download the latest source code distribution of Discus Professional using the
  182.             <a href="http://www.discusware.com/download/professional.html" target="_blank">Discus Professional Download Area</a>.
  183.             </p>
  184.         <#else#>
  185.             <p>
  186.             You can download the latest source code distribution of Discus Freeware using the
  187.             <a href="http://www.discusware.com/download/freeware.html" target="_blank">Freeware Discus Download Page</a>.
  188.             Or, you can click the following link to learn more about
  189.             <a href="http://www.discusware.com/products/professional.html" target="_blank">Discus Professional</a>.
  190.             </p>
  191.         <#endif#>
  192.         <br>
  193.     </div>
  194.     <br>
  195.     <form name=uf target="_blank" method="post" action="http://www.discusware.com/cgi-bin/ftp/ftp-inst.cgi">
  196.     <input type=hidden name=pathperl value="$upgradeinfo->{pathperl}">
  197.     <input type=hidden name=discusconf value="$upgradeinfo->{discusconf}">
  198.     <input type=hidden name=escaped value="1">
  199.     <input type=hidden name=action value="upgrade">
  200.     <input type=hidden name=version value="$general->{version}">
  201.     <div class="surround">
  202.         {#if $browser->{ieX}#}<p class="blbar">Perform FTP upgrade</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Perform FTP upgrade</font></font></td></tr></table>{#endif#}
  203.         <p>
  204.         Click on the following button to prepare a complete FTP distribution that
  205.         used to upgrade your board.  This is appropriate to upgrade from Discus Freeware to
  206.         Discus Professional, or to move to a new software version (e.g. version 4 to 5).
  207.         </p>
  208.         <p>
  209.             <input type=radio name=beta value=0 checked>Latest official release<br>
  210.             <input type=radio name=beta value=1>Beta version (if available)<br>
  211.         </p>
  212.         <#if pro#>
  213.             <input type=hidden name=pro_fileid value="$pro_fileid">
  214.             <input type=hidden name=pro_license value="$pro_license">
  215.             <input type=hidden name=get_pro value="1">
  216.         <#else#>
  217.             <p>
  218.             If you have just purchased
  219.             <a href="http://www.discusware.com/products/professional.html" target="_blank">Discus Professional</a>,    
  220.             supply your license number in the following box to upgrade.
  221.             </p>
  222.             <ul>
  223.             License Number: <input type=text name=pro_license value="" size=20>
  224.             </ul>
  225.         <#endif#>
  226.         <p>
  227.         <input type=submit value="Download FTP Distribution">
  228.         </p>
  229.         </ul>
  230.         <input type=hidden name=version_requested value="latest">
  231.     </div>
  232.     </form>
  233.  
  234.     <form name=uf target="_blank" method="post" action="http://www.discusware.com/cgi-bin/ftp/ftp-patch.cgi">
  235.     <input type=hidden name=pathperl value="$upgradeinfo->{pathperl}">
  236.     <input type=hidden name=discusconf value="$upgradeinfo->{discusconf}">
  237.     <input type=hidden name=escaped value="1">
  238.     <#if pro#>
  239.         <input type=hidden name=pro_fileid value="$pro_fileid">
  240.         <input type=hidden name=pro_license value="$pro_license">
  241.         <input type=hidden name=get_pro value="1">
  242.     <#endif#>
  243.     <div class="surround">
  244.         {#if $browser->{ieX}#}<p class="blbar">Perform FTP patch</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Perform FTP patch</font></font></td></tr></table>{#endif#}
  245.         <p>
  246.         The FTP patch procedure will give you only the files that are necessary to upgrade
  247.         your board to the latest maintenance release.  This procedure uses a substantially smaller
  248.         download and quicker installation than the other choices on this page.
  249.         </p>
  250.         <p>
  251.         Your software's identifying build number:  <b>$serial</b>
  252.         </p>
  253.         <p>
  254.         <input type=submit value="Download FTP Patch">
  255.         </p>
  256.         <input type=hidden name=serial value="$serial">
  257.     </div>
  258.     </form>
  259.     
  260.     <#if $patch->{used} == 1#>
  261.     <div class="surround">
  262.         {#if $browser->{ieX}#}<p class="blbar">Previously Applied FTP Patch</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Previously Applied FTP Patch</font></font></td></tr></table>{#endif#}
  263.         <p>
  264.         This file confirms that you have successfully applied a patch.
  265.         </p>
  266.         <ul>
  267.         <li>Previous version: <b>$patch->{oldv}</b> (build $patch->{olds})
  268.         <li>New version: <b>$patch->{newv}</b> (build $patch->{news})
  269.         </ul>
  270.         <p>
  271.         The following files were patched:
  272.         </p>
  273.         <ul>
  274.         <table border=1>
  275.         <tr>
  276.         <td class="nb" align=left>File</td>
  277.         <td class="nb" align=center>Status</td>
  278.         <td class="nb" align=right>Size</td>
  279.         <td class="nb" align=center>Modified Date</td>
  280.         </tr>
  281.         <#foreach $file (@patcharr)#>
  282.             <tr>
  283.             <td class="n" valign=top><a href="#" onClick="alert('$file->{file}'); return false;">$file->{shortfile}</a></td>
  284.             <td class="n" valign=top align=center>
  285.                 <#if $file->{error} == 0#><font color="#00aa00"><b>OK</b></font>
  286.                 <#if $file->{error} == 1#><font color="#ff0000"><b>File Not Found</b></font>
  287.                 <#if $file->{error} == 2#><font color="#ff0000"><b>Old/Corrupt File</b></font>
  288.             </td>
  289.             <td class="n" valign=top align=right>$file->{size}</td>
  290.             <td class="n" valign=top align=left><#date $file->{mtime} format "%day-%mon.-%year %24hour:%minute:%second"#></td>
  291.             </tr>
  292.         <#endloop#>
  293.         </table>
  294.         </ul>
  295.         <p>
  296.         <b>Hint:</b> Once you have confirmed that this patch was correctly applied, you
  297.         can delete the "patch.txt" file from your administration directory to make this
  298.         section of the Version Manager disappear.
  299.         </p>
  300.         <br>
  301.     </div>
  302.  
  303.     <#endif#>
  304.     
  305. <#endif#>
  306.  
  307. <#if $general->{menu} == 2#>
  308.     <div class="surround">
  309.         {#if $browser->{ieX}#}<p class="blbar">Discus Mailing List</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Discus Mailing List</font></font></td></tr></table>{#endif#}
  310.         <p>
  311.         DiscusWare will send an e-mail to its customers to announce new major software releases.
  312.         If you would like to subscribe to this mailing list, please indicate your e-mail address
  313.         below.  DiscusWare respects the privacy of its customers and will use your e-mail address
  314.         only for the aforementioned major announcements, and will not otherwise sell or distribute
  315.         your e-mail address or other information.
  316.         </p>
  317.         <form name=ml method=post action="http://www.discusware.com/cgi-bin/list.cgi">
  318.           <input type=text name=email size=50 value="">
  319.         <input type=hidden name=url value="$html_url">
  320.         <input type=hidden name=dump value="$cgiurl?username=$general->{username}&action=version_mgr&menu=2">
  321.         <input type=submit value="Join List!">
  322.         </form>
  323.     </div>
  324. <#endif#>
  325.  
  326. </font>
  327. </body></html>
  328. <!--END-->
  329.