theme_indentation

6 theme.inc theme_indentation($size = 1)
7 theme.inc theme_indentation($variables)
8 theme.inc theme_indentation($variables)

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()

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">&nbsp;</div>';
  }
  return $output;
}
Login or register to post comments