function mobile_switch_browscap_message in Mobile Switch 6
Helper function to display a message.
The message are displayed on the administration pages if browscap not configured.
See also
mobile_switch_advanced_settings_form()
mobile_switch_development_settings_form()
3 calls to mobile_switch_browscap_message()
- mobile_switch_advanced_settings_form in includes/
mobile_switch.admin.inc - Form constructor for the Advanced settings form.
- mobile_switch_development_settings_form in includes/
mobile_switch.admin.inc - Form constructor for the Development settings form.
- mobile_switch_settings_form in includes/
mobile_switch.admin.inc - Form constructor for the Basic settings form.
File
- includes/
mobile_switch.admin.inc, line 214 - Administrative page callbacks for the Mobile Switch module.
Code
function mobile_switch_browscap_message() {
$message = t('Please administer the !administer-browscap module. It have not yet been fetched browser data.', array(
'!administer-browscap' => l('Browscap', 'admin/settings/browscap'),
));
$configure['mobile_switch_browscap_message'] = array(
'#value' => $message,
);
return $configure;
}