diff options
Diffstat (limited to 'includes/theme.inc')
-rw-r--r-- | includes/theme.inc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/includes/theme.inc b/includes/theme.inc index 04271ae1c..e621c139c 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -1545,6 +1545,16 @@ function theme_username($object) { return $output; } +/** + * Return a themed progress bar. + * + * @param $percent + * The percentage of the progress. + * @param $message + * A string containing information to be displayed. + * @return + * A themed HTML string representing the progress bar. + */ function theme_progress_bar($percent, $message) { $output = '<div id="progress" class="progress">'; $output .= '<div class="bar"><div class="filled" style="width: '. $percent .'%"></div></div>'; |