summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-09-23 22:00:22 +0000
committerSarven Capadisli <csarven@status.net>2009-09-23 22:00:22 +0000
commitddb9518c9949989f99c3e7b0323c9bbd01c1d5ee (patch)
tree0cedcc30fe992723643f9331e965dbca0a5fba25 /plugins
parent4d4bb089a5e3addfd4be2f82e5e4e257070f4058 (diff)
Some layout and rendering adjustment for Realtime plugin
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Realtime/RealtimePlugin.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/Realtime/RealtimePlugin.php b/plugins/Realtime/RealtimePlugin.php
index 157c800d9..f211c01f9 100644
--- a/plugins/Realtime/RealtimePlugin.php
+++ b/plugins/Realtime/RealtimePlugin.php
@@ -213,9 +213,9 @@ class RealtimePlugin extends Plugin
'class' => 'user_in')
: array('id' => $action->trimmed('action')));
+ $action->elementStart('div', array('id' => 'header'));
// XXX hack to deal with JS that tries to get the
// root url from page output
-
$action->elementStart('address');
$action->element('a', array('class' => 'url',
'href' => common_local_url('public')),
@@ -225,7 +225,9 @@ class RealtimePlugin extends Plugin
if (common_logged_in()) {
$action->showNoticeForm();
}
- $action->showContent();
+ $action->elementEnd('div');
+
+ $action->showContentBlock();
$action->elementEnd('body');
return false; // No default processing
}