com web/php: Moved elephants to the footer.: include/footer.inc include/header.inc index-beta.php styles/theme.css
| From: | Levi Morrison | Date: | Tue, 19 Jun 2012 01:49:22 +0000 |
| Subject: | com web/php: Moved elephants to the footer.: include/footer.inc include/header.inc index-beta.php styles/theme.css | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-13726@lists.php.net to get a copy of this message | ||
Commit: d1125b5922758799c2e9b0391baed53ba42b8f41
Author: Levi Morrison <levim@php.net> Mon, 18 Jun 2012 19:49:22 -0600
Parents: 481a0afe6a95d0ac63fd88de3bd91970d0926989
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=d1125b5922758799c2e9b0391baed53ba42b8f41
Log:
Moved elephants to the footer.
Changed paths:
M include/footer.inc
M include/header.inc
M index-beta.php
M styles/theme.css
Diff:
diff --git a/include/footer.inc b/include/footer.inc
index bfe283c..1cc0e47 100644
--- a/include/footer.inc
+++ b/include/footer.inc
@@ -16,6 +16,16 @@
</div>
</footer>
+ <?php
+ // if elephpants enabled, insert placeholder nodes
+ // to be populated with images via javascript.
+ if (isset($config['elephpants'])) {
+ print "<div class='elephpants'><div
class=images></div></div>";
+ }
+ ?>
+
+
+
</body>
</html>
diff --git a/include/header.inc b/include/header.inc
index bab17af..ba31351 100644
--- a/include/header.inc
+++ b/include/header.inc
@@ -225,14 +225,6 @@ if (isset($shortname) && $shortname) {
</div>
</div>
-<?php
-// if elephpants enabled, insert placeholder nodes
-// to be populated with images via javascript.
-if (isset($config['elephpants'])) {
- print "<div class='elephpants'><div
class=images></div></div>";
-}
-?>
-
<div id="layout">
<?php
if (!empty($SIDEBAR_DATA)) {
diff --git a/index-beta.php b/index-beta..php
index 968f5dd..79e05a8 100644
--- a/index-beta.php
+++ b/index-beta.php
@@ -151,8 +151,7 @@ site_header("Hypertext Preprocessor",
"title" => "PHP Release feed"
),
- ),
- 'elephpants' => true
+ )
)
);
@@ -165,5 +164,8 @@ print $content;
// Print the common footer.
site_footer(
- array("atom" => "/feed.atom") // Add a link to the feed at the bottom
+ array(
+ "atom" => "/feed.atom", // Add a link to the feed at the bottom
+ 'elephpants' => true
+ )
);
diff --git a/styles/theme.css b/styles/theme.css
index 44dc621..95f6dd5 100755
--- a/styles/theme.css
+++ b/styles/theme.css
@@ -575,7 +575,6 @@ footer {
border-top: 12px solid #9999CC;
border-bottom: 12px solid #9999CC;
padding: 1.5em 0;
- margin-bottom: 2em;
}
footer .footer-content {