Language switcher dropdown is installed successfully.
Please refer to README.txt for help in configuration.")); } /** * Implementation of hook_uninstall(). */ function lang_dropdown_uninstall() { variable_del('lang_dropdown'); variable_del('lang_dropdown_' . LANGUAGE_TYPE_INTERFACE); variable_del('lang_dropdown_' . LANGUAGE_TYPE_CONTENT); variable_del('lang_dropdown_' . LANGUAGE_TYPE_URL); } /** * Rearrange options arrays. */ function lang_dropdown_update_7201() { $types = array( '', LANGUAGE_TYPE_INTERFACE, LANGUAGE_TYPE_CONTENT, LANGUAGE_TYPE_URL, ); foreach ($types as $type) { if ($options = variable_get('lang_dropdown' . (empty($type) ? '' : '_' . $type), FALSE)) { $options['width'] = $options['js_widget_settings']['width']; unset($options['js_widget_settings']['width']); $options['widget'] = $options['js_widget']; unset($options['js_widget']); $options['msdropdown'] = $options['js_widget_settings']; unset($options['js_widget_settings']); variable_set('lang_dropdown' . (empty($type) ? '' : '_' . $type), $options); } } }