summaryrefslogtreecommitdiff
path: root/lib/action.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-09-24 17:22:51 -0400
committerEvan Prodromou <evan@status.net>2009-09-24 17:22:51 -0400
commit78cec7ab87c005e988dbd8176585ffad9182d25c (patch)
tree735c4755433140939e6b841f971a273c6a2f76f8 /lib/action.php
parent8284b3cb82f4dec6e0f2bf74dea6e1a3bc7f4eac (diff)
parent49bce941a9aae495ee7221bd367791227487b458 (diff)
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Conflicts: install.php lib/noticeform.php
Diffstat (limited to 'lib/action.php')
-rw-r--r--lib/action.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/action.php b/lib/action.php
index d9b5afa99..635b7c373 100644
--- a/lib/action.php
+++ b/lib/action.php
@@ -120,16 +120,15 @@ class Action extends HTMLOutputter // lawsuit
{
// XXX: attributes (profile?)
$this->elementStart('head');
- if (Event::handle('StartHeadChildren', array($this))) {
+ if (Event::handle('StartShowHeadElements', array($this))) {
$this->showTitle();
$this->showShortcutIcon();
$this->showStylesheets();
- $this->showScripts();
$this->showOpenSearch();
$this->showFeeds();
$this->showDescription();
$this->extraHead();
- Event::handle('EndHeadChildren', array($this));
+ Event::handle('EndShowHeadElements', array($this));
}
$this->elementEnd('head');
}
@@ -355,6 +354,7 @@ class Action extends HTMLOutputter // lawsuit
Event::handle('EndShowFooter', array($this));
}
$this->elementEnd('div');
+ $this->showScripts();
$this->elementEnd('body');
}