From c967dbf43fbfb85bda657e7b11663f4ac7ed247e Mon Sep 17 00:00:00 2001 From: Kazuki Przyborowski Date: Wed, 22 Oct 2008 02:28:17 +0000 Subject: [PATCH] Another small bug fix for iDB WebFeeds. :P git-svn-id: svn://svn.code.sf.net/p/intdb/svn/trunk@181 2b68903e-0b30-0410-9a39-a2e4f3c5be39 --- inc/rssfeed.php | 4 ++-- inc/versioninfo.php | 6 +++--- inc/xhtml10.php | 9 ++++++++- inc/xhtml11.php | 9 ++++++++- 4 files changed, 21 insertions(+), 7 deletions(-) diff --git a/inc/rssfeed.php b/inc/rssfeed.php index a792f34..f010cc7 100644 --- a/inc/rssfeed.php +++ b/inc/rssfeed.php @@ -11,7 +11,7 @@ Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/ Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/ - $FileInfo: rssfeed.php - Last Update: 10/21/2008 SVN 180 - Author: cooldude2k $ + $FileInfo: rssfeed.php - Last Update: 10/21/2008 SVN 181 - Author: cooldude2k $ */ $File3Name = basename($_SERVER['SCRIPT_NAME']); if ($File3Name=="rssfeed.php"||$File3Name=="/rssfeed.php") { @@ -127,7 +127,7 @@ if(isset($PermissionInfo['CanViewForum'][$ForumID])&& if($_GET['feedtype']=="atom") { $Atom .= ''."\n".''.htmlentities($TopicName, ENT_QUOTES, $Settings['charset']).''."\n".''.htmlentities($ForumDescription, ENT_QUOTES, $Settings['charset']).''."\n".''."\n".''.$BoardURL.url_maker($exfilerss['topic'],$Settings['file_ext'],"act=view&id=".$TopicID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstrrss['topic'],$exqstrrss['topic']).''."\n".''."\n".''.$SettInfo['Author'].''."\n".''."\n".''.gmdate("Y-m-d\TH:i:s\Z").''."\n".''."\n"; } if($_GET['feedtype']=="oldrss") { -$PreRSS .= ' '."\n"; +$PreRSS .= ' '."\n"; $RSS .= ''."\n".''.htmlentities($TopicName, ENT_QUOTES, $Settings['charset']).''."\n".''.htmlentities($ForumDescription, ENT_QUOTES, $Settings['charset']).''."\n".''."\n"; } if($_GET['feedtype']=="rss") { $RSS .= ''."\n".''.htmlentities($TopicName, ENT_QUOTES, $Settings['charset']).''."\n".''.htmlentities($ForumDescription, ENT_QUOTES, $Settings['charset']).''."\n".''.$BoardURL.url_maker($exfilerss['topic'],$Settings['file_ext'],"act=view&id=".$TopicID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstrrss['topic'],$exqstrrss['topic']).''."\n".''.$BoardURL.url_maker($exfilerss['topic'],$Settings['file_ext'],"act=view&id=".$TopicID."&page=1",$Settings['qstr'],$Settings['qsep'],$prexqstrrss['topic'],$exqstrrss['topic']).''."\n".''."\n"; } } diff --git a/inc/versioninfo.php b/inc/versioninfo.php index e4aaf44..1296c82 100644 --- a/inc/versioninfo.php +++ b/inc/versioninfo.php @@ -11,7 +11,7 @@ Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/ Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/ - $FileInfo: versioninfo.php - Last Update: 10/21/2008 SVN 180 - Author: cooldude2k $ + $FileInfo: versioninfo.php - Last Update: 10/21/2008 SVN 181 - Author: cooldude2k $ */ $File3Name = basename($_SERVER['SCRIPT_NAME']); if ($File3Name=="versioninfo.php"||$File3Name=="/versioninfo.php") { @@ -27,7 +27,7 @@ function version_info($proname,$subver,$ver,$supver,$reltype,$svnver,$showsvn) { return $return_var; } // Version number and date stuff. :P $VER1[0] = 0; $VER1[1] = 2; $VER1[2] = 3; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2]; -$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 180; $RName = "iDB"; $SFName = "IntDB"; +$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 181; $RName = "iDB"; $SFName = "IntDB"; $SVNDay[0] = 10; $SVNDay[1] = 21; $SVNDay[2] = 2008; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2]; $VerInfo['iDB_Ver'] = version_info($RName,$VER1[0],$VER1[1],$VER1[2],$VER2[1],$SubVerN,false); $VerInfo['iDB_Ver_SVN'] = version_info($RName,$VER1[0],$VER1[1],$VER1[2],$VER2[1],$SubVerN,true); @@ -41,7 +41,7 @@ $CD2k = "Kazuki Przyborowski"; $GM2k = "Game Maker 2k"; $iDB_Author = "Kazuki"; $iDB = "Internet Discussion Boards"; $iTB = "Internet Tag Boards"; $DF2k = "Discussion Forums 2k"; $TB2k = "Tag Boards 2k"; $iDBURL1 = ""; $iDBURL2 = $iDBURL1.$iDB.""; $DF2kURL1 = ""; $DF2kURL2 = $DF2kURL1.$DF2k.""; -$GM2kURL = "".$GM2k.""; +$GM2kURL = "".$GM2k.""; $iDBURL3 = "".$iDB.""; $PHPQA = "PHP-Quick-Arcade"; $PHPV1 = @phpversion(); $PHPV2 = "PHP ".$PHPV1; $OSType = PHP_OS; // Check OS Name if($OSType=="WINNT") { $OSType="Windows NT"; } if($OSType=="WIN32") { $OSType="Windows 9x"; } diff --git a/inc/xhtml10.php b/inc/xhtml10.php index e7ff2aa..71e17d4 100644 --- a/inc/xhtml10.php +++ b/inc/xhtml10.php @@ -11,7 +11,7 @@ Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/ Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/ - $FileInfo: xhtml10.php - Last Update: 05/31/2008 SVN 164 - Author: cooldude2k $ + $FileInfo: xhtml10.php - Last Update: 10/21/2008 SVN 181 - Author: cooldude2k $ */ $File3Name = basename($_SERVER['SCRIPT_NAME']); if ($File3Name=="xhtml10.php"||$File3Name=="/xhtml10.php") { @@ -108,6 +108,13 @@ if($Settings['html_level']=="Strict") { ?> +" title="" /> +" title="Copyright Notice" /> + + + + + diff --git a/inc/xhtml11.php b/inc/xhtml11.php index aa27897..ca7634e 100644 --- a/inc/xhtml11.php +++ b/inc/xhtml11.php @@ -11,7 +11,7 @@ Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/ Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/ - $FileInfo: xhtml11.php - Last Update: 05/31/2008 SVN 164 - Author: cooldude2k $ + $FileInfo: xhtml11.php - Last Update: 10/21/2008 SVN 181 - Author: cooldude2k $ */ $File3Name = basename($_SERVER['SCRIPT_NAME']); if ($File3Name=="xhtml11.php"||$File3Name=="/xhtml11.php") { @@ -98,6 +98,13 @@ if($Settings['idburl']!="localhost"&&$Settings['idburl']!=null) { +" title="" /> +" title="Copyright Notice" /> + + + + + -- 2.11.0