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

Diff of /contributions/modules/slider/slider.module

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

revision 1.1.2.2.2.3, Mon May 18 09:32:51 2009 UTC revision 1.1.2.2.2.4, Mon May 18 14:20:20 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: slider.module,v 1.1.2.2.2.2 2009/02/25 14:40:16 marktheunissen Exp $  // $Id: slider.module,v 1.1.2.2.2.3 2009/05/18 09:32:51 marktheunissen Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 72  function slider_field_formatter_info() { Line 72  function slider_field_formatter_info() {
72  }  }
73    
74  /**  /**
  * Implementation of hook_form_alter().  
  */  
 function slider_form_alter(&$form, $form_state, $form_id) {  
   if ($form_id == 'node_type_form' && isset($form['identity']['type'])) {  
     $form['slider'] = array(  
       '#type' => 'fieldset',  
       '#collapsible' => TRUE,  
       '#collapsed' => FALSE,  
       '#title' => t('Slider settings'),  
     );  
   
     $form['slider']['slider_tabs_position'] = array(  
       '#type' => 'select',  
       '#title' => t('Location of the Slider tabs'),  
       '#default_value' => variable_get('slider_tabs_position_' . $form['#node_type']->type, 'above'),  
       '#options' => array(  
         'above' => t('Above'),  
         'below' => t('Below'),  
         'disabled' => t('Disabled'),  
       ),  
     );  
   }  
 }  
   
 /**  
75   * Theme the slider CCK formatter.   * Theme the slider CCK formatter.
76   */   */
77  function theme_slider_formatter_slider_above_below($element) {  function theme_slider_formatter_slider_above_below($element) {

Legend:
Removed from v.1.1.2.2.2.3  
changed lines
  Added in v.1.1.2.2.2.4

  ViewVC Help
Powered by ViewVC 1.1.2