cvs: phpweb /include shared-manual.inc
| From: | Rasmus Lerdorf | Date: | Mon, 07 Aug 2000 22:06:07 +0000 |
| Subject: | cvs: phpweb /include shared-manual.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-1552@lists.php.net to get a copy of this message | ||
rasmus Mon Aug 7 15:06:07 2000 EDT
Modified files:
/phpweb/include shared-manual.inc
Log:
Fix file ending for mirror sites that haven't made the transition correctly
Index: phpweb/include/shared-manual.inc
diff -u phpweb/include/shared-manual.inc:1.61 phpweb/include/shared-manual.inc:1.62
--- phpweb/include/shared-manual.inc:1.61 Mon Aug 7 14:52:32 2000
+++ phpweb/include/shared-manual.inc Mon Aug 7 15:06:07 2000
@@ -67,6 +67,7 @@
$this = eregi_replace("^Manual: *", "", $this);
$file = basename($PHP_SELF);
+ if(substr($file,-5)=='.php3') $file = substr($file,0,-1);
echo "<a href=\"/manual/$file\"><img src=\"/gifs/flag-uk.gif\"
valign=bottom height=24 width=45 alt=\"English version of this page\"></a>";
echo "<a href=\"/manual/de/$file\"><img
src=\"/gifs/flag-de.gif\" valign=bottom height=24 width=45 alt=\"German version of
this page\"></a>";
echo "<a href=\"/manual/ja/$file\"><img
src=\"/gifs/flag-jp.gif\" valign=bottom height=24 width=45 alt=\"Japanese version of
this page\"></a><br>";