/[drupal]/contributions/modules/i18n/i18nsync/i18nsync.module
ViewVC logotype

Diff of /contributions/modules/i18n/i18nsync/i18nsync.module

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

revision 1.1.2.32, Tue Nov 3 10:46:25 2009 UTC revision 1.1.2.33, Fri Nov 6 14:02:39 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: i18nsync.module,v 1.1.2.31 2009/10/19 14:02:02 jareyero Exp $  // $Id: i18nsync.module,v 1.1.2.32 2009/11/03 10:46:25 jareyero Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 474  function i18nsync_node_available_fields( Line 474  function i18nsync_node_available_fields(
474      if (module_exists('upload')) {      if (module_exists('upload')) {
475        $options['files'] = t('File attachments');        $options['files'] = t('File attachments');
476      }      }
477        // Location module
478        if (module_exists('location')) {
479          $options['locations'] = t('Location settings');
480        }
481      // If no type defined yet, that's it.      // If no type defined yet, that's it.
482      $fields['node']['#options'] = $options;      $fields['node']['#options'] = $options;
483    
# Line 505  function i18nsync_node_available_fields( Line 508  function i18nsync_node_available_fields(
508          'timezone' => t('Timezone')          'timezone' => t('Timezone')
509        );        );
510      }      }
511      // Location module  
     if (module_exists('location')) {  
       $options['locations'] = t('Location settings');  
     }  
512      // Get CCK fields.      // Get CCK fields.
513      if (($contentfields = _i18nsync_cck_fields($type))) {      if (($contentfields = _i18nsync_cck_fields($type))) {
514        // Get context information.        // Get context information.

Legend:
Removed from v.1.1.2.32  
changed lines
  Added in v.1.1.2.33

  ViewVC Help
Powered by ViewVC 1.1.2