projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc8af5b
)
Don't call the Ansel_View#html method until after headers have been sent.
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Mon, 15 Feb 2010 17:41:49 +0000
(12:41 -0500)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Mon, 15 Feb 2010 17:44:05 +0000
(12:44 -0500)
Any script files needed by the views should be included in the View's const'r so
they can be output in the header.
ansel/view.php
patch
|
blob
|
history
diff --git
a/ansel/view.php
b/ansel/view.php
index
e08cee9
..
1740fbb
100644
(file)
--- a/
ansel/view.php
+++ b/
ansel/view.php
@@
-45,8
+45,8
@@
try {
}
$title = $view->getTitle();
-$view_html = $view->html();
require ANSEL_TEMPLATES . '/common-header.inc';
+$view_html = $view->html();
require ANSEL_TEMPLATES . '/menu.inc';
echo $view_html;
require $registry->get('templates', 'horde') . '/common-footer.inc';