summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-07-27 18:38:35 +0000
committerDries Buytaert <dries@buytaert.net>2009-07-27 18:38:35 +0000
commit7d41b2d7f5eed4fa274a948fa2c96d150f453f0e (patch)
tree404f8bc0a9165132387439a40b02fc4539f8f82e /modules
parent9381abb7c3374e450c048ce809c95f15eec98aa1 (diff)
downloadbrdo-7d41b2d7f5eed4fa274a948fa2c96d150f453f0e.tar.gz
brdo-7d41b2d7f5eed4fa274a948fa2c96d150f453f0e.tar.bz2
- Patch #519782 by tic2000: change to become a hidden region like page_top.
Diffstat (limited to 'modules')
-rw-r--r--modules/system/page.tpl.php2
-rw-r--r--modules/system/system.api.php20
-rw-r--r--modules/system/system.module3
3 files changed, 3 insertions, 22 deletions
diff --git a/modules/system/page.tpl.php b/modules/system/page.tpl.php
index a85807837..dec95356f 100644
--- a/modules/system/page.tpl.php
+++ b/modules/system/page.tpl.php
@@ -197,7 +197,7 @@
</div></div> <!-- /#page, /#page-wrapper -->
- <?php print $closure; ?>
+ <?php print $page_bottom; ?>
</body>
</html>
diff --git a/modules/system/system.api.php b/modules/system/system.api.php
index 8986270b2..774370035 100644
--- a/modules/system/system.api.php
+++ b/modules/system/system.api.php
@@ -161,26 +161,6 @@ function hook_exit($destination = NULL) {
}
/**
- * Insert closing HTML.
- *
- * This hook enables modules to insert HTML just before the \</body\> closing
- * tag of web pages. This is useful for adding JavaScript code to the footer
- * and for outputting debug information. It is not possible to add JavaScript
- * to the header at this point, and developers wishing to do so should use
- * hook_init() instead.
- *
- * @param $main
- * Whether the current page is the front page of the site.
- * @return
- * The HTML to be inserted.
- */
-function hook_footer($main = 0) {
- if (variable_get('dev_query', 0)) {
- return '<div style="clear:both;">' . devel_query_table() . '</div>';
- }
-}
-
-/**
* Perform necessary alterations to the JavaScript before it is presented on
* the page.
*
diff --git a/modules/system/system.module b/modules/system/system.module
index 1137cc087..25ee5f1fb 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -1345,7 +1345,6 @@ function system_init() {
}
}
-
/**
* Implement MODULE_preprocess_HOOK().
*/
@@ -1836,6 +1835,7 @@ function _system_get_theme_data() {
'highlight' => 'Highlighted content',
'help' => 'Help',
'page_top' => 'Page top',
+ 'page_bottom' => 'Page bottom',
),
'description' => '',
'features' => array(
@@ -2015,6 +2015,7 @@ function system_system_info_alter(&$info, $file) {
// Remove page-top from the blocks UI since it is reserved for modules to
// populate from outside the blocks system.
$info['regions_hidden'][] = 'page_top';
+ $info['regions_hidden'][] = 'page_bottom';
}
/**