]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Some layout and rendering adjustment for Realtime plugin
authorSarven Capadisli <csarven@status.net>
Wed, 23 Sep 2009 22:00:22 +0000 (22:00 +0000)
committerSarven Capadisli <csarven@status.net>
Wed, 23 Sep 2009 22:00:22 +0000 (22:00 +0000)
plugins/Realtime/RealtimePlugin.php

index 157c800d95d05e856c8b47475c35f103f810efff..f211c01f94c828d0909c354494d716c4ee68e7c8 100644 (file)
@@ -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
     }