better default
authorMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 5 Jul 2010 22:08:53 +0000 (18:08 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 6 Jul 2010 22:47:30 +0000 (18:47 -0400)
horde/lib/Block/twitter_timeline.php

index d38c3f2..21f662f 100644 (file)
@@ -88,7 +88,7 @@ class Horde_Block_Horde_twitter_timeline extends Horde_Block
             'height' => array(
                  'name' => _("Height of map (width automatically adjusts to block)"),
                  'type' => 'int',
-                 'default' => 250),
+                 'default' => 350),
             'refresh_rate' => array(
                  'name' => _("Number of seconds to wait to refresh"),
                  'type' => 'int',
@@ -169,7 +169,7 @@ EOT;
            . '<a class="button" onclick="Horde.twitter.updateStatus($F(\'' . $instance . '_newStatus\'));" href="#">' . _("Update") . '</a><span id="' . $instance . '_inReplyTo"></span>'
            . Horde::img('loading.gif', '', array('id' => $instance . '_loading', 'style' => 'display:none;'));
         $html .= '<div id="currentStatus" class="fbemptystatus" style="margin-left:10px;margin-top:10px;">' . sprintf(_("Latest: %s - %s"), $latestStatus, Horde_Date_Utils::relativeDateTime(strtotime($this->_profile->status->created_at), $GLOBALS['prefs']->getValue('date_format'), ($GLOBALS['prefs']->getValue('twentyFour') ? "%H:%M" : "%I:%M %P"))) . '</div></div>';
-        $html .= '<div style="height:' . (empty($this->_params['height']) ? 250 : $this->_params['height']) . 'px;overflow-y:auto;" id="twitter_body' . $instance . '">';
+        $html .= '<div style="height:' . (empty($this->_params['height']) ? 350 : $this->_params['height']) . 'px;overflow-y:auto;" id="twitter_body' . $instance . '">';
         $filter = Horde_Text_Filter::factory('Text2html', array('parselevel' => Horde_Text_Filter_Text2html::MICRO));
         $html .= '</div>';
         $html .= '<div class="control fbgetmore"><a href="#" onclick="Horde.twitter.getOlderEntries();return false;">' . _("Get More") . '</a></div>';