From 554b31a26576d3d1d0da8c91cc000202962403e2 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 26 Sep 2011 18:28:59 -0300 Subject: Logic goes to muamba_get_transactions() --- muamba.theme.inc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'muamba.theme.inc') diff --git a/muamba.theme.inc b/muamba.theme.inc index 481941f..c13a15f 100644 --- a/muamba.theme.inc +++ b/muamba.theme.inc @@ -10,15 +10,9 @@ function theme_muamba_transactions($variables) { $output = '
'; $output .= '

'. t('Transactions') .'

'; - $rows = array(); - foreach ($transactions as $entry) { - // Sanitize the data before handing it off to the theme layer. - $rows[] = array_map('check_plain', (array) $entry); - } - // Make a table for them. $header = array(t('Id'), t('uid'), t('Owner'), t('Thread')); - $output .= theme('table', array('header' => $header, 'rows' => $rows)); + $output .= theme('table', array('header' => $header, 'rows' => $transactions)); $output .= '
'; return $output; -- cgit v1.2.3