function mobile_switch_theme_message in Mobile Switch 7
Same name and namespace in other branches
- 6 includes/mobile_switch.admin.inc \mobile_switch_theme_message()
Helper function to display a message.
The message are displayed on the Advanced and Development form if no mobile theme enabled.
See also
mobile_switch_advanced_settings_form()
mobile_switch_development_settings_form()
2 calls to mobile_switch_theme_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.
File
- includes/
mobile_switch.admin.inc, line 195 - Administrative page callbacks for the Mobile Switch module.
Code
function mobile_switch_theme_message() {
$message = t('Please configure the !basic-settings and enable a mobile theme.', array(
'!basic-settings' => l(t('Basic settings'), 'admin/config/user-interface/mobile-switch'),
));
$enable['mobile_switch_theme_message']['#markup'] = $message;
return $enable;
}