function ad_noindex_meta in Advertisement 6.2
Same name and namespace in other branches
- 7 ad.module \ad_noindex_meta()
Add the noindex meta tag.
1 call to ad_noindex_meta()
- ad_nodeapi in ./
ad.module - Implementation of hook_nodeapi().
File
- ./
ad.module, line 1067
Code
function ad_noindex_meta() {
static $added = FALSE;
if (!$added) {
drupal_set_html_head('<meta name="robots" content="noindex" />');
$added = TRUE;
}
}