You are here

function theme_privatemsg_block_inbox in Privatemsg 5

Same name and namespace in other branches
  1. 5.3 privatemsg.module \theme_privatemsg_block_inbox()
1 theme call to theme_privatemsg_block_inbox()
_privatemsg_block_inbox in ./privatemsg.module

File

./privatemsg.module, line 2357

Code

function theme_privatemsg_block_inbox($new) {
  $items = array(
    l(t('Inbox') . ($new ? " ({$new})" : ''), 'privatemsg'),
    l(t('Write message'), 'privatemsg/new'),
  );
  return array(
    'subject' => t('Private messages'),
    'content' => theme('item_list', $items),
  );
}