theme_indentation
- Versions
- 6
theme_indentation($size= 1)- 7
theme_indentation($variables)
Create a standard indentation div. Used for drag and drop tables.
Parameters
$size Optional. The number of indentations to create.
Return value
A string containing indentations.
Related topics
Code
includes/theme.inc, line 1668
<?php
function theme_indentation($size = 1) {
$output = '';
for ($n = 0; $n < $size; $n++) {
$output .= '<div class="indentation"> </div>';
}
return $output;
}
?>Login or register to post comments 