You are here

function nodewords_extra_dc_title_form in Nodewords: D6 Meta Tags 6.2

Same name and namespace in other branches
  1. 6 nodewords_extra/nodewords_extra.module \nodewords_extra_dc_title_form()

Set the form fields used to implement the options for the meta tag.

File

nodewords_extra/includes/nodewords_extra.nodewords.tags.inc, line 186
Nodewords support file.

Code

function nodewords_extra_dc_title_form(&$form, $content, $options) {
  $form['dc.title'] = array(
    '#tree' => TRUE,
  );
  $form['dc.title']['value'] = array(
    '#type' => 'textfield',
    '#title' => t('Dublin Core title'),
    '#description' => t('Enter an alternative title. Do not use the value already used for the HTML tag TITLE, or you will probably get warning reports about duplicated titles from the search engines.') . $options['description'],
    '#default_value' => empty($content['value']) ? '' : $content['value'],
    '#maxlength' => variable_get('nodewords_max_size', 350),
  );
}