*** empty log message ***

svn path=/trunk/boinc/; revision=4360
This commit is contained in:
David Anderson 2004-10-20 05:45:43 +00:00
parent c81d9d828f
commit bb97a32957
5 changed files with 18 additions and 1 deletions

View File

@ -18629,3 +18629,14 @@ David 19 Oct 2004
boincglut/lib/glut/ boincglut/lib/glut/
glut_util.c glut_util.c
David 19 Oct 2004
- bug fix to RSS feed <link>
html/
inc/
util.inc
user/
clone.php
sample_index.php
sample_rss_main.php

View File

@ -139,9 +139,12 @@ function show_combo_box($name, $filename, $selection=null) {
function page_head($title, $java_onload="") { function page_head($title, $java_onload="") {
$styleSheet = URL_BASE . STYLESHEET; $styleSheet = URL_BASE . STYLESHEET;
$rssname = PROJECT . " RSS 2.0";
$rsslink = URL_BASE . "rss_main.php";
echo "<html><head><title>".strip_tags($title)."</title> echo "<html><head><title>".strip_tags($title)."</title>
<link rel=stylesheet type=text/css href=\"$styleSheet\"> <link rel=stylesheet type=text/css href=\"$styleSheet\">
<link rel='alternate' type='text/xml' title=\"$rssname\" href=\"$rsslink\" />
</head>"; </head>";
if ($java_onload!=""){echo "<body bgcolor=ffffff onload=\"".$java_onload."\">"; } else { echo "<body bgcolor=ffffff>";} if ($java_onload!=""){echo "<body bgcolor=ffffff onload=\"".$java_onload."\">"; } else { echo "<body bgcolor=ffffff>";}
project_banner($title); project_banner($title);

View File

@ -18,4 +18,5 @@
and they will automatically belong to your team and they will automatically belong to your team
and will have the logo in their screensaver graphics. and will have the logo in their screensaver graphics.
"; ";
page_tail();
?> ?>

View File

@ -47,10 +47,13 @@ function show_nav() {
//start_cache(INDEX_PAGE_TTL); //start_cache(INDEX_PAGE_TTL);
$stopped = project_is_stopped(); $stopped = project_is_stopped();
$rssname = PROJECT . " RSS 2.0" ;
$rsslink = URL_BASE . "rss_main.php";
echo " echo "
<title>".PROJECT."</title> <title>".PROJECT."</title>
<link rel=stylesheet type=text/css href=white.css> <link rel=stylesheet type=text/css href=white.css>
<link rel=alternate type=text/xml title=\"$rssname\" href=\"$rsslink\" />
<h1>".PROJECT."</h1> <h1>".PROJECT."</h1>
<table cellpadding=8 cellspacing=4> <table cellpadding=8 cellspacing=4>
<tr><td rowspan=2 valign=top width=40%> <tr><td rowspan=2 valign=top width=40%>

View File

@ -39,7 +39,6 @@ echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>
<channel> <channel>
<title>".PROJECT."</title> <title>".PROJECT."</title>
<link>".URL_BASE."</link> <link>".URL_BASE."</link>
<link rel='alternate' type='text/xml' title='".PROJECT." RSS 2.0' href='".URL_BASE."rss.php' />
<description>".$description."</description> <description>".$description."</description>
<copyright>".COPYRIGHT_HOLDER."</copyright> <copyright>".COPYRIGHT_HOLDER."</copyright>
<lastBuildDate>".$create_date."</lastBuildDate> <lastBuildDate>".$create_date."</lastBuildDate>