cvs: pres2 / slidelist.php
| From: | Andrei Zmievski | Date: | Wed, 19 Mar 2003 13:47:47 +0000 |
| Subject: | cvs: pres2 / slidelist.php | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-602@lists.php.net to get a copy of this message | ||
andrei Wed Mar 19 08:47:47 2003 EDT
Modified files:
/pres2 slidelist.php
Log:
Fix access to currentPres.
Index: pres2/slidelist.php
diff -u pres2/slidelist.php:1.7 pres2/slidelist.php:1.8
--- pres2/slidelist.php:1.7 Wed Nov 20 21:03:46 2002
+++ pres2/slidelist.php Wed Mar 19 08:47:46 2003
@@ -37,7 +37,7 @@
}
$lastSection = isset($v['section']) ? $v['section'] : '';
$lastChapter = isset($v['chapter']) ? $v['chapter'] : '';
- echo "<tr><td align=right>".($k)."</td><td><a
href=\"slidelist.php\" style=\"text-decoration: none;\"
onClick=\"javascript:slide('http://$_SERVER[HTTP_HOST]$baseDir$showScript/$currentPres/$k');
window.close();\">$spacer$v[title]</a></td></tr>\n";
+ echo "<tr><td align=right>".($k)."</td><td><a
href=\"slidelist.php\" style=\"text-decoration: none;\"
onClick=\"javascript:slide('http://$_SERVER[HTTP_HOST]$baseDir$showScript/$_SESSION[currentPres]/$k');
window.close();\">$spacer$v[title]</a></td></tr>\n";
}
echo "</table>\n";
?>