cvs: pres2 / display.php

From: Date: Wed, 30 Jun 2004 09:42:08 +0000
Subject: cvs: pres2 / display.php
Groups: php.pres 
Request: Send a blank email to pres+get-1005@lists.php.net to get a copy of this message
derick Wed Jun 30 05:42:08 2004 EDT Modified files: /pres2 display.php Log: - Fixed undefined var http://cvs.php.net/diff.php/pres2/display.php?r1=1.16&r2=1.17&ty=u Index: pres2/display.php diff -u pres2/display.php:1.16 pres2/display.php:1.17 --- pres2/display.php:1.16 Wed Jun 30 04:46:41 2004 +++ pres2/display.php Wed Jun 30 05:42:08 2004 @@ -365,7 +365,7 @@ if (($this->pres->template == 'css') and (isset($example->class))) { echo "<div class='{$example->class}'>"; } else { - echo '<div class="'. $class. '" style="font-size: '.$_html_sz."em; margin: -$_html_offset 0 0 -$_html_offset;". + echo '<div class="emcode" style="font-size: '.$_html_sz."em; margin: -$_html_offset 0 0 -$_html_offset;". ((!empty($_html_examplebackground)) ? "background: $_html_examplebackground;" : ''). (($example->type=='shell') ? 'font-family: monotype.com, courier, monospace; background: #000000; color: #ffffff; padding: 0px;' : ''). '">';

« previous php.pres (#1005) next »