BBCodeLibrary::DoWiki( $bbcode,  $action,  $name,  $default,  $params,  $content )


Description Description


Source Source

File: includes/admin/parser.php

function DoWiki($bbcode, $action, $name, $default, $params, $content) {
$name = $bbcode->Wikify($default);
if ($action == BBCODE_CHECK)
return strlen($name) > 0;
$title = trim(@$params['title']);
if (strlen($title) <= 0) $title = trim($default);
return "<a href=\"{$bbcode->wiki_url}$name\" class=\"bbcode_wiki\">"
. htmlspecialchars($title) . "</a>";
}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.