You are here

function theme_download_file_extension_accessible in DownloadFile 6

Same name and namespace in other branches
  1. 7.3 download_file.formatter.inc \theme_download_file_extension_accessible()
  2. 7 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 384
Download file formatter hooks and callbacks.

Code

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