Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagephp
$wt = new WikiTransformation();
$wt->setPage($page);
$result = $wt->processSource($source);
Code Block
languagephp
private function assemblySource($source, $templateSource, $page = null)
{
   $t = new WikiTransformation(false);
   return $t->assemblyTemplate($source, $templateSource, $page);
}

ListPagesModule.php:

Code Block
languagephp
if ($separation) {
    $wt = new WikiTransformation();
    $wt->setMode("list");
    $wt->setPage($page);
    $b = $wt->processSource($b);
    $b = "<div class=\"list-pages-item\">\n" . $b . "</div>";
    //$b = "[[div class=\"list-pages-item\"]]\n".$b."\n[[/div]]";
}

...