template_preprocess_book_node_export_html
modules/book/book.module, строка 958
- Версии
- 6
template_preprocess_book_node_export_html(&$variables)
Process variables for book-node-export-html.tpl.php.
The $variables
array contains the following arguments:
$node
$children
See also
book-node-export-html.tpl.php
Код
<?php
function template_preprocess_book_node_export_html(&$variables) {
$variables['depth'] = $variables['node']->book['depth'];
$variables['title'] = check_plain($variables['node']->title);
$variables['content'] = $variables['node']->body;
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии