| 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 |
| 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 |
|
|
| 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. |