cvs: pres2 / display.php
| From: | Rasmus Lerdorf | Date: | Sat, 18 Sep 2004 14:33:23 +0000 |
| Subject: | cvs: pres2 / display.php | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-1062@lists.php.net to get a copy of this message | ||
rasmus Sat Sep 18 10:33:23 2004 EDT
Modified files:
/pres2 display.php
Log:
Fix braindead condition
http://cvs.php.net/diff.php/pres2/display.php?r1=1.22&r2=1.23&ty=u
Index: pres2/display.php
diff -u pres2/display.php:1.22 pres2/display.php:1.23
--- pres2/display.php:1.22 Mon Sep 13 09:36:38 2004
+++ pres2/display.php Sat Sep 18 10:33:22 2004
@@ -358,7 +358,7 @@
if(isset($example->title)) echo '<div style="font-size:
'.(4*(float)$example->fontsize/3).'em;">'.markup_text($example->title)."</div>\n";
if(!$example->hide) {
- if (!$this->pres->template == 'css') {
+ if ($this->pres->template != 'css') {
$_html_sz = (float) $example->fontsize;
if(!$_html_sz) $_html_sz = 0.1;
$_html_offset = (1/$_html_sz).'em';
@@ -391,7 +391,7 @@
$example->highlight($this->slideDir);
- if (!$pres->template == 'css') {
+ if ($pres->template != 'css') {
echo "</div>";
}
echo "</div>\n";