You are here

function theme_workflow_history_table in Workflow 6.2

Same name and namespace in other branches
  1. 5.2 workflow.module \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.pages.inc
Menu callback. Display workflow summary of a node.

File

./workflow.pages.inc, line 83
Provide user interface for changing workflow state.

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;
}