Commit 07a2e74c authored by hass's avatar hass
Browse files

#264417: Followup, small text change

parent 55867b82
......@@ -238,7 +238,7 @@ function googleanalytics_admin_settings_form_validate($form, &$form_state) {
// This is for the Newbie's who cannot read a text area description.
if (stristr($form_state['values']['googleanalytics_codesnippet'], 'http://www.google-analytics.com/urchin.js') || stristr($form_state['values']['googleanalytics_codesnippet'], 'google-analytics.com/ga.js')) {
form_set_error('googleanalytics_codesnippet', t('Do not add the tracker code generated by Google into this field! This module already builds the tracker code based on your Google Analytics account number and settings.'));
form_set_error('googleanalytics_codesnippet', t('Do not add the tracker code provided by Google into this field! This module already builds the tracker code based on your Google Analytics account number and settings.'));
}
if (preg_match('/(.*)<\/?script(.*)>(.*)/i', $form_state['values']['googleanalytics_codesnippet'])) {
form_set_error('googleanalytics_codesnippet', t('Do not include the &lt;script&gt; tags in this field.'));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment