You are here

function theme_workflow_history_table in Workflow 5.2

Same name and namespace in other branches
  1. 6.2 workflow.pages.inc \theme_workflow_history_table()
  2. 6 workflow.pages.inc \theme_workflow_history_table()
  3. 7.2 workflow.pages.inc \theme_workflow_history_table()
  4. 7 workflow.pages.inc \theme_workflow_history_table()
1 theme call to theme_workflow_history_table()
workflow_tab_page in ./workflow.module
Menu callback. Displays the workflow information for a node.

File

./workflow.module, line 217

Code

function theme_workflow_history_table($rows, $footer) {
  $output = theme('table', array(
    t('Date'),
    t('Old State'),
    t('New State'),
    t('By'),
    t('Comment'),
  ), $rows, array(
    'class' => 'workflow_history',
  ), t('Workflow History'));
  if ($footer) {
    $output .= t('*State is no longer available.');
  }
  return $output;
}