Fix class name and method name
authorMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 15 Sep 2010 13:14:27 +0000 (09:14 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 15 Sep 2010 13:15:05 +0000 (09:15 -0400)
jonah/lib/View/StoryView.php
jonah/templates/stories/layout/view.html.php

index 737360e..41a0481 100644 (file)
@@ -38,7 +38,7 @@ class Jonah_View_StoryView extends Jonah_View_Base
         }
 
         /* Grab tag related content for entire channel */
-        $cloud = new Horde_Ui_TagCloud();
+        $cloud = new Horde_Core_Ui_TagCloud();
         $allTags = $driver->listTagInfo(array(), $channel_id);
         foreach ($allTags as $tag_id => $taginfo) {
             $cloud->addElement($taginfo['tag_name'], Horde::url('results.php')->add(array('tag_id' => $tag_id, 'channel_id' => $channel_id)), $taginfo['total']);
@@ -71,6 +71,7 @@ class Jonah_View_StoryView extends Jonah_View_Base
                                                              JONAH_TEMPLATES . '/stories/partial',
                                                              JONAH_TEMPLATES . '/stories/layout')));
         $view->addHelper('Tag');
+        $view->addBuiltinHelpers();
         $view->tagcloud = $cloud->buildHTML();
         $view->story = $story;
 
index 33454f2..99a84ec 100644 (file)
@@ -9,7 +9,7 @@
  */
 ?>
 <?php if (!empty($this->tagcloud)): ?>
-<?php echo $this->contentTag('div', $this->contentDiv('div', $this->tagcloud, array('class' => 'tagSelector')), array('style' => 'float:right;'));?>
+<?php echo $this->contentTag('div', $this->contentTag('div', $this->tagcloud, array('class' => 'tagSelector')), array('style' => 'float:right;'));?>
 <div style="margin-right:170px;">
 <?php else:?>
 <div>