You are here

function ad_link_attributes in Advertisement 5.2

Same name and namespace in other branches
  1. 5 ad.module \ad_link_attributes()
  2. 6 ad.module \ad_link_attributes()
  3. 6.2 ad.module \ad_link_attributes()
  4. 7 ad.module \ad_link_attributes()

Ad API Helper Function: Append all necessary attributes to <a> tags.

2 calls to ad_link_attributes()
ad_image_display_ad in image/ad_image.module
Function used to display the selected ad.
ad_text_display_ad in text/ad_text.module
Function used to display the selected ad.

File

./ad.module, line 211
An advertising system for Drupal powered websites.

Code

function ad_link_attributes() {
  $output = ad_link_target();
  $output .= ad_link_nofollow();
  return $output;
}