Permalink
Browse files

Added ability to include markup in the head.

  • Loading branch information...
1 parent 0a3c287 commit 7202fa4cbe5c2d6c0bf046edcbba6b3aaa39146c @vboctor vboctor committed Oct 5, 2011
Showing with 8 additions and 0 deletions.
  1. +2 −0 top.php
  2. +6 −0 utils_inc.php
View
@@ -20,6 +20,8 @@
<link rel="stylesheet" type="text/css" href="css/mantis.css" />
<link rel="alternate" type="application/rss+xml" title="RSS" href="http://www.mantisbt.org/blog/?feed=rss2" />
<link rel="alternate" type="application/rss+xml" title="RSS" href="http://twitter.com/statuses/user_timeline/7199732.rss" />
+
+ <?php ads_print_head(); ?>
</head>
<body id="mantisbody">
View
@@ -15,6 +15,12 @@ function gpc_strip_slashes( $p_var ) {
}
# ------------------
+ # Prints the contents to go within the head tag.
+ function ads_print_head() {
+ @include( 'sponsors/ads_head_inc.php' );
+ }
+
+ # ------------------
# Prints the right hand vertical banner
function ads_print_right_vertical_banner() {
@include( 'sponsors/ads_right_vertifical_banner_inc.php' );

0 comments on commit 7202fa4

Please sign in to comment.