You are here

function theme_better_formats_filter_tips_more_info in Better Formats 6

Same name and namespace in other branches
  1. 6.2 better_formats.module \theme_better_formats_filter_tips_more_info()

Theme function for fitler tips more info.

This is copied from theme_fitler_tips_more_info() with small modifications.

Return value

Filter tips more info HTML.

1 theme call to theme_better_formats_filter_tips_more_info()
better_formats_filter_form in ./better_formats.module
Better Formats version of filter_form().

File

./better_formats.module, line 653
Enhances Drupal's core input format settings.

Code

function theme_better_formats_filter_tips_more_info() {
  $text = variable_get('better_formats_long_tips_link_text', '');
  if (module_exists('i18nstrings') && $text) {
    $text = i18nstrings('better_formats:tips_link', $text);
  }
  else {
    $text = $text ? $text : t('More information about formatting options');
  }
  return '<p>' . l($text, 'filter/tips') . '</p>';
}