You are here

function mobile_tools_switch_menu_link in Mobile Tools 6.3

Create the url to go to the desktop/mobile version

Parameters

$site: Target site: mobile / desktop

$path: Current path

1 call to mobile_tools_switch_menu_link()
mobile_tools_block_message in ./mobile_tools.module
Helper function returning the configurable message for the notification

File

./mobile_tools.module, line 149
Mobile Tools provides a range of functionality assisting in creating a mobile Drupal site . this functionality contains:

Code

function mobile_tools_switch_menu_link($site, $path) {
  return 'mt/' . $site . '/' . $path;
}