function theme_indentation in Drupal 6
Same name and namespace in other branches
- 7 includes/theme.inc \theme_indentation()
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
3 theme calls to theme_indentation()
- theme_book_admin_table in modules/
book/ book.admin.inc - Theme function for the book administration page form.
- theme_menu_overview_form in modules/
menu/ menu.admin.inc - Theme the menu overview form into a table.
- theme_taxonomy_overview_terms in modules/
taxonomy/ taxonomy.admin.inc - Theme the terms overview as a sortable list of terms.
File
- includes/
theme.inc, line 1743 - The theme system, which controls the output of Drupal.
Code
function theme_indentation($size = 1) {
$output = '';
for ($n = 0; $n < $size; $n++) {
$output .= '<div class="indentation"> </div>';
}
return $output;
}