From 6a66b6b2fea3fa24862586e27e9b03a2f92196a5 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Wed, 19 Nov 2008 20:57:23 -0500 Subject: Removed includes/phpsvnclient.php phpsvnclient.php was previously used to interface the Four Island Subversion Repositories so changesets could be seen via the RSS feed, but not only not many people want this in their RSS feed, and the people that did could get a seperate feed, but Four Island no longer uses Subversion, instead it uses the better, distributive Mercurial. --- pages/projects.php | 94 ------------------------------------------------------ 1 file changed, 94 deletions(-) delete mode 100755 pages/projects.php (limited to 'pages') diff --git a/pages/projects.php b/pages/projects.php deleted file mode 100755 index 4129cdf..0000000 --- a/pages/projects.php +++ /dev/null @@ -1,94 +0,0 @@ -setRespository('http://svn.fourisland.com/' . $_GET['project']); - $svn->setAuth('hatkirby','popstartwo506'); - $data = $svn->getFile($path,$rev); - - if (substr($path,strlen($path)-1,1) != '/') - { - $template->add('DATA', str_replace(' ','      ',str_replace(' ','  ',nl2br(htmlentities($data))))); - $template->adds_block('FILE', array('NAME' => $path)); - } else { - $template->add('DATA', $data); - } - - $logs = $svn->getFileLogs($path); - $template->add('LOGDATA', str_replace("\n\n",'

',htmlentities($logs[count($logs)-1]['comment']))); - $template->add('AUTHOR', $logs[count($logs)-1]['author']); - $template->add('DATE', date('F dS Y \a\\t g:i:s a',strtotime($logs[count($logs)-1]['date']))); - - if ($rev != -1) - { - $template->adds_block('FORWARD', array( 'URL' => ('/projects/' . $_GET['project'] . '/browse' . $path . '?rev=' . ($rev+1)), - 'NUM' => ($rev+1))); - } - - if ($rev == -1) - { - $rev = $svn->getVersion(); - } - - if ($rev != 1) - { - $template->adds_block('BACK', array( 'URL' => ('/projects/' . $_GET['project'] . '/browse' . $path . '?rev=' . ($rev-1)), - 'NUM' => ($rev-1))); - } - } - } else if (isset($_GET['file'])) - { - } -} - -$template->display(); - -?> -- cgit 1.4.1