/[drupal]/contributions/modules/autotag/autotag.module
ViewVC logotype

Diff of /contributions/modules/autotag/autotag.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.4, Fri Jun 13 10:30:15 2008 UTC revision 1.5, Tue Jun 17 09:35:55 2008 UTC
# Line 1  Line 1 
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
# Line 99  function autotag_form_alter($form_id, &$ Line 99  function autotag_form_alter($form_id, &$
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

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.2