function theme_indentation
7.x theme.inc | theme_indentation( |
6.x theme.inc | theme_indentation($size = 1) |
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.
File
- drupal-6.x/
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;
}