two more places to use a hash instead of property access, instance might contain...
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 9 Oct 2010 14:24:52 +0000 (10:24 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 9 Oct 2010 14:24:52 +0000 (10:24 -0400)
horde/templates/block/twitter_tweet.html.php

index db83ad5..8664a72 100644 (file)
@@ -31,8 +31,8 @@
     </div>
     <?php endif; ?>
     <div class="hordeSmStreaminfo">
-      <?php echo Horde::selfUrl()->link(array('onclick' => 'Horde.twitter' . $this->instanceid . '.buildReply(\'' . $this->tweet->id . '\', \'' . $this->tweet->user->screen_name . '\', \'' . $this->tweet->user->name . '\'); return false;')) .  _("Reply") ?></a>
-      &nbsp;|&nbsp; <?php echo Horde::selfUrl()->link(array('onclick' => 'Horde.twitter' . $this->instanceid . '.retweet(\'' . $this->tweet->id . '\'); return false;')) . _("Retweet") ?></a>
+      <?php echo Horde::selfUrl()->link(array('onclick' => 'Horde[\'twitter' . $this->instanceid . '\'].buildReply(\'' . $this->tweet->id . '\', \'' . $this->tweet->user->screen_name . '\', \'' . $this->tweet->user->name . '\'); return false;')) .  _("Reply") ?></a>
+      &nbsp;|&nbsp; <?php echo Horde::selfUrl()->link(array('onclick' => 'Horde[\'twitter' . $this->instanceid . '\'].retweet(\'' . $this->tweet->id . '\'); return false;')) . _("Retweet") ?></a>
     </div>
     <div class="clear">&nbsp;</div>
   </div>