aboutsummaryrefslogtreecommitdiff
path: root/mod/twitter
diff options
context:
space:
mode:
authorBrett Profitt <brett.profitt@gmail.com>2011-06-18 19:56:33 -0400
committerBrett Profitt <brett.profitt@gmail.com>2011-06-18 19:56:33 -0400
commitec7b94a64aef23b85866ecdac8e8acc712d29bb6 (patch)
treea108205c3fa0b694d8ce0ebaafd259480d6b530a /mod/twitter
parentc80ba5aa03264dd64c20ed8ae222e87f9371a44d (diff)
parent2b68a4d217c35a5587c462620789493cf2804ba2 (diff)
downloadelgg-ec7b94a64aef23b85866ecdac8e8acc712d29bb6.tar.gz
elgg-ec7b94a64aef23b85866ecdac8e8acc712d29bb6.tar.bz2
Merge branch 'master' of github.com:Elgg/Elgg
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.php5
3 files changed, 6 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 ffabdf98c..cb58e8fb1 100644
--- a/mod/twitter/views/default/twitter/css.php
+++ b/mod/twitter/views/default/twitter/css.php
@@ -14,13 +14,16 @@
padding:0;
}
#twitter_widget li {
- background: url(<?php echo elgg_get_site_url(); ?>mod/twitter/graphics/thewire_speech_bubble.gif) no-repeat right bottom;
list-style-image:none;
list-style-position:outside;
list-style-type:none;
margin:0 0 5px 0;
padding:0;
overflow-x: hidden;
+ border: 2px solid #dedede;
+ -webkit-border-radius: 8px;
+ -moz-border-radius: 8px;
+ border-radius: 8px;
}
#twitter_widget li span {
color:#666666;