[Patchwork-commits] r117 - www
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Apr 16 16:44:49 CEST 2012
Author: sebastian_d
Date: 2012-04-16 16:44:48 +0200 (Mon, 16 Apr 2012)
New Revision: 117
Removed:
www/index.php
Log:
Initial Add of homepage
Deleted: www/index.php
===================================================================
--- www/index.php 2012-03-30 11:05:19 UTC (rev 116)
+++ www/index.php 2012-04-16 14:44:48 UTC (rev 117)
@@ -1,58 +0,0 @@
-
-<!-- This is the project specific website template -->
-<!-- It can be changed as liked or replaced by other content -->
-
-<?php
-
-$domain=ereg_replace('[^\.]*\.(.*)$','\1',$_SERVER['HTTP_HOST']);
-$group_name=ereg_replace('([^\.]*)\..*$','\1',$_SERVER['HTTP_HOST']);
-$themeroot='r-forge.r-project.org/themes/rforge/';
-$background="/Downloads/project_papper.png";
-
-echo '<?xml version="1.0" encoding="UTF-8"?>';
-?>
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en ">
-
- <head>
- <style type="text/css">
- body{
- background-image:url('<?php echo $background ;?>');
- }
- </style>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <title><?php echo $group_name; ?></title>
- <link href="http://<?php echo $themeroot; ?>styles/estilo1.css" rel="stylesheet" type="text/css" />
- </head>
-
-<body>
-
-<!-- R-Forge Logo -->
-<table border="0" width="100%" cellspacing="0" cellpadding="0">
-<tr><td>
-<a href="http://r-forge.r-project.org/"><img src="http://<?php echo $themeroot; ?>/imagesrf/logo.png" border="0" alt="R-Forge Logo" /> </a> </td> </tr>
-</table>
-
-
-<!-- get project title -->
-<!-- own website starts here, the following may be changed as you like -->
-
-<?php if ($handle=fopen('http://'.$domain.'/export/projtitl.php?group_name='.$group_name,'r')){
-$contents = '';
-while (!feof($handle)) {
- $contents .= fread($handle, 8192);
-}
-fclose($handle);
-echo $contents; } ?>
-
-<!-- end of project description -->
-
-<p> There will be a complete guide for execution patchwork and interpreting the output in the near future. </p>
-<p> Until then, please see the README files for patchwork and patchworkCG which are included in installation. </p>
-
-<p> The <strong>project summary page</strong> you can find <a href="http://<?php echo $domain; ?>/projects/<?php echo $group_name; ?>/"><strong>here</strong></a>. </p>
-
-</body>
-</html>
More information about the Patchwork-commits
mailing list