You are here

function seotools_wordstream_wordstream_username_form in Drupal SEO Tools 6

1 string reference to 'seotools_wordstream_wordstream_username_form'
seotools_wordstream_wordstream_username in plugins/seotools.presets.inc

File

plugins/seotools.presets.inc, line 475

Code

function seotools_wordstream_wordstream_username_form() {
  $form['wordstream_username'] = array(
    '#type' => 'textfield',
    '#title' => t('Wordstream API Username'),
    '#default_value' => variable_get('wordstream_username', ''),
  );
  $form['wordstream_password'] = array(
    '#type' => 'textfield',
    '#title' => t('Wordstream API Password'),
    '#default_value' => variable_get('wordstream_password', ''),
    '#description' => t('In order to enable the API tools you will need a WordStream account login (username & password). !wordstream_link.', array(
      '!wordstream_link' => l(t('Get your API account here'), WORDSTREAM_LINK_API_ACCOUNT, array(
        'attributes' => array(
          'target',
          'wordstream',
        ),
      )),
    )),
  );
  return system_settings_form($form);
}