diff options
Diffstat (limited to 'includes/theme.inc')
-rw-r--r-- | includes/theme.inc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/includes/theme.inc b/includes/theme.inc index c986c05e5..27cdf822b 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -1672,6 +1672,22 @@ function theme_progress_bar($percent, $message) { } /** + * Create a standard indentation div. Used for drag and drop tables. + * + * @param $size + * Optional. The number of indentations to create. + * @return + * A string containing indentations. + */ +function theme_indentation($size = 1) { + $output = ''; + for ($n = 0; $n < $size; $n++) { + $output .= '<div class="indentation"> </div>'; + } + return $output; +} + +/** * @} End of "defgroup themeable". */ |