function noscript_tag_help in Noscript Tag 7
Same name and namespace in other branches
- 8 noscript_tag.module \noscript_tag_help()
Implements hook_help().
File
- ./
noscript_tag.module, line 11 - Adds functionality to display noscript tag when javascript is disabled.
Code
function noscript_tag_help($path, $arg) {
switch ($path) {
case 'admin/help#noscript_tag':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('This module displays noscript tag when javascript is disabled in users browser.') . '</p>';
$output .= '<p>' . t('Site admin can configure what content to be displayed in the noscript tag.') . '</p>';
$output .= '<p>' . t('Site admin can <a href="@manage-noscript-tag">Manage noscript tag setting</a>.', array(
'@manage-noscript-tag' => url('admin/config/development/noscript-tag-setting'),
)) . '</p>';
$output .= '<p>' . t('The noscript tag will be displayed only to user roles who have permission to view the noscript tag. You can configure the permissions <a href="@manage-noscript-tag-permissions">here</a>.', array(
'@manage-noscript-tag-permissions' => url('admin/people/permissions', array(
'fragment' => 'module-noscript_tag',
)),
)) . '</p>';
return $output;
}
}