cvs: php-news-web / common.inc group.php index.php
| From: | Mehdi Achour | Date: | Wed, 26 Jan 2005 00:01:54 +0000 |
| Subject: | cvs: php-news-web / common.inc group.php index.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-27323@lists.php.net to get a copy of this message | ||
didou Tue Jan 25 19:01:54 2005 EDT
Modified files:
/php-news-web common.inc group.php index.php
Log:
Get rid of short tags
http://cvs.php.net/diff.php/php-news-web/common.inc?r1=1.26&r2=1.27&ty=u
Index: php-news-web/common.inc
diff -u php-news-web/common.inc:1.26 php-news-web/common.inc:1.27
--- php-news-web/common.inc:1.26 Wed Dec 22 19:31:16 2004
+++ php-news-web/common.inc Tue Jan 25 19:01:54 2005
@@ -1,6 +1,6 @@
<?php # vim:ft=php:ts=2:sw=2:et
-define('NNTP_HOST', 'localhost');
+define('NNTP_HOST', 'news.php.net');
function head($title="PHP news") {
header("Content-type: text/html; charset=utf-8");
@@ -9,7 +9,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title><?echo $title?></title>
+ <title><?php echo $title?></title>
<link rel="stylesheet" href="/style.css" type="text/css" />
</head>
<body leftmargin="0" topmargin="0" marginheight="0"
marginwidth="0">
http://cvs.php.net/diff.php/php-news-web/group.php?r1=1.18&r2=1.19&ty=u
Index: php-news-web/group.php
diff -u php-news-web/group.php:1.18 php-news-web/group.php:1.19
--- php-news-web/group.php:1.18 Wed Dec 22 17:39:19 2004
+++ php-news-web/group.php Tue Jan 25 19:01:54 2005
@@ -21,10 +21,10 @@
echo '<?xml version="1.0" encoding="utf-8"?>';?>
<rss version="0.93">
<channel>
- <title><?php echo $_SERVER['HTTP_HOST']; ?>: <?echo
$group?></title>
- <link>http://<?php echo $_SERVER['HTTP_HOST'];
?>/group.php?group=<?echo $group?></link>
+ <title><?php echo $_SERVER['HTTP_HOST']; ?>: <?php echo
$group?></title>
+ <link>http://<?php echo $_SERVER['HTTP_HOST'];
?>/group.php?group=<?php echo $group?></link>
<description></description>
-<? break;
+<?php break;
case 'rdf':
header("Content-type: text/xml");
echo '<?xml version="1.0" encoding="utf-8"?>';
@@ -33,12 +33,12 @@
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://my.netscape.com/rdf/simple/0.9/">
<channel>
- <title><?php echo $_SERVER['HTTP_HOST']; ?>: <?echo
$group?></title>
- <link>http://<?php echo $_SERVER['HTTP_HOST'];
?>/group.php?group=<?echo $group?></link>
- <description><?echo $group?> Newsgroup at <?php echo NNTP_HOST;
?></description>
+ <title><?php echo $_SERVER['HTTP_HOST']; ?>: <?php echo
$group?></title>
+ <link>http://<?php echo $_SERVER['HTTP_HOST'];
?>/group.php?group=<?php echo $group?></link>
+ <description><?php echo $group?> Newsgroup at <?php echo NNTP_HOST;
?></description>
<language>en-US</language>
</channel>
-<?
+<?php
break;
case 'html':
default:
http://cvs.php.net/diff.php/php-news-web/index.php?r1=1.8&r2=1.9&ty=u
Index: php-news-web/index.php
diff -u php-news-web/index.php:1.8 php-news-web/index.php:1.9
--- php-news-web/index.php:1.8 Tue Jan 25 18:52:27 2005
+++ php-news-web/index.php Tue Jan 25 19:01:54 2005
@@ -48,7 +48,7 @@
<p>There may be a little more info in the <a href="README">README</a>
file.</p>
<p>The news server software that is used is <a
href="http://trainedmonkey.com/colobus/">colobus</a>.</p>
-<?
+<?php
echo '</td></tr></table>';
foot();