cvs: phpweb /include shared-manual.inc
| From: | Gabor Hojtsy | Date: | Sat, 03 Aug 2002 15:29:27 +0000 |
| Subject: | cvs: phpweb /include shared-manual.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-11710@lists.php.net to get a copy of this message | ||
goba Sat Aug 3 11:29:27 2002 EDT
Modified files:
/phpweb/include shared-manual.inc
Log:
Add printwn to list of links, and somewhat reformat the links to
print pages...
Index: phpweb/include/shared-manual.inc
diff -u phpweb/include/shared-manual.inc:1.141 phpweb/include/shared-manual.inc:1.142
--- phpweb/include/shared-manual.inc:1.141 Sat Aug 3 11:22:47 2002
+++ phpweb/include/shared-manual.inc Sat Aug 3 11:29:27 2002
@@ -105,18 +105,16 @@
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');
- //}
- $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);
}
}
+ echo "<br /> view the " . make_link("print/$id", 'printer
friendly version') .
+ " or the " . make_link("printwn/$id", 'printer friendly
version with notes');
+
if (count($links)) {
- echo '<br />view this page in ' . join (delim(), $links);
+ echo ' or change language to ' . join (delim(), $links);
}
}