blockLite() публичный Метод

# Workaround to ensure compatibility with TextPattern 4.0.3.
public blockLite ( $text )
Пример #1
0
function markup_comment($msg)
{
    global $prefs, $txpcfg;
    include_once $txpcfg['txpath'] . '/lib/classTextile.php';
    $textile = new Textile();
    extract($prefs);
    $im = !empty($comments_disallow_images) ? 1 : '';
    $msg = trim($textile->blockLite($textile->TextileThis(strip_tags(deEntBrackets($msg))), 1, '', $im, '', @$comment_nofollow ? 'nofollow' : ''));
    return $msg;
}