diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-12-08 00:50:23 -0500 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-12-08 00:50:23 -0500 |
commit | 71c8d903785ada852408919a38161024c7e06cb7 (patch) | |
tree | 2056fbc84a11fa59dc630d33de07f3ccffd77ed8 /lib | |
parent | 49644b05d86e36ad9081e4d61921c4a9367ae561 (diff) |
add class to body element
darcs-hash:20081208055023-84dde-5ae95497ae63584f7b86e63eb62ed13607ee1ee8.gz
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php index 1b0fc1ec8..ab683d1a2 100644 --- a/lib/util.php +++ b/lib/util.php @@ -163,6 +163,7 @@ define('PAGE_TYPE_PREFS', 'text/html,application/xhtml+xml,application/xml;q=0.3 function common_show_header($pagetitle, $callable=NULL, $data=NULL, $headercall=NULL) { global $config, $xw; + global $action; /* XXX: kind of cheating here. */ common_start_html(); @@ -209,7 +210,7 @@ function common_show_header($pagetitle, $callable=NULL, $data=NULL, $headercall= } } common_element_end('head'); - common_element_start('body'); + common_element_start('body', $action); common_element_start('div', array('id' => 'wrap')); common_element_start('div', array('id' => 'header')); common_nav_menu(); |