diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-01-08 15:37:24 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-01-08 15:37:24 -0800 |
commit | 5a8d48a86953781c682be7c8052ae804c65f7e3b (patch) | |
tree | 9425dd46f8997860a29b16d16a4d667336940ec8 /modules/gallery/libraries | |
parent | 9864ab4b2708ec54c39092a21828403cbbd25e2e (diff) | |
parent | bd9f945e3f2de4ea2402bd3941dba69c79ddc5a4 (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.php | 5 |
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>"; } |