function theme_quiz_questions_browser_header in Quiz 8.4
Theme quiz_questions_browser_header.
1 theme call to theme_quiz_questions_browser_header()
- _quiz_question_browser_form in ./
quiz.admin.inc - Creates the browser part of the quiz_questions_form
File
- ./
quiz.theme.inc, line 11 - Preprocessors and helper functions to make theming easier.
Code
function theme_quiz_questions_browser_header(&$vars) {
$form = $vars['form'];
$html = '<thead>';
$html .= '<tr>';
foreach ($form['#header'] as $header) {
$html .= '<th>' . $header['data'] . '</th>';
}
$html .= '</tr>';
$html .= '<tr id="quiz-question-browser-filters">';
$html .= '<td>' . drupal_render($form['filters']['all']) . '</td>';
$html .= '<td>' . drupal_render($form['filters']['title']) . '</td>';
$html .= '<td>' . drupal_render($form['filters']['type']) . '</td>';
$html .= '<td>' . drupal_render($form['filters']['changed']) . '</td>';
$html .= '<td>' . drupal_render($form['filters']['name']) . '</td>';
$html .= '</tr>';
$html .= '</thead>';
return $html;
}