Commit: e5f81e5cc1d458d5c90f6a962a3899951f0992f7 Author: Levi Morrison <[email protected]> Sun, 15 Dec 2013 13:14:39 -0700 Parents: ea3a70e9d9ce14482a73d023a0e80fcd05311c84 Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=e5f81e5cc1d458d5c90f6a962a3899951f0992f7 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 -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
