aboutsummaryrefslogtreecommitdiff
path: root/mod/twitter
diff options
context:
space:
mode:
Diffstat (limited to 'mod/twitter')
-rw-r--r--mod/twitter/manifest.xml1
-rw-r--r--mod/twitter/start.php2
-rw-r--r--mod/twitter/views/default/twitter/css.php2
3 files changed, 3 insertions, 2 deletions
diff --git a/mod/twitter/manifest.xml b/mod/twitter/manifest.xml
index b198aa0e9..bd7176620 100644
--- a/mod/twitter/manifest.xml
+++ b/mod/twitter/manifest.xml
@@ -4,6 +4,7 @@
<author>Core developers</author>
<version>1.7</version>
<category>bundled</category>
+ <category>widget</category>
<description>Elgg simple twitter widget</description>
<website>http://www.elgg.org/</website>
<copyright>See COPYRIGHT.txt</copyright>
diff --git a/mod/twitter/start.php b/mod/twitter/start.php
index c40f933c7..b793eadf0 100644
--- a/mod/twitter/start.php
+++ b/mod/twitter/start.php
@@ -6,7 +6,7 @@
* @package ElggTwitter
*/
-register_elgg_event_handler('init', 'system', 'twitter_init');
+elgg_register_event_handler('init', 'system', 'twitter_init');
function twitter_init() {
elgg_extend_view('css/elgg', 'twitter/css');
diff --git a/mod/twitter/views/default/twitter/css.php b/mod/twitter/views/default/twitter/css.php
index cb58e8fb1..eb0cda98a 100644
--- a/mod/twitter/views/default/twitter/css.php
+++ b/mod/twitter/views/default/twitter/css.php
@@ -54,7 +54,7 @@ p.twitter_username .input-text {
padding:2px;
margin:0 0 5px 0;
}
-#twitter_widget li a {
+#twitter_widget li > a {
display:block;
margin:0 0 0 4px;
}