summaryrefslogtreecommitdiff
path: root/modules/gallery/libraries
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-01-08 15:37:24 -0800
committerBharat Mediratta <bharat@menalto.com>2010-01-08 15:37:24 -0800
commit5a8d48a86953781c682be7c8052ae804c65f7e3b (patch)
tree9425dd46f8997860a29b16d16a4d667336940ec8 /modules/gallery/libraries
parent9864ab4b2708ec54c39092a21828403cbbd25e2e (diff)
parentbd9f945e3f2de4ea2402bd3941dba69c79ddc5a4 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev
Diffstat (limited to 'modules/gallery/libraries')
-rw-r--r--modules/gallery/libraries/Theme_View.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/gallery/libraries/Theme_View.php b/modules/gallery/libraries/Theme_View.php
index f78a7018..a6d1806c 100644
--- a/modules/gallery/libraries/Theme_View.php
+++ b/modules/gallery/libraries/Theme_View.php
@@ -278,9 +278,10 @@ class Theme_View_Core extends Gallery_View {
}
if (Session::instance()->get("debug")) {
- if ($function != "head") {
+ if ($function != "head" && $function != "body_attributes") {
array_unshift(
- $blocks, "<div class=\"g-annotated-theme-block g-annotated-theme-block_$function g-clear-fix\">" .
+ $blocks,
+ "<div class=\"g-annotated-theme-block g-annotated-theme-block_$function g-clear-fix\">" .
"<div class=\"title\">$function</div>");
$blocks[] = "</div>";
}