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