function theme_progress_bar in Drupal 5
Same name and namespace in other branches
- 4 includes/theme.inc \theme_progress_bar()
- 6 includes/theme.inc \theme_progress_bar()
- 7 includes/theme.inc \theme_progress_bar()
Related topics
1 theme call to theme_progress_bar()
- update_progress_page_nojs in ./
update.php - Perform updates for the non-JS version and return the status page.
File
- includes/
theme.inc, line 1086 - The theme system, which controls the output of Drupal.
Code
function theme_progress_bar($percent, $message) {
$output = '<div id="progress" class="progress">';
$output .= '<div class="percentage">' . $percent . '%</div>';
$output .= '<div class="status">' . $message . '</div>';
$output .= '<div class="bar"><div class="filled" style="width: ' . $percent . '%"></div></div>';
$output .= '</div>';
return $output;
}