cvs: phpweb /include shared-manual.inc
| From: | Gabor Hojtsy | Date: | Tue, 02 Jul 2002 11:11:06 +0000 |
| Subject: | cvs: phpweb /include shared-manual.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-11098@lists.php.net to get a copy of this message | ||
goba Tue Jul 2 07:11:06 2002 EDT
Modified files:
/phpweb/include shared-manual.inc
Log:
Use the new printer friendly version (this enables us to half the
rsynced data)
Index: phpweb/include/shared-manual.inc
diff -u phpweb/include/shared-manual.inc:1.135 phpweb/include/shared-manual.inc:1.136
--- phpweb/include/shared-manual.inc:1.135 Fri Jun 7 09:02:48 2002
+++ phpweb/include/shared-manual.inc Tue Jul 2 07:11:06 2002
@@ -105,10 +105,11 @@
if ($loc != 'bottom') {
global $LANGUAGES;
$links = array();
- $file = substr($id,0,-4);
- if (file_exists("html/$file.html")) {
- $links[] = make_link("html/$file.html", 'Plain HTML');
- }
+ //$file = substr($id,0,-4);
+ //if (file_exists("html/$file.html")) {
+ // $links[] = make_link("html/$file.html", 'Plain HTML');
+ //}
+ $links[] = make_link("print/$id", 'Printer friendly version');
foreach ($LANGUAGES as $code => $name) {
if (!preg_match("!/$code/!", $PHP_SELF) &&
file_exists("../$code/$id")) {
$links[] = make_link("../$code/$id", $name);