summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhass2009-08-22 11:49:15 (GMT)
committer hass2009-08-22 11:49:15 (GMT)
commitf00376abdd43372314a7e11a18e1f3121046536c (patch)
tree21db0190ab4980b3e88ce1599dcc909e74a57578
parent1dc355af73f16bf266b67678a1a1c2358267a23f (diff)
Changed selectbox size
-rw-r--r--googleanalytics.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/googleanalytics.module b/googleanalytics.module
index 203e3b6..09c6b6a 100644
--- a/googleanalytics.module
+++ b/googleanalytics.module
@@ -369,7 +369,7 @@ function googleanalytics_admin_settings_form() {
'#description' => t('Segment users based on different properties, additionally to the basic IP address based tracking provided by Google Analytics.') . (!$profile_enabled ? ' '. t('<a href="@module_list">Enable the profile module</a> to be able to use profile fields for more granular tracking.', array('@module_list' => url('admin/build/modules'))) : '') .' '. t('Make sure you will not associate (or permit any third party to associate) any data gathered from Your Website(s) (or such third parties\' website(s)) with any personally identifying information from any source as part of Your use (or such third parties\' use) of the Google Analytics service. For more information see section 8.1 in the <a href="@ga_tos">Google Analytics terms of use</a>.', array('@ga_tos' => 'http://www.google.com/analytics/en-GB/tos.html')) .' '. t('Selecting one or more values is supported. To select multiple items, hold down CTRL (PC) or &#8984; (Mac) while selecting fields.'),
'#default_value' => variable_get('googleanalytics_segmentation', ''),
'#options' => $fields,
- '#size' => (count($fields)>10) ? 10 : count($fields),
+ '#size' => count($fields)>3 ? 10 : 3,
'#multiple' => TRUE
);