You are here

function mobile_switch_help in Mobile Switch 7.2

Implements hook_help().

File

./mobile_switch.module, line 44
Provides various functionalities to develop mobile ready websites.

Code

function mobile_switch_help($path, $arg) {
  $return = '';
  switch ($path) {
    case 'admin/config/user-interface/mobile-switch':
      $return = t('<h3>Operating modes</h3>
<em>Do not use</em>: Only the Mobile Detect PHP class will be loaded.<br />
<em>No theme switch - detect only</em>: Work with a single site and a responsive theme.<br />
<em>No theme switch - redirect to website</em>: Work with a multisite installation. IMPORTANT: Define default themes in the setting.php files.<br />
<em>A theme name</em>: This is the mode <em>theme switch</em>. Work with a single site and two themes. Do NOT define default themes in the setting.php files.');
      break;
    case 'admin/help#mobile_switch':
      $return = check_markup(file_get_contents(dirname(__FILE__) . '/README.txt'));
  }
  return $return;
}