From 98d786165f8c7056fea6c43f091f51ba9c2d7f5b Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Wed, 19 May 2004 22:45:23 +0000 Subject: [PATCH] Add CVS info... Add new table graphics. Add CVS module name global... --- www/images/hdr-bottom-left.gif | Bin 0 -> 122 bytes www/images/hdr-bottom-right.gif | Bin 0 -> 123 bytes www/images/hdr-top-left.gif | Bin 0 -> 121 bytes www/images/hdr-top-right.gif | Bin 0 -> 121 bytes www/phplib/globals.php | 5 ++-- www/phplib/html.php | 10 ++++---- www/software.php | 40 +++++++++++++++++++++++++++----- 7 files changed, 42 insertions(+), 13 deletions(-) create mode 100644 www/images/hdr-bottom-left.gif create mode 100644 www/images/hdr-bottom-right.gif create mode 100644 www/images/hdr-top-left.gif create mode 100644 www/images/hdr-top-right.gif diff --git a/www/images/hdr-bottom-left.gif b/www/images/hdr-bottom-left.gif new file mode 100644 index 0000000000000000000000000000000000000000..631fe5b8752a3c9b5d701696154fa181c1871bf0 GIT binary patch literal 122 zcmZ?wbh9u| zfDQu?fb=@B=nI_i%=TKARq$<}f>=(|a@AJP)@G@FCmlH+ukbr!tNLxOf~~N|b1p%9 M0~bY(4h9Bm0Qki|Y5)KL literal 0 HcmV?d00001 diff --git a/www/images/hdr-bottom-right.gif b/www/images/hdr-bottom-right.gif new file mode 100644 index 0000000000000000000000000000000000000000..38206e7aebb483e21dba6d9315ad8182f7494876 GIT binary patch literal 123 zcmZ?wbh9u| zfDQu?fb=@B7zmv3T)kCoY4v&DnQBGT9D9c+CNmy+?<7&! OwbpBa!V*^o25SIa??IaY literal 0 HcmV?d00001 diff --git a/www/images/hdr-top-left.gif b/www/images/hdr-top-left.gif new file mode 100644 index 0000000000000000000000000000000000000000..07369fdd47dd102e5688bd487e11a74ca0deac5e GIT binary patch literal 121 zcmZ?wbh9u| zfDQu?fb=@B=oy^! zfDQu?fb=@B=n1em`t7o4K5MPt`J8uF23J}_%Ji3O7rvG)(iP>ny^AIL`|c=(^xG^+ Lu1*&v7#XYqpuax+ literal 0 HcmV?d00001 diff --git a/www/phplib/globals.php b/www/phplib/globals.php index 7d647dc..fa4d293 100644 --- a/www/phplib/globals.php +++ b/www/phplib/globals.php @@ -1,6 +1,6 @@ diff --git a/www/phplib/html.php b/www/phplib/html.php index 25eae13..38cd535 100644 --- a/www/phplib/html.php +++ b/www/phplib/html.php @@ -1,6 +1,6 @@ " ."" - .""); $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("" - ."\n"); } @@ -330,10 +330,10 @@ html_end_table() global $html_cols; print("" - ."" ." " - ."\n" ."

\n"); } diff --git a/www/software.php b/www/software.php index 71ebe0a..c88f8f4 100644 --- a/www/software.php +++ b/www/software.php @@ -1,6 +1,6 @@ Download"); - -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("

Download

"); + +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("

CVS Access

\n" + ."

The $PROJECT_NAME software is available via anonymous CVS " + ."using the following CVS root:

\n" + ."
\n"
+     ."    :pserver:anonymous@cvs.easysw.com:/home/anoncvs\n"
+     ."
\n" + ."

The module name is $PROJECT_MODULE. The following " + ."command can be used to checkout the $PROJECT_NAME source from " + ."CVS:

\n" + ."
\n"
+     ."    cvs -d:pserver:anonymous@cvs.easysw.com:/home/anoncvs get $PROJECT_MODULE\n"
+     ."
\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 $". // ?>