| 1 |
<?php |
<?php |
| 2 |
|
|
| 3 |
// $Id: audio_import.admin.inc,v 1.1 2008/09/30 03:54:29 drewish Exp $ |
// $Id: audio_import.admin.inc,v 1.2 2008/12/21 22:20:10 drewish Exp $ |
| 4 |
|
|
| 5 |
function audio_import_admin_settings() { |
function audio_import_admin_settings() { |
| 6 |
$form['audio_import_path'] = array( |
$form['audio_import_path'] = array( |
| 30 |
form_set_error($form_element['#parents'][0], t("You can't import from the audio module's directory. The import deletes the original files so you would just be asking for trouble.")); |
form_set_error($form_element['#parents'][0], t("You can't import from the audio module's directory. The import deletes the original files so you would just be asking for trouble.")); |
| 31 |
} |
} |
| 32 |
else { |
else { |
| 33 |
drupal_set_message(t("Your settings are configured correctly, you can import audio<a href='!audio_import_page'>here</a>.", array('!audio_import_page' => url('admin/content/audio_import')))); |
drupal_set_message(t("Your settings are configured correctly, you can import audio <a href='!audio_import_page'>here</a>.", array('!audio_import_page' => url('admin/content/audio_import')))); |
| 34 |
} |
} |
| 35 |
|
|
| 36 |
return $form_element; |
return $form_element; |