You are here

function image_fupload_admin in Image FUpload 6.2

Same name and namespace in other branches
  1. 6 image_fupload.admin.inc \image_fupload_admin()
1 string reference to 'image_fupload_admin'
image_fupload_menu in ./image_fupload.module
Implementation of hook_menu().

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);
}