You are here

function theme_forena_web_report in Forena Reports 8

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

Default theme function for forena web reports.

@TODO: Remove?

Parameters

$variables Array of variables to theme:

Return value

string themed output of web report.

File

./forena.module, line 653

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;
}