You are here

function theme_download_file_extension_accessible in DownloadFile 7

Same name and namespace in other branches
  1. 6 download_file.formatter.inc \theme_download_file_extension_accessible()
  2. 7.3 download_file.formatter.inc \theme_download_file_extension_accessible()
  3. 7.2 download_file.formatter.inc \theme_download_file_extension_accessible()

Theme function for the extension accessible.

Parameters

$extension: File extension to format.

Return value

A string containing the HTML ouput.

1 theme call to theme_download_file_extension_accessible()
theme_download_file_detail_accessible in ./download_file.formatter.inc
Theme function for the link accessible.

File

./download_file.formatter.inc, line 266

Code

function theme_download_file_extension_accessible($variables) {
  $extension = $variables['extension'];
  if (is_array($extension)) {
    $extension = '<acronym title="' . $extension['definition'] . '">' . $extension['name'] . '</acronym>';
  }
  return $extension;
}