You are here

function shurly_analytics_settings_form in ShURLy 7

Implements hook_settings_form().

1 string reference to 'shurly_analytics_settings_form'
shurly_analytics_menu in shurly_analytics/shurly_analytics.module
Implements hook_menu().

File

shurly_analytics/shurly_analytics.module, line 39
Analytics ShURLy functionalities.

Code

function shurly_analytics_settings_form($form, &$form_state) {
  global $base_url;
  $google_analytics = variable_get('googleanalytics_account', 'UA-');
  $form['shurlyanalytics_account'] = array(
    '#title' => t('Enter you Identifiant (ID) Web Property'),
    '#type' => 'textfield',
    '#default_value' => variable_get('shurlyanalytics_account', $google_analytics),
    '#size' => 15,
    '#maxlength' => 20,
    '#required' => TRUE,
  );
  return system_settings_form($form);
}