You are here

function image_fupload_admin in Image FUpload 6

Same name and namespace in other branches
  1. 6.2 image_fupload.admin.inc \image_fupload_admin()

File

./image_fupload.admin.inc, line 3

Code

function image_fupload_admin() {
  $form['fupload_title_replacements'] = array(
    '#type' => 'textfield',
    '#title' => t('Image Title Processor'),
    '#description' => t('All entered elements which have to be separated by a semicolon (";"), are replaced by a whitespace when the node title is created out of the original image filename.') . '<p>' . t('<em>Note:</em> The theme function "fupload_create_filename" can be overwritten to provide a customised title creation.') . '</p>',
    '#default_value' => variable_get('fupload_title_replacements', '_;{;}'),
    '#weight' => -5,
    '#required' => TRUE,
  );
  return system_settings_form($form);
}