mediamosa_configuration_storage_mediamosa_configuration_collect

Versions
mediamosa-21
mediamosa_configuration_storage_mediamosa_configuration_collect()

Implements the hook_mediamosa_configuration_collect()

Code

sites/all/modules/mediamosa/configuration/storage/mediamosa_configuration_storage.module, line 34

<?php
function mediamosa_configuration_storage_mediamosa_configuration_collect() {
  $form['settings_mountpount'] = array(
    '#type' => 'fieldset',
    '#title' => t('Mount point / storage settings'),
    '#description' => t('Set the current mount point for storage point of your files. The Windows and Linux moint point must point to the same directory, they must share the same files. Although the windows mount point is not always required, only if you intend to support windows specific codex for transcoding on windows servers. You can enter \\\\ for windows mountpoint as default if you aren\'t using a windows server for transcoding.'),
    '#collapsible' => TRUE,
  );

  $form['settings_mountpount']['mediamosa_current_mount_point'] = array(
    '#type' => 'textfield',
    '#title' => t('Linux mount point'),
    '#description' => t('Current Linux mount point.'),
    '#required' => TRUE,
    '#default_value' => '',
  );

  $form['settings_mountpount']['mediamosa_current_mount_point_windows'] = array(
    '#type' => 'textfield',
    '#title' => t('Windows mount point'),
    '#description' => t('Current Windows mount point (use UNC path like \\\\server\\share\\file_path).'),
    '#required' => TRUE,
    '#default_value' => '',
  );

  return $form;
}
?>