You are here

function bbcode_filter_tips in Bbcode 5

File

./bbcode.module, line 8

Code

function bbcode_filter_tips($delta, $format, $long = false) {
  if ($long) {
    include_once 'bbcode-help.inc';
    return _bbcode_filter_tip();
  }
  else {
    return t('You can use ' . l('BBCode help', "filter/tips/{$format}") . ' in the text, URLs will be automatically converted to links');
  }
}