mirror of
https://github.com/michaelrsweet/mxml.git
synced 2024-11-16 16:15:29 +00:00
Add CVS info...
Add new table graphics. Add CVS module name global...
This commit is contained in:
parent
8c31377933
commit
98d786165f
BIN
www/images/hdr-bottom-left.gif
Normal file
BIN
www/images/hdr-bottom-left.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 122 B |
BIN
www/images/hdr-bottom-right.gif
Normal file
BIN
www/images/hdr-bottom-right.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 123 B |
BIN
www/images/hdr-top-left.gif
Normal file
BIN
www/images/hdr-top-left.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 121 B |
BIN
www/images/hdr-top-right.gif
Normal file
BIN
www/images/hdr-top-right.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 121 B |
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
//
|
||||
// "$Id: globals.php,v 1.4 2004/05/19 21:17:47 mike Exp $"
|
||||
// "$Id: globals.php,v 1.5 2004/05/19 22:45:23 mike Exp $"
|
||||
//
|
||||
// Global PHP constants and variables...
|
||||
//
|
||||
@ -13,6 +13,7 @@
|
||||
|
||||
$PROJECT_NAME = "Mini-XML"; // Title of project
|
||||
$PROJECT_EMAIL = "mxml@easysw.com"; // Default notification address
|
||||
$PROJECT_MODULE = "mxml"; // CVS module
|
||||
$PAGE_MAX = 10; // Max items per page
|
||||
|
||||
|
||||
@ -34,6 +35,6 @@ else
|
||||
$PHP_URL = "http://$_SERVER[SERVER_NAME]:$_SERVER[SERVER_PORT]$_SERVER[PHP_SELF]";
|
||||
|
||||
//
|
||||
// End of "$Id: globals.php,v 1.4 2004/05/19 21:17:47 mike Exp $".
|
||||
// End of "$Id: globals.php,v 1.5 2004/05/19 22:45:23 mike Exp $".
|
||||
//
|
||||
?>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
//
|
||||
// "$Id: html.php,v 1.9 2004/05/19 16:34:55 mike Exp $"
|
||||
// "$Id: html.php,v 1.10 2004/05/19 22:45:23 mike Exp $"
|
||||
//
|
||||
// PHP functions for standardized HTML output...
|
||||
//
|
||||
@ -243,7 +243,7 @@ html_start_table($headings, // I - Array of heading strings
|
||||
print(" height='$height'");
|
||||
print(" border='0' cellpadding='0' cellspacing='0'>"
|
||||
."<tr class='header'><th align='left' valign='top'>"
|
||||
."<img src='images/top-left.gif' width='16' height='16' "
|
||||
."<img src='images/hdr-top-left.gif' width='16' height='16' "
|
||||
."alt=''/></th>");
|
||||
|
||||
$add_html_cols = 0; // Add to html_cols after display if colspan is used.
|
||||
@ -315,7 +315,7 @@ html_start_table($headings, // I - Array of heading strings
|
||||
$html_cols += $add_html_cols;
|
||||
|
||||
print("<th align='right' valign='top'>"
|
||||
."<img src='images/top-right.gif' "
|
||||
."<img src='images/hdr-top-right.gif' "
|
||||
."width='16' height='16' alt=''/></th></tr>\n");
|
||||
}
|
||||
|
||||
@ -330,10 +330,10 @@ html_end_table()
|
||||
global $html_cols;
|
||||
|
||||
print("<tr class='header'><th align='left' valign='bottom'>"
|
||||
."<img src='images/bottom-left.gif' width='16' height='16' "
|
||||
."<img src='images/hdr-bottom-left.gif' width='16' height='16' "
|
||||
."alt=''/></th>"
|
||||
."<th colspan='$html_cols'> </th>"
|
||||
."<th align='right' valign='bottom'><img src='images/bottom-right.gif' "
|
||||
."<th align='right' valign='bottom'><img src='images/hdr-bottom-right.gif' "
|
||||
."width='16' height='16' alt=''/></th></tr>\n"
|
||||
."</table></p>\n");
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
//
|
||||
// "$Id: software.php,v 1.3 2004/05/19 14:02:38 mike Exp $"
|
||||
// "$Id: software.php,v 1.4 2004/05/19 22:45:23 mike Exp $"
|
||||
//
|
||||
// Software download page.
|
||||
//
|
||||
@ -58,10 +58,6 @@ fclose($fp);
|
||||
// Show files...
|
||||
html_header("Download");
|
||||
|
||||
print("<h1>Download</h1>");
|
||||
|
||||
html_start_table(array("Version", "Filename", "Size", "MD5 Sum"));
|
||||
$curversion = "";
|
||||
reset($files);
|
||||
|
||||
if ($argc >= 1)
|
||||
@ -69,6 +65,25 @@ if ($argc >= 1)
|
||||
else
|
||||
$firstversion = current($files);
|
||||
|
||||
html_start_links(1);
|
||||
html_link("CVS", "#CVS");
|
||||
|
||||
$curversion = "";
|
||||
while (list($file, $version) = each($files))
|
||||
if ($version != $curversion)
|
||||
{
|
||||
$curversion = $version;
|
||||
html_link("v$version", "$PHP_SELF?$version");
|
||||
}
|
||||
|
||||
html_end_links();
|
||||
|
||||
print("<h1>Download</h1>");
|
||||
|
||||
html_start_table(array("Version", "Filename", "Size", "MD5 Sum"));
|
||||
|
||||
reset($files);
|
||||
$curversion = "";
|
||||
while (list($file, $version) = each($files))
|
||||
{
|
||||
html_start_row();
|
||||
@ -111,9 +126,22 @@ while (list($file, $version) = each($files))
|
||||
|
||||
html_end_table();
|
||||
|
||||
print("<h2><a name='CVS'>CVS Access</a></h2>\n"
|
||||
."<p>The $PROJECT_NAME software is available via anonymous CVS "
|
||||
."using the following CVS root:</p>\n"
|
||||
."<pre>\n"
|
||||
." :pserver:anonymous@cvs.easysw.com:/home/anoncvs\n"
|
||||
."</pre>\n"
|
||||
."<p>The module name is <tt>$PROJECT_MODULE</tt>. The following "
|
||||
."command can be used to checkout the $PROJECT_NAME source from "
|
||||
."CVS:</p>\n"
|
||||
."<pre>\n"
|
||||
." <kbd>cvs -d:pserver:anonymous@cvs.easysw.com:/home/anoncvs get $PROJECT_MODULE</kbd>\n"
|
||||
."</pre>\n");
|
||||
|
||||
html_footer();
|
||||
|
||||
//
|
||||
// End of "$Id: software.php,v 1.3 2004/05/19 14:02:38 mike Exp $".
|
||||
// End of "$Id: software.php,v 1.4 2004/05/19 22:45:23 mike Exp $".
|
||||
//
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user