theme_table_select_header_cell
includes/theme.inc, строка 833
- Версии
- 5 – 6
theme_table_select_header_cell()
Returns a header cell for tables that have a select all functionality.
Связанные темы
Код
<?php
function theme_table_select_header_cell() {
drupal_add_js(array('tableSelect' => array('selectAll' => t('Select all rows in this table'), 'selectNone' => t('Deselect all rows in this table'))), 'setting');
drupal_add_js('misc/tableselect.js');
return array('class' => 'select-all');
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии