Skip to content

Commit

Permalink
Added ability to include markup in the head.
Browse files Browse the repository at this point in the history
  • Loading branch information
vboctor committed Oct 5, 2011
1 parent 0a3c287 commit 7202fa4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions top.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
<link rel="stylesheet" type="text/css" href="css/mantis.css" /> <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://www.mantisbt.org/blog/?feed=rss2" />
<link rel="alternate" type="application/rss+xml" title="RSS" href="http://twitter.com/statuses/user_timeline/7199732.rss" /> <link rel="alternate" type="application/rss+xml" title="RSS" href="http://twitter.com/statuses/user_timeline/7199732.rss" />

<?php ads_print_head(); ?>
</head> </head>
<body id="mantisbody"> <body id="mantisbody">


Expand Down
6 changes: 6 additions & 0 deletions utils_inc.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -14,6 +14,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 # Prints the right hand vertical banner
function ads_print_right_vertical_banner() { function ads_print_right_vertical_banner() {
Expand Down

0 comments on commit 7202fa4

Please sign in to comment.