function _ai_html_comment in Content Injector (formerly AdSense Injector) 7.3
Same name and namespace in other branches
- 6.3 adsense_injector.module \_ai_html_comment()
Generate a formatted HTML comment.
Parameters
unknown_type $id:
unknown_type $text:
3 calls to _ai_html_comment()
- _ai_injectXPath in ./
adsense_injector.module - Inject an HTML fragment into the node body, using XPath expression.
- _ai_insert_text_at in ./
adsense_injector.module - Handle 'manual' insertion at the specified position
- _ai_process_auto_insertions in ./
adsense_injector.module - Process automatic insertions.
File
- ./
adsense_injector.module, line 442 - Inject adsense ads into node content automatically.
Code
function _ai_html_comment($id, $text) {
return '<!-- adsense_injector: (' . $id . ') ' . $text . '-->';
}