dfp_tag.tpl.php in Doubleclick for Publishers (DFP) 7
Same filename and directory in other branches
Default template for dfp tags.
1 theme call to dfp_tag.tpl.php
- dfp_tag in ./
dfp.module - Return a render array for the tag specified by machinename.
File
theme/dfp_tag.tpl.phpView source
<?php
/**
* @file
* Default template for dfp tags.
*/
?>
<div <?php
print drupal_attributes($placeholder_attributes);
?>>
<?php
if (isset($slug)) {
print drupal_render($slug);
}
?>
<script type="text/javascript">
googletag.cmd.push(function() {
googletag.display("<?php
print $tag->placeholder_id;
?>");
});
</script>
</div>