modules/system/system.api.php, 160行
插入闭合HTML.
This hook enables modules to insert HTML just before the \</body\> closing tag of web pages. This is useful for adding JavaScript code to the footer and for outputting debug information. It is not possible to add JavaScript to the header at this point, and developers wishing to do so should use hook_init() instead.
$main Whether the current page is the front page of the site.
The HTML to be inserted.
<?php function hook_footer($main = 0) { if (variable_get('dev_query', 0)) { return '<div style="clear:both;">' . devel_query_table() . '</div>'; } } ?>
6 days 10 hours ago
6 days 23 hours ago
1 week 1 day ago
1 week 5 days ago
2 weeks 1 day ago
2 weeks 1 day ago
2 weeks 2 days ago
2 weeks 3 days ago
2 weeks 3 days ago
2 weeks 3 days ago