You are here

function ad_external_display_ad in Advertisement 6.3

Same name and namespace in other branches
  1. 5.2 external/ad_external.module \ad_external_display_ad()
  2. 5 external/ad_external.module \ad_external_display_ad()
  3. 6 external/ad_external.module \ad_external_display_ad()
  4. 6.2 external/ad_external.module \ad_external_display_ad()
  5. 7 external/ad_external.module \ad_external_display_ad()

Function used to display the selected ad.

2 calls to ad_external_display_ad()
ad_external_node_form in external/ad_external.module
Adapi helper function for displaying a node form.
ad_external_node_view in external/ad_external.module
Adapi helper function for displaying ad itself.

File

external/ad_external.module, line 18
Enhances the ad module to support externally hosted ads, served via IFrames. It is recommended that you configure "Administer >> Content management >> Ads >> Settings >> Global settings >> Display type" to…

Code

function ad_external_display_ad($ad) {
  return theme('ad_external_ad', $ad);
}