Revision a8cee257
Added by Assos Assos almost 5 years ago
drupal7/sites/all/modules/dhtml_menu/dhtml_menu.module | ||
---|---|---|
1 | 1 |
<?php |
2 |
// $Id: dhtml_menu.module,v 1.50 2010/08/16 10:39:57 arancaytar Exp $ |
|
3 | 2 |
|
4 | 3 |
|
5 | 4 |
/** |
... | ... | |
7 | 6 |
* Initialization and various hook implementations. |
8 | 7 |
*/ |
9 | 8 |
|
9 |
require_once 'dhtml_menu.theme.inc'; |
|
10 |
|
|
10 | 11 |
/** |
11 | 12 |
* Implementation of hook_help(). |
12 | 13 |
*/ |
... | ... | |
24 | 25 |
* Adds CSS, Javascript and settings to the page. |
25 | 26 |
*/ |
26 | 27 |
function dhtml_menu_init() { |
27 |
module_load_include('inc', 'dhtml_menu', 'dhtml_menu.theme'); |
|
28 | 28 |
drupal_add_css(drupal_get_path('module', 'dhtml_menu') . '/dhtml_menu.css'); |
29 | 29 |
drupal_add_js(drupal_get_path('module', 'dhtml_menu') . '/dhtml_menu.js'); |
30 | 30 |
drupal_add_js(array('dhtmlMenu' => variable_get('dhtml_menu_settings')), 'setting'); |
Also available in: Unified diff
Weekly update of contrib modules