Lines Matching refs:snippets

93   var $snippets = array(  variable in T2T
199 $html = sprintf($this->snippets['html'], $this->title, $this->encoding,
217 case "style" : $this->csslink = sprintf($this->snippets['cssfile'], trim($val));
234 $this->csslink = sprintf($this->snippets['cssfile'], trim($val));
266 $snippets = $this->snippets;
323 …$lines2[] = "\032\032".sprintf($snippets['title'], $level, $anchor, $txt); # \032: block that cann…
339 $table = sprintf($snippets['tableopen'], $attr);
342 if($m[1]=='||') $fmt = $snippets['tablehead'];
343 else $fmt = $snippets['tablecell'];
363 $table .= sprintf($snippets['tablerow'], $cells);
367 …$lines2[] = "\033\033". $this->Keep($table . $snippets['tableclose']); # \033: block that can be n…
373 $lines2[] = "\032\032".$this->Keep(sprintf($snippets['hrule'], $class));
377 $lines2[] = "\033\033". $this->Keep(sprintf($snippets['center'], $this->run_inline($line)));
393 $lines2[] = "\033\033". $this->Keep($table . $snippets['tableclose']."\n");
404 $bar = "\032\032".$this->Keep(sprintf($snippets['hrule'], 'light'));
415 $snippets = $this->snippets;
422 if($h) $html .= sprintf($snippets["header$j"], $this->run_macros($h));
424 if($html) $lines2[] = $this->Keep(sprintf($snippets["headerwrap"], $html));
439 $lines2[] = $snippets['paraclose'];
457 $lines2[] = $snippets['paraclose'];
469 …$listcontent .= "\n".$this->sp($plevel).$snippets["{$ptype}itemclose"] . $this->sp($plevel).$snipp…
479 $listcontent .= "\n" . $this->sp($level). $snippets["{$type}listopen"];
483 $listcontent .= "\n".$this->sp($plevel).$snippets["{$ptype}itemclose"];
486 $listcontent .= "\n".$this->sp($level).$snippets["{$ptype}listclose"]
487 ."\n".$this->sp($level).$snippets["{$type}listopen"];
492 $listcontent .= $this->sp($level).$snippets["{$type}itemopen"];
495 $listcontent .= $text . $snippets["{$type}itemmiddle"];
507 $listcontent .= "\n".$this->sp($plevel).$snippets["{$ptype}itemclose"]
508 .$this->sp($plevel).$snippets["{$ptype}listclose"];
517 … $listcontent .= $this->sp($plevel+1)."{$snippets["paraopen"]}{$snippets["paraclose"]}\n";
523 $listcontent .= "\n".$this->sp($plevel).$snippets["{$ptype}itemclose"]
524 . $this->sp($plevel).$snippets["{$ptype}listclose"];
534 … $listcontent .= $this->sp($plevel+1)."{$snippets["paraopen"]}{$snippets["paraclose"]}\n";
546 $lines2[] = $snippets['paraclose'];
555 $lines2[] = $snippets['paraclose'];
564 $lines2[] = $snippets['paraopen'];
578 $listcontent .= "\n".$this->sp($plevel).$snippets["{$ptype}itemclose"]
579 .$this->sp($plevel).$snippets["{$ptype}listclose"];
585 $lines2[] = $snippets['paraclose'];
592 $snippets = $this->snippets;