summaryrefslogtreecommitdiffstats
path: root/googleanalytics.admin.inc
diff options
context:
space:
mode:
authorhass2008-10-10 22:01:34 (GMT)
committerhass2008-10-10 22:01:34 (GMT)
commita954ad611048d79745f742108a1235ccaf4784f2 (patch)
tree200d305b09a74c0f3edf7aeced74f09263620e18 /googleanalytics.admin.inc
parenta0f448cfe24401e00810b332d4728a3a373fd3d3 (diff)
Disable wysiwyg editors in textarea's. FCKEditor implements this as pre-D7 feature.
Diffstat (limited to 'googleanalytics.admin.inc')
-rw-r--r--googleanalytics.admin.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/googleanalytics.admin.inc b/googleanalytics.admin.inc
index 486588c..dc8cbd7 100644
--- a/googleanalytics.admin.inc
+++ b/googleanalytics.admin.inc
@@ -100,6 +100,7 @@ function googleanalytics_admin_settings_form(&$form_state) {
'#title' => t('Pages'),
'#default_value' => $pages,
'#description' => $description,
+ '#wysiwyg' => FALSE,
);
}
@@ -221,6 +222,7 @@ function googleanalytics_admin_settings_form(&$form_state) {
'#title' => t('Code snippet (before)'),
'#default_value' => variable_get('googleanalytics_codesnippet_before', ''),
'#rows' => 5,
+ '#wysiwyg' => FALSE,
'#description' => t('Code in this textarea will be added <strong>before</strong> urchinTracker() or pageTracker._trackPageview().')
);
$form['advanced']['codesnippet']['googleanalytics_codesnippet_after'] = array(
@@ -228,6 +230,7 @@ function googleanalytics_admin_settings_form(&$form_state) {
'#title' => t('Code snippet (after)'),
'#default_value' => variable_get('googleanalytics_codesnippet_after', ''),
'#rows' => 5,
+ '#wysiwyg' => FALSE,
'#description' => t("Code in this textarea will be added <strong>after</strong> urchinTracker() or pageTracker._trackPageview(). This is useful if you'd like to track a site in two accounts.")
);