| Versionen | |
|---|---|
| drupal6 – drupal7 | theme_indentation($size = 1) |
Create a standard indentation div. Used for drag and drop tables.
$size Optional. The number of indentations to create.
A string containing indentations.
includes/
<?php
function theme_indentation($size = 1) {
$output = '';
for ($n = 0; $n < $size; $n++) {
$output .= '<div class="indentation"> </div>';
}
return $output;
}
?>
Kommentare
Kommentar hinzufügen