You are here

function theme_quiz_stats_revision_selector in Quiz 8.4

1 theme call to theme_quiz_stats_revision_selector()
quiz_stats_revision_selector_page in modules/quiz_stats/quiz_stats.admin.inc
Page for selecting between several quiz revisions

File

modules/quiz_stats/quiz_stats.admin.inc, line 509
Administration file for Quiz stats Module

Code

function theme_quiz_stats_revision_selector($variables) {
  $content = $variables['content'];
  $html = '';
  $html .= '<p>' . $content['explanation'] . '</p>' . "\n";
  $html .= '<p>';
  $counter = 1;
  foreach ($content['links'] as $key => $value) {
    $html .= ' | ' . l(t('revision !num', array(
      '!num' => $counter++,
    )), $value);
  }
  $html .= ' |</p>';
  return $html;
}