function simple_adsense_help in Simple AdSense 7
Same name and namespace in other branches
- 8.0 simple_adsense.module \simple_adsense_help()
- 1.0.x simple_adsense.module \simple_adsense_help()
Implements hook_help().
File
- ./
simple_adsense.module, line 11 - Module file for Simple AdSense.
Code
function simple_adsense_help($path, $arg) {
switch ($path) {
case "admin/help#simple_adsense":
return check_markup(file_get_contents(dirname(__FILE__) . "/README.txt"));
case 'admin/config/content/simple_adsense':
$link = array(
"!google" => l(t("Google Adsense"), "https://www.google.com/adsense/app", array(
'attributes' => array(
'target' => '_blank',
),
)),
);
return '<p>' . t("Input here client and slot(s) got from !google Custom Ad unit(s).", $link) . '</p>';
case 'admin/structure/block':
return '<p>' . t("Blocks blow which title starts with Simpel Adsense are Simple Adsense blocks.") . '</p>';
}
}