You are here

function theme_freelink_error in Freelinking 7.3

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

Theme the error message

2 theme calls to theme_freelink_error()
freelinking_get_freelink in ./freelinking.utilities.inc
Process the target text into a link with the specified plugin.
_freelinking_process in ./freelinking.module
Implements filter process callback

File

./freelinking.module, line 447

Code

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