From c038be4aaba13553c4fac1a05e512f37b2ee7914 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Mon, 16 Aug 2010 12:07:06 -0400 Subject: [PATCH] use consistent elelment naming --- horde/lib/Block/twitter_timeline.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/horde/lib/Block/twitter_timeline.php b/horde/lib/Block/twitter_timeline.php index 489265dbc..c97270d82 100644 --- a/horde/lib/Block/twitter_timeline.php +++ b/horde/lib/Block/twitter_timeline.php @@ -144,10 +144,10 @@ class Horde_Block_Horde_twitter_timeline extends Horde_Block var Horde = window.Horde || {}; Horde.twitter{$instance} = new Horde_Twitter({ instanceid: '{$instance}', - getmore: 'getmore{$instance}', + getmore: '{$instance}_getmore', input: '{$instance}_newStatus', spinner: '{$instance}_loading', - content: 'twitter_body{$instance}', + content: '{$instance}_twitter_body', endpoint: '{$endpoint}', inreplyto: '{$inReplyToNode}', refreshrate: {$refresh}, @@ -166,10 +166,10 @@ EOT; . '' . _("Tweet") . '140 ' . Horde::img('loading.gif', '', array('id' => $instance . '_loading', 'style' => 'display:none;')); $html .= '
' . _("Latest") . ' ' . $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")) . '
'; - $html .= '
'; + $html .= '
'; $filter = $GLOBALS['injector']->getInstance('Horde_Text_Filter')->getFilter('Text2html', array('parselevel' => Horde_Text_Filter_Text2html::MICRO)); $html .= '
'; - $html .= '
'; + $html .= '
'; $html .= '
'; return $html; -- 2.11.0