You are here

function ad_noindex_meta in Advertisement 7

Same name and namespace in other branches
  1. 6.2 ad.module \ad_noindex_meta()

Add the noindex meta tag.

1 call to ad_noindex_meta()
ad_nodeapi in ./ad.module

File

./ad.module, line 1191

Code

function ad_noindex_meta() {
  static $added = FALSE;
  if (!$added) {
    drupal_set_html_head('<meta name="robots" content="noindex" />');
    $added = TRUE;
  }
}