diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-11-09 23:27:22 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-11-09 23:27:22 +0000 |
commit | 951b553a9887df92d93ecc42e7e83ca568e26aae (patch) | |
tree | c35a2ae7f53ecbd83e6ff52b847a6c469e5a438a /modules/statistics/statistics.module | |
parent | 00ee7f747b0920f2b8375b494930b19a25030a57 (diff) | |
download | brdo-951b553a9887df92d93ecc42e7e83ca568e26aae.tar.gz brdo-951b553a9887df92d93ecc42e7e83ca568e26aae.tar.bz2 |
- Committed stage 2 of the theme system improvements! Patch by CodeMonkeyX.
Diffstat (limited to 'modules/statistics/statistics.module')
-rw-r--r-- | modules/statistics/statistics.module | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module index b2c641636..645e25541 100644 --- a/modules/statistics/statistics.module +++ b/modules/statistics/statistics.module @@ -692,7 +692,7 @@ function statistics_display_online_block() { if ($items) { $output .= "<br /><br />"; - $output .= theme("theme_item_list", $items, variable_get("statistics_block_online_subtitle", "Online users:")); + $output .= theme("item_list", $items, variable_get("statistics_block_online_subtitle", "Online users:")); } } } @@ -758,14 +758,14 @@ function statistics_page() { if (user_access("access content")) { - theme("header"); + print theme("header"); statistics_page_user(); - theme("footer"); + print theme("footer"); } else { - theme("header"); - theme("box", t("Access denied"), message_access()); - theme("footer"); + print theme("header"); + print theme("box", t("Access denied"), message_access()); + print theme("footer"); } } @@ -782,7 +782,7 @@ function statistics_page_user($uid = 0, $date = 0, $all = 0) { $output .= statistics_summary("daycount", $displaycount); $output .= "</table>"; - theme("box", t(variable_get("statistics_userpage_day_head", "")), $output, "main"); + print theme("box", t(variable_get("statistics_userpage_day_head", "")), $output, "main"); } @@ -791,7 +791,7 @@ function statistics_page_user($uid = 0, $date = 0, $all = 0) { $output .= statistics_summary("totalcount", $displaycount); $output .= "</table>"; - theme("box", t(variable_get("statistics_userpage_all_head", "")), $output, "main"); + print theme("box", t(variable_get("statistics_userpage_all_head", "")), $output, "main"); } if ($displaycount = variable_get("statistics_userpage_last_cnt", "10")) { @@ -799,7 +799,7 @@ function statistics_page_user($uid = 0, $date = 0, $all = 0) { $output .= statistics_summary("timestamp", $displaycount); $output .= "</table>"; - theme("box", t(variable_get("statistics_userpage_last_head", "")), $output, "main"); + print theme("box", t(variable_get("statistics_userpage_last_head", "")), $output, "main"); } } |