function _ad_html_node_view in Advertisement 7
Helper function, display the html ad as a node.
1 call to _ad_html_node_view()
- ad_html_adapi in html/
ad_html.module - Implementation of the ad module's _adapi hook.
File
- html/
ad_html.module, line 143 - Enhances the ad module to support html ads.
Code
function _ad_html_node_view(&$node) {
$node->content['ad'] = array(
'#value' => theme('ad_box', array(
'title' => '',
'content' => stripslashes(ad_html_display_ad($node)),
)),
'#weight' => -1,
);
}