Update of /cvsroot/phpcvsview/phpcvsview
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3149
Modified Files:
cvsview.php
Log Message:
Commit after merging language changes with DIFF changes.
Index: cvsview.php
===================================================================
RCS file: /cvsroot/phpcvsview/phpcvsview/cvsview.php,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** cvsview.php 1 Feb 2005 15:11:00 -0000 1.20
--- cvsview.php 2 Feb 2005 06:12:29 -0000 1.21
***************
*** 53,56 ****
--- 53,57 ----
require_once 'func_FileView.php';
require_once 'func_FileDownload.php';
+ require_once 'func_DiffFile.php';
***************
*** 69,77 ****
} else {
if (isset($_GET["fd"])) {
! DownloadFile($env['mod_path'], $_GET["dt"]);
! }
! else
! {
! DisplayDirListing();
}
}
--- 70,80 ----
} else {
if (isset($_GET["fd"])) {
! DownloadFile($env['mod_path'], $_GET["dt"]);
! } else {
! if (isset($_GET["df"])) {
! DisplayFileDiff($_GET["r1"], $_GET["r2"]);
! } else {
! DisplayDirListing();
! }
}
}
|