| 6 theme.inc | theme_indentation( |
| 7 theme.inc | theme_indentation($variables) |
| 8 theme.inc | theme_indentation($variables) |
Returns HTML for an indentation div; used for drag and drop tables.
Parameters
$variables: An associative array containing:
- size: Optional. The number of indentations to create.
Related topics
4 theme calls to theme_indentation()
File
- includes/
theme.inc, line 2166 - The theme system, which controls the output of Drupal.
Code
function theme_indentation($variables) {
$output = '';
for ($n = 0; $n < $variables['size']; $n++) {
$output .= '<div class="indentation"> </div>';
}
return $output;
}
Login or register to post comments