Update of /cvsroot/phpcvsview/phpcvsview
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19323
Modified Files:
cvsview.php
Log Message:
- changed object creation call to include the new arguments supported by the class
- minor cosmetic fixes
Index: cvsview.php
===================================================================
RCS file: /cvsroot/phpcvsview/phpcvsview/cvsview.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** cvsview.php 29 Sep 2004 10:59:40 -0000 1.6
--- cvsview.php 1 Oct 2004 22:38:35 -0000 1.7
***************
*** 150,158 ****
// Create our CVS connection object and set the required properties.
! $CVSServer = new CVS_PServer();
! $CVSServer->set_PServer($PServer);
! $CVSServer->set_Repository($CVSROOT);
! $CVSServer->set_UserName($UserName);
! $CVSServer->set_Password($Password);
// Start the output process.
--- 150,154 ----
// Create our CVS connection object and set the required properties.
! $CVSServer = new CVS_PServer($CVSROOT, $PServer, $UserName, $Password);
// Start the output process.
***************
*** 243,249 ****
echo "<hr>";
! } else { // Else of if ($CVSServer->ConnectTcpAndLogon())
echo "Connection Failed.";
! } // End of if ($CVSServer->ConnectTcpAndLogon())
echo GetPageFooter();
} // End of function DisplayDirListing()
--- 239,245 ----
echo "<hr>";
! } else { // Else of if ($Response !== true)
echo "Connection Failed.";
! } // End of if ($Response !== true)
echo GetPageFooter();
} // End of function DisplayDirListing()
***************
*** 261,269 ****
// Create our CVS connection object and set the required properties.
! $CVSServer = new CVS_PServer();
! $CVSServer->set_PServer($PServer);
! $CVSServer->set_Repository($CVSROOT);
! $CVSServer->set_UserName($UserName);
! $CVSServer->set_Password($Password);
// Start the output process.
--- 257,261 ----
// Create our CVS connection object and set the required properties.
! $CVSServer = new CVS_PServer($CVSROOT, $PServer, $UserName, $Password);
// Start the output process.
***************
*** 311,317 ****
$CVSServer->Disconnect();
! } else { // Else of if ($CVSServer->ConnectTcpAndLogon())
echo "Connection Failed.";
! } // End of if ($CVSServer->ConnectTcpAndLogon())
echo GetPageFooter();
}
--- 303,309 ----
$CVSServer->Disconnect();
! } else { // Else of if ($CVSServer->Connect() === true)
echo "Connection Failed.";
! } // End of if ($CVSServer->Connect() === true)
echo GetPageFooter();
}
***************
*** 327,334 ****
if (isset($_GET["fh"])) {
DisplayFileHistory();
! }
! else
! {
! DisplayDirListing();
}
?>
--- 319,324 ----
if (isset($_GET["fh"])) {
DisplayFileHistory();
! } else {
! DisplayDirListing();
}
?>
|