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 >
Wrap
Text File
|
2009-11-06
|
13KB
|
329 lines
# FILE: version.tmpl
# DESCRIPTION: Version Manager screen
# Copyright (c) 2002, DiscusWare, LLC, all rights reserved
# -------------------------------------------------------------------------------------------
<!--BEGIN-->
<#define array @menubar (number,name)#>
0 Information
1 Upgrades
2 Mailing List
<#/define#>
<html><head><title>Version Manager</title>
<style>
td.unselected {font: bold 9pt verdana,arial,helvetica; background-color: #d0d0d0}
td.selected {font: bold 9pt verdana,arial,helvetica; background-color: #f7f757}
td.ub {font: bold 8pt verdana,arial,helvetica}
td.n {font: 9pt verdana,arial,helvetica}
td.nn {font: 8pt verdana,arial,helvetica}
td.nb {font: bold 9pt verdana,arial,helvetica}
a.bar {text-decoration: none}
p { margin-left: 2pt; }
p.blbar {margin-left: 0pt; font: 11pt verdana,arial,helvetica; color: #ffff00; background-color: #000000; width: 100% }
.surround {border: thin black inset; width: 100%; font: 10pt verdana,arial,helvetica }
.normal {font: 10pt verdana,arial,helvetica}
.comment {font: 9pt verdana,arial,helvetica; margin-left: 20pt; }
</style>
</head>
<body bgcolor="#ffffff" text="#000000" link="#0000FF" vlink="#0000FF">
$fs<font size=3><center><b>Version Manager</b></center></font>
<hr>
<table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td bgcolor=#d0d0d0>
<table cellpadding=5 cellspacing=0><tr>
<#foreach $barid (@menubar)#>
<#if $general->{menu} == $barid->{number}#>
<td class="selected">
<#else#>
<td class="unselected">
<#endif#>
<a class="bar" href="$general->{url}&menu=$barid->{number}">$barid->{name}</a>
</td>
<#endloop#>
</tr></table>
</td></tr></table>
<hr>
<p>
<#if $general->{menu} == 0#>
<div class="surround">
{#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#}
<p>
<b>$title</b> is running Discus <#if pro#> Professional <#else#> Freeware <#endif#>$general->{version} (build $serial)
<#if pro#><br>Your Discus Professional license number is: <b>$pro_license</b>
<br>
<#if $topicinfo->{messages_total} > 0#>
You have
<b>$topicinfo->{messages_total}</b> message{#if $topicinfo->{messages_total} != 1#}s{#endif#}
in <b>$topicinfo->{pages_total}</b> page{#if $topicinfo->{pages_total} != 1#}s{#endif#}
under <b>$topicinfo->{topics_total}</b> topic{#if $topicinfo->{topics_total} != 1#}s{#endif#}.
<br>
Most recent post on <b><#date $topicinfo->{last_post} format "%nmonth-%day-%2year %24hour:%minute"#></b>
by <b>$topicinfo->{last_poster}</b>.
<#else#>
You have <b>0</b> messages posted on your board.
<#endif#>
</p>
</div>
<br><br>
<#if $vminfo->{urgent_notice} ne ""#>
<div class="surround">
{#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#}
<p>
$vminfo->{urgent_notice}
</p>
</div>
<br><br>
<#endif#>
<div class="surround">
{#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#}
<#if $vminfo->{update} == -1#>
<p><font color=#ff0000>Upgrade Check Disabled</font></p>
<p>
You have selected not to have Version Manager contact DiscusWare's servers to
determine if an upgrade is available (this option is set in your Options
Manager). You must manually check the Discus Home Page at
<a href="http://www.discusware.com" target=_blank>http://www.discusware.com</a>
to determine if an upgrade is available.
</p>
<#endif#>
<#if $vminfo->{update} == 0 || $vminfo->{update} eq ""#>
<p><font color=#ff0000>Error connecting to www.discusware.com</font></p>
<p>
Please check the DiscusWare Home Page at
<a href="http://www.discusware.com" target=_blank>http://www.discusware.com</a>
to determine if an upgrade is available.
</p>
<#endif#>
<#if $vminfo->{update} == 1#>
<p><font color=#ff0000><b>Upgrade Recommended</b></font></p>
<p>
It is suggested that you upgrade to version <b>$vminfo->{latest}</b>.
</p>
<#endif#>
<#if $vminfo->{update} == 2#>
<p><font color=#119911><b>No Upgrade Needed</b></font></p>
<p>
You are running the latest version of Discus{#if pro#} Professional{#endif#}.
</p>
<#endif#>
<#if $vminfo->{update} == 3#>
<p><font color=#119911><b>No Upgrade Needed</b></font></p>
<p>
You are running the latest version of Discus{#if pro#} Professional{#endif#}.
However, a new beta version is available.
</p>
<#endif#>
<#if $vminfo->{update} >= 4#>
<p><font color=#ff0000><b>Discus Professional License Problem</b></font></p>
<p>
Your Discus Professional license has been disabled due to sales or licensing issues.
Please contact DiscusWare at <i>sales@discusware.com</i> so the situation can
be remedied.
</p>
<#endif#>
</div>
<br><br>
<#if !pro#>
<div class="surround">
{#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#}
<p>
<a href="http://www.discusware.com/products/professional.html" target="_blank">Discus Professional</a> is a commercial
version of the freeware product you are now using. It offers numerous feature enhancements, such as:
</p>
<ul>
<li>Read-restricted topics
<li>User self-registration and password retrieval
<li>Automatic archiving and pruning of subtopics and messages
<li>Enhanced user profiles and user lists
<li>Message queue (approve messages before they are posted)
<li>Backup and restore of critical data files
<li>Attachment uploading (arbitrary file types)
<li>IP screening (banning or privileges)
<li>Log analysis tools
<li>MySQL backend for user management, logs, and searching
<li><i>... and many more!</i>
</ul>
<p>
You will get to keep all of your moderators, users, topics, messages, and settings when you
upgrade. For more information please browse to:
</p>
<p align=center>
<a href="http://www.discusware.com/products/professional.html" target="_blank">http://www.discusware.com/products/professional.html</a>
</p>
<p>
<font size=1>The above price and feature lists are correct as of the release of this
version of Discus but are subject to change. For all the latest pricing information
and feature lists, please visit the document above.
</font>
</p>
</div>
<#endif#>
<#endif#>
<#if $general->{menu} == 1#>
<#define $software = "Freeware Discus"#>
<#if pro#>
<#define $software = "Discus Professional"#>
<#endif#>
<div class="surround">
{#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#}
<#if pro#>
<p>
You can download the latest source code distribution of Discus Professional using the
<a href="http://www.discusware.com/download/professional.html" target="_blank">Discus Professional Download Area</a>.
</p>
<#else#>
<p>
You can download the latest source code distribution of Discus Freeware using the
<a href="http://www.discusware.com/download/freeware.html" target="_blank">Freeware Discus Download Page</a>.
Or, you can click the following link to learn more about
<a href="http://www.discusware.com/products/professional.html" target="_blank">Discus Professional</a>.
</p>
<#endif#>
<br>
</div>
<br>
<form name=uf target="_blank" method="post" action="http://www.discusware.com/cgi-bin/ftp/ftp-inst.cgi">
<input type=hidden name=pathperl value="$upgradeinfo->{pathperl}">
<input type=hidden name=discusconf value="$upgradeinfo->{discusconf}">
<input type=hidden name=escaped value="1">
<input type=hidden name=action value="upgrade">
<input type=hidden name=version value="$general->{version}">
<div class="surround">
{#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#}
<p>
Click on the following button to prepare a complete FTP distribution that
used to upgrade your board. This is appropriate to upgrade from Discus Freeware to
Discus Professional, or to move to a new software version (e.g. version 4 to 5).
</p>
<p>
<input type=radio name=beta value=0 checked>Latest official release<br>
<input type=radio name=beta value=1>Beta version (if available)<br>
</p>
<#if pro#>
<input type=hidden name=pro_fileid value="$pro_fileid">
<input type=hidden name=pro_license value="$pro_license">
<input type=hidden name=get_pro value="1">
<#else#>
<p>
If you have just purchased
<a href="http://www.discusware.com/products/professional.html" target="_blank">Discus Professional</a>,
supply your license number in the following box to upgrade.
</p>
<ul>
License Number: <input type=text name=pro_license value="" size=20>
</ul>
<#endif#>
<p>
<input type=submit value="Download FTP Distribution">
</p>
</ul>
<input type=hidden name=version_requested value="latest">
</div>
</form>
<form name=uf target="_blank" method="post" action="http://www.discusware.com/cgi-bin/ftp/ftp-patch.cgi">
<input type=hidden name=pathperl value="$upgradeinfo->{pathperl}">
<input type=hidden name=discusconf value="$upgradeinfo->{discusconf}">
<input type=hidden name=escaped value="1">
<#if pro#>
<input type=hidden name=pro_fileid value="$pro_fileid">
<input type=hidden name=pro_license value="$pro_license">
<input type=hidden name=get_pro value="1">
<#endif#>
<div class="surround">
{#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#}
<p>
The FTP patch procedure will give you only the files that are necessary to upgrade
your board to the latest maintenance release. This procedure uses a substantially smaller
download and quicker installation than the other choices on this page.
</p>
<p>
Your software's identifying build number: <b>$serial</b>
</p>
<p>
<input type=submit value="Download FTP Patch">
</p>
<input type=hidden name=serial value="$serial">
</div>
</form>
<#if $patch->{used} == 1#>
<div class="surround">
{#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#}
<p>
This file confirms that you have successfully applied a patch.
</p>
<ul>
<li>Previous version: <b>$patch->{oldv}</b> (build $patch->{olds})
<li>New version: <b>$patch->{newv}</b> (build $patch->{news})
</ul>
<p>
The following files were patched:
</p>
<ul>
<table border=1>
<tr>
<td class="nb" align=left>File</td>
<td class="nb" align=center>Status</td>
<td class="nb" align=right>Size</td>
<td class="nb" align=center>Modified Date</td>
</tr>
<#foreach $file (@patcharr)#>
<tr>
<td class="n" valign=top><a href="#" onClick="alert('$file->{file}'); return false;">$file->{shortfile}</a></td>
<td class="n" valign=top align=center>
<#if $file->{error} == 0#><font color="#00aa00"><b>OK</b></font>
<#if $file->{error} == 1#><font color="#ff0000"><b>File Not Found</b></font>
<#if $file->{error} == 2#><font color="#ff0000"><b>Old/Corrupt File</b></font>
</td>
<td class="n" valign=top align=right>$file->{size}</td>
<td class="n" valign=top align=left><#date $file->{mtime} format "%day-%mon.-%year %24hour:%minute:%second"#></td>
</tr>
<#endloop#>
</table>
</ul>
<p>
<b>Hint:</b> Once you have confirmed that this patch was correctly applied, you
can delete the "patch.txt" file from your administration directory to make this
section of the Version Manager disappear.
</p>
<br>
</div>
<#endif#>
<#endif#>
<#if $general->{menu} == 2#>
<div class="surround">
{#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#}
<p>
DiscusWare will send an e-mail to its customers to announce new major software releases.
If you would like to subscribe to this mailing list, please indicate your e-mail address
below. DiscusWare respects the privacy of its customers and will use your e-mail address
only for the aforementioned major announcements, and will not otherwise sell or distribute
your e-mail address or other information.
</p>
<form name=ml method=post action="http://www.discusware.com/cgi-bin/list.cgi">
<input type=text name=email size=50 value="">
<input type=hidden name=url value="$html_url">
<input type=hidden name=dump value="$cgiurl?username=$general->{username}&action=version_mgr&menu=2">
<input type=submit value="Join List!">
</form>
</div>
<#endif#>
</font>
</body></html>
<!--END-->