From 7ce159ea726c8f6e0bbc64a98f1b67b5569c1c83 Mon Sep 17 00:00:00 2001 From: ands <ands@andspad.(none)> Date: Thu, 9 Dec 2010 17:20:38 +0100 Subject: [PATCH] Stylesheet-fix --- webroot/widgets/TwitterWall/TwitterWall.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/webroot/widgets/TwitterWall/TwitterWall.php b/webroot/widgets/TwitterWall/TwitterWall.php index 01fdf2f..b4172cd 100644 --- a/webroot/widgets/TwitterWall/TwitterWall.php +++ b/webroot/widgets/TwitterWall/TwitterWall.php @@ -4,9 +4,11 @@ require_once 'widgets/iWidget.php'; class TwitterWall implements iWidget { + private $lines; + public function __construct($width, $height) { - + $this->lines = $width*$height/40000; } @@ -19,7 +21,7 @@ class TwitterWall implements iWidget $(document).ready(function(){ $(".tweet").tweet({ avatar_size: 55, - count: 6, + count: '.$this->lines.', loading_text: "loading tweets...", query: "#warpzone", refresh_interval: 360 -- GitLab