| 1 |
<?php |
<?php |
| 2 |
/* $Id: autotag.module,v 1.3 2008/06/12 15:58:42 sdrycroft Exp $ */ |
/* $Id: autotag.module,v 1.4 2008/06/13 10:30:15 sdrycroft Exp $ */ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file autotag.module |
* @file autotag.module |
| 99 |
|
|
| 100 |
// Add the CSS and JS necesary to style the form |
// Add the CSS and JS necesary to style the form |
| 101 |
drupal_add_css(drupal_get_path('module','autotag').'/autotag.css'); |
drupal_add_css(drupal_get_path('module','autotag').'/autotag.css'); |
| 102 |
drupal_add_js(drupal_get_path('module','autotag').'/autotag.js'); |
if(function_exists('jquery_ui_backport_add')){ |
| 103 |
jquery_ui_backport_add(); |
drupal_add_js(drupal_get_path('module','autotag').'/autotag.jquib.js'); |
| 104 |
|
jquery_ui_backport_add(); |
| 105 |
|
} else { |
| 106 |
|
drupal_add_js(drupal_get_path('module','autotag').'/autotag.jquery.js'); |
| 107 |
|
} |
| 108 |
|
|
| 109 |
// Form type is multistep, first page is as normal (with classifications removed), whilst the |
// Form type is multistep, first page is as normal (with classifications removed), whilst the |
| 110 |
// second page has the drag'n'drop shit added |
// second page has the drag'n'drop shit added |