| 1 |
<?php |
<?php |
| 2 |
// $Id: i18ncontent.module,v 1.1.2.14 2009/04/27 16:50:49 jareyero Exp $ |
// $Id: i18ncontent.module,v 1.1.2.15 2009/08/29 21:08:24 hass Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 45 |
switch ($op) { |
switch ($op) { |
| 46 |
case 'groups': |
case 'groups': |
| 47 |
return array('nodetype' => t('Content type')); |
return array('nodetype' => t('Content type')); |
| 48 |
|
case 'info': |
| 49 |
case 'refresh': |
$info['nodetype']['refresh callback'] = 'i18ncontent_locale_refresh'; |
| 50 |
if ($group == 'nodetype') { |
return $info; |
|
return i18ncontent_locale_refresh(); |
|
|
} |
|
| 51 |
} |
} |
| 52 |
} |
} |
| 53 |
|
|
| 66 |
node_type_save($type); |
node_type_save($type); |
| 67 |
} |
} |
| 68 |
} |
} |
| 69 |
|
return TRUE; // Meaning it completed with no issues |
| 70 |
} |
} |
| 71 |
|
|
| 72 |
/** |
/** |