function quote_init in Quote 7
Same name and namespace in other branches
- 6.2 quote.module \quote_init()
- 6 quote.module \quote_init()
Implements hook_init().
File
- ./
quote.module, line 59 - The quote module provides a filter and appropriate links that allow users to quote nodes and other comments in their own comments.
Code
function quote_init() {
$path = drupal_get_path('module', 'quote');
drupal_add_css($path . '/quote.css');
drupal_add_js(array(
'quote_nest' => _quote_variable_get('nest'),
), 'setting');
drupal_add_js($path . '/quote.js');
}