From: Michael J. Rubinsky Date: Mon, 16 Aug 2010 16:07:06 +0000 (-0400) Subject: use consistent elelment naming X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=c038be4aaba13553c4fac1a05e512f37b2ee7914;p=horde.git use consistent elelment naming --- 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;