function theme_forena_web_report in Forena Reports 8
Same name and namespace in other branches
- 7.5 forena.module \theme_forena_web_report()
- 7.3 forena.module \theme_forena_web_report()
- 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;
}