com web/php: We don't want `'elephpants' => false` to render the elephpants.: include/footer.inc inc lude/shared-manual.inc
| From: | Paul Dragoonis | Date: | Sun, 15 Dec 2013 20:14:39 +0000 |
| Subject: | com web/php: We don't want `'elephpants' => false` to render the elephpants.: include/footer.inc inc lude/shared-manual.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-22311@lists.php.net to get a copy of this message | ||
Commit: c42648c0fec19ee2917af1be96b9bac4dd94a070
Author: Levi Morrison <levim@php.net> Sun, 15 Dec 2013 13:14:39 -0700
Parents: 10d275db661cbd8c8ff48a0dbfa1ffb64c7a1c4f
Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=c42648c0fec19ee2917af1be96b9bac4dd94a070
Log:
We don't want
'elephpants' => false to render the elephpants.
Changed paths:
M include/footer.inc
M include/shared-manual.inc
Diff:
diff --git a/include/footer.inc b/include/footer.inc
index b3f2e1b..3dd22df 100644
--- a/include/footer.inc
+++ b/include/footer.inc
@@ -36,7 +36,7 @@
<?php
// if elephpants enabled, insert placeholder nodes
// to be populated with images via javascript.
- if (isset($config['elephpants'])) {
+ if (isset($config['elephpants']) && $config['elephpants']) {
print "<div class='elephpants'><div
class=images></div></div>";
}
?>
diff --git a/include/shared-manual.inc b/include/shared-manual.inc
index 49dadc2..5e0e428 100644
--- a/include/shared-manual.inc
+++ b/include/shared-manual.inc
@@ -425,7 +425,8 @@ function manual_footer() {
manual_notes();
echo "</section>";
- site_footer(array('elephpants' => true));
+ $config = array();
+ site_footer($config);
}
// This function takes a DateTime object and returns a formated string of the time difference
relative to now