summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormoshe weitzman2003-04-23 16:22:35 (GMT)
committer moshe weitzman2003-04-23 16:22:35 (GMT)
commit6e55fee605570e5da9b36f10654b7cf0672bdf97 (patch)
treebd547523e906c7915a238d93384c01a7cb215889
parentae6c3d462f03e0cf9ef79afd25b55253ce7d3b26 (diff)
now using _footer() hook for XHTML compatibility
-rw-r--r--devel.module3
1 files changed, 2 insertions, 1 deletions
diff --git a/devel.module b/devel.module
index 6b30c21..7423a20 100644
--- a/devel.module
+++ b/devel.module
@@ -3,7 +3,7 @@
// This module is holds functions useful for Drupal development.
// Please contribute!
-function devel_exit() {
+function devel_footer() {
if (variable_get("dev_query", 1)) {
print "<div style=\"clear:both;\">" . devel_query_table() . "</div>";
}
@@ -40,6 +40,7 @@ function devel_query_table() {
return table($header, $cell);
}
+// handy pretty print of arrays and objects. like var_dump()
function dprint_r($arr) {
print "<pre>";
print_r($arr);