aboutsummaryrefslogtreecommitdiff
path: root/muamba.theme.inc
blob: c13a15f45cf1557771379b798604c62704d32a52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

/**
 * @file
 * Misc theme functions.
 */

function theme_muamba_transactions($variables) {
  $transactions = $variables['transactions'];
  $output       = '<div class="muamba-transactions">';
  $output      .= '<h2>'. t('Transactions') .'</h2>';

  // Make a table for them.
  $header = array(t('Id'), t('uid'), t('Owner'), t('Thread'));
  $output .= theme('table', array('header' => $header, 'rows' => $transactions));  
  $output .= '</div>';

  return $output;
}