--- pres2/display.php 2005-07-31 16:59:53.000000000 -0400 +++ talks2/display.php 2005-08-01 11:57:29.000000000 -0400 @@ -315,15 +315,19 @@ } function _blurb(&$blurb) { + $effect = ''; + if($blurb->effect) $effect = "style='' effect='$blurb->effect'"; + if ($this->pres->template == 'css') { + if(!empty($blurb->title)) { + echo '
'.markup_text($blurb->title)."
\n"; + } $class = isset($blurb->class) ? $blurb->class : 'blurb'; - echo "
".markup_text($blurb->text)."
"; + echo "
".markup_text($blurb->text)."
\n"; return; } if($blurb->type=='speaker' && !$_SESSION['show_speaker_notes']) return; - $effect = ''; - if($blurb->effect) $effect = "effect=\"$blurb->effect\""; if(!empty($blurb->title)) { if($blurb->type=='speaker') $blurb->titlecolor='#ff3322'; echo "
talign\" style=\"font-size: $blurb->fontsize; color: $blurb->titlecolor\">".markup_text($blurb->title)."
\n"; @@ -379,7 +383,10 @@ $$_html_key = $_html_val; } - if(isset($example->title)) echo '
'.markup_text($example->title)."
\n"; + if(isset($example->title)) { + if ($this->pres->template == 'css') echo '
'.markup_text($example->title)."
\n"; + else echo '
'.markup_text($example->title)."
\n"; + } if(!$example->hide) { if ($this->pres->template != 'css') { $_html_sz = (float) $example->fontsize; @@ -423,7 +430,7 @@ if (!$example->hide) { if ($this->pres->template == 'css' and (isset($example->class))) { if (!isset($example->output_word)) { - $example->output_word = 'output:'; + $example->output_word = 'Output:'; } echo "
{$example->output_word}
\n"; } else { @@ -661,9 +668,12 @@ if (isset($bullet->effect) && !empty($bullet->effect)) { $attrs = " style='' effect='{$bullet->effect}'"; } - echo "
  • $markedText
  • "; + if ($symbol != '•') + echo "\n
  • {$symbol} $markedText
  • "; + else + echo "\n
  • $markedText
  • "; } else { - echo "
  • ".''.$symbol.' '.$markedText."
  • \n"; + echo "\n
  • ".''.$symbol.' '.$markedText."
  • \n"; } } @@ -720,7 +730,14 @@ else $leader=''; if (empty($link->target)) $link->target = '_self'; if(!empty($link->text)) { - echo "
    align\" style=\"font-size: $link->fontsize; color: $link->textcolor; margin-left: $link->marginleft; margin-right: $link->marginright; margin-top: $link->margintop; margin-bottom: $link->marginbottom;\">$leaderhref\" target=\"{$link->target}\">".markup_text($link->text)."

    \n"; + if ($this->pres->template == 'css') { + $class = ''; + if (empty($link->class)) $link->class = 'link'; + echo "\n"; + } + else { + echo "
    align\" style=\"font-size: $link->fontsize; color: $link->textcolor; margin-left: $link->marginleft; margin-right: $link->marginright; margin-top: $link->margintop; margin-bottom: $link->marginbottom;\">$leaderhref\" target=\"{$link->target}\">".markup_text($link->text)."

    \n"; + } } }