function theme_google_analytics_reports_dashboard in Google Analytics Reports 7
Same name and namespace in other branches
- 6 google_analytics_reports/google_analytics_reports.theme.inc \theme_google_analytics_reports_dashboard()
Theme function for dashboard block.
1 theme call to theme_google_analytics_reports_dashboard()
- google_analytics_reports_dashboard_build in google_analytics_reports/
google_analytics_reports.blocks.inc - Generates the dashboard block.
File
- google_analytics_reports/
google_analytics_reports.theme.inc, line 89 - Theme preprocess functions for google analytics.
Code
function theme_google_analytics_reports_dashboard($report) {
return '<h3>' . t('Visits over the last 30 days') . '</h3>' . $report['chart'] . '<p>' . $report['visits'] . '</p>';
}