You are here

function theme_freelink_error in Freelinking 6.3

Same name and namespace in other branches
  1. 7.3 freelinking.module \theme_freelink_error()

Theme the error message

1 theme call to theme_freelink_error()
freelinking_get_freelink in ./freelinking.utilities.inc
Process the target text into a link with the specified plugin.

File

./freelinking.module, line 357

Code

function theme_freelink_error($plugin = NULL, $message = NULL) {
  if ($message) {
    $message = ': ' . $message;
  }
  return '<code class="freelink freelink-error freelink-' . $plugin . ' freelink-error-' . $plugin . '">[' . t('Bad link') . $message . ']</code>';
}