| 1 |
<?php |
<?php |
| 2 |
// $Id: audio.module,v 1.154 2009/05/10 19:03:03 drewish Exp $ |
// $Id: audio.module,v 1.155 2009/05/14 19:13:23 drewish Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* Implementation of hook_help(). |
* Implementation of hook_help(). |
| 1415 |
* CCK hook to allow sorting of the audio settings field. |
* CCK hook to allow sorting of the audio settings field. |
| 1416 |
*/ |
*/ |
| 1417 |
function audio_content_extra_fields($type_name) { |
function audio_content_extra_fields($type_name) { |
| 1418 |
return array( |
if ($type_name == 'audio') { |
| 1419 |
'audio' => array( |
return array( |
| 1420 |
'label' => t('Audio files'), |
'audio' => array( |
| 1421 |
'description' => t('Audio uploads for posts'), |
'label' => t('Audio files'), |
| 1422 |
'weight' => 1, |
'description' => t('Audio uploads for posts'), |
| 1423 |
), |
'weight' => 1, |
| 1424 |
); |
), |
| 1425 |
|
); |
| 1426 |
|
} |
| 1427 |
} |
} |