diff --git a/webroot/css/widget_light.css b/webroot/css/widget_light.css index c4f2e138819eeafb3e3e5a6445c3f22bb85b7e1b..330339c2d4103312c785ee6fb318e4ac318f45df 100644 --- a/webroot/css/widget_light.css +++ b/webroot/css/widget_light.css @@ -4,10 +4,12 @@ font-family: inherit; color:#000000; } + .widget_light td, .widget_light div { font-family: inherit; color:#000000; } + .widget_light h1 { margin: 10; padding: 0; @@ -28,6 +30,7 @@ font-size: 0.6em; color: #222222; } + .widget_light ul { background-color:#95897E; margin: 10; @@ -47,6 +50,7 @@ .widget_light li img { padding: 4; } + .widget_light a, .widget_light a:hover, .widget_light a:visited, .widget_light a:active { text-decoration:none; font-family: inherit; @@ -54,6 +58,7 @@ font-style: normal; color: #333333; } + .widget_light img { float:left; diff --git a/webroot/widgets/TwitterWall/TwitterWall.php b/webroot/widgets/TwitterWall/TwitterWall.php index 3576143fc541ddbb116e0c4882e9c9b08aa0c3dd..117c9a3c2127839b955848a267c5000b891f5f46 100644 --- a/webroot/widgets/TwitterWall/TwitterWall.php +++ b/webroot/widgets/TwitterWall/TwitterWall.php @@ -16,23 +16,14 @@ class TwitterWall implements iWidget $widgetOutput .= ' <script src="widgets/TwitterWall/jquery.tweet.js" type="text/javascript"></script> <script type="text/javascript"> - var TwitterMail_everyFive = 5; - function TwitterMail_update () { - if (TwitterMail_everyFive == 5) { - TwitterMail_everyFive = 0; - $(".tweet").tweet({ - avatar_size: 48, - count: 5, - loading_text: "loading tweets...", - query: "#warpzone" - }); - } else { - TwitterMail_everyFive ++; - } - } $(document).ready(function(){ - TwitterMail_update(); - addFunctionToMinuteTimer(TwitterMail_update); + $(".tweet").tweet({ + avatar_size: 48, + count: 6, + loading_text: "loading tweets...", + query: "#warpzone", + refresh_interval: 360 + }); }); </script>'."\n"; $widgetOutput .= '<div class="tweet"></div>'."\n";