You are here

function theme_forena_web_report in Forena Reports 7.4

Same name and namespace in other branches
  1. 8 forena.module \theme_forena_web_report()
  2. 7.5 forena.module \theme_forena_web_report()
  3. 7.3 forena.module \theme_forena_web_report()

Default theme function for forena web reports.

Parameters

$variables Array of variables to theme:

File

./forena.module, line 1690

Code

function theme_forena_web_report($variables) {
  $output = '';
  if (@$variables['parameters']) {
    $output .= '<div id="forena-parameters">' . $variables['parameters'] . '</div>';
  }
  if (@$variables['doc_links']) {
    $output .= "<div id='forena-doc-links'>" . $variables['doc_links'] . '</div>';
  }
  $output .= '<div class="forena-report">' . $variables['content'] . '</div>';
  return $output;
}