function responsive_preview_help in Responsive Theme Preview 7
Same name and namespace in other branches
- 8 responsive_preview.module \responsive_preview_help()
Implements hook_help().
File
- ./
responsive_preview.module, line 11 - Provides a component that previews the a page in various device dimensions.
Code
function responsive_preview_help($path, $arg) {
switch ($path) {
case 'admin/help#responsive_preview':
$output = '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('The Responsive Preview module provides a quick way to preview a page on your site within the dimensions of many popular device and screen sizes.') . '</p>';
$output .= '<h3>' . t('Uses') . '</h3>';
$output .= '<p>' . t('To launch a preview, first click the navbar tab with the small device icon. The tab has the title "@title". A list of devices will appear. Selecting a device name will launch a preview of the current page within the dimensions of that device.', array(
'@title' => t('Preview page layout'),
)) . '</p>';
$output .= '<p>' . t('To close the preview, click the close button signified visually by an x.') . '</p>';
return $output;
}
}