summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-08-09 11:47:04 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2005-08-09 11:47:04 +0000
commit9ff9aa0382719eba02f220b03e097c76ff4cf812 (patch)
treef2d109414ab03557db53172c4eb4879a07ac86d8
parent6d5b0f13cb50ddaef0ac000d6fc0bda3a4dd4255 (diff)
Added a header div that will appear on each blog
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@148 7be80a69-a1ef-0310-a953-fb0f7c49ff36
-rw-r--r--wp-inst/wp-content/mu-plugins/blogs-header.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/wp-inst/wp-content/mu-plugins/blogs-header.php b/wp-inst/wp-content/mu-plugins/blogs-header.php
new file mode 100644
index 0000000..6e95e2d
--- /dev/null
+++ b/wp-inst/wp-content/mu-plugins/blogs-header.php
@@ -0,0 +1,9 @@
+<?php
+add_action('wp_footer', "blogs_header" );
+
+function blogs_header() {
+ global $current_site;
+ print "<div style='position: absolute; top: 0px; width: 100%; background: #eee; border-bottom: 1px solid #333;'><table width='100%' border=0 cellspacing=0 cellpadding=0><td align='left'><a href='http://www.wordpress.com'>WordPress.com</a></td><td align='right'><a href='http://" . $current_site->domain . $current_site->path . "wp-newblog.php'>Get Your Own Blog</a></td></table></div>";
+}
+
+?>