function ajax_register_init in Ajax Login/Register 6.2
Same name and namespace in other branches
- 6 ajax_register.module \ajax_register_init()
File
- ./
ajax_register.module, line 15
Code
function ajax_register_init() {
//Declare the thickbox image path
$path = 'var tb_pathToImage ="' . drupal_get_path('module', 'ajax_register') . '/images/loading.gif";';
drupal_add_js($path, 'inline');
drupal_add_js(drupal_get_path('module', 'ajax_register') . "/thickbox.js");
drupal_add_css(drupal_get_path('module', 'ajax_register') . "/thickbox.css");
drupal_add_css(drupal_get_path('module', 'ajax_register') . "/ajax_register.css");
}