From 5bfb5eb3a31e7ff343925d4649fcb1cd09f21e87 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Wed, 15 Sep 2010 09:14:27 -0400 Subject: [PATCH] Fix class name and method name --- jonah/lib/View/StoryView.php | 3 ++- jonah/templates/stories/layout/view.html.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/jonah/lib/View/StoryView.php b/jonah/lib/View/StoryView.php index 737360e5d..41a0481bf 100644 --- a/jonah/lib/View/StoryView.php +++ b/jonah/lib/View/StoryView.php @@ -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; diff --git a/jonah/templates/stories/layout/view.html.php b/jonah/templates/stories/layout/view.html.php index 33454f2d7..99a84ec44 100644 --- a/jonah/templates/stories/layout/view.html.php +++ b/jonah/templates/stories/layout/view.html.php @@ -9,7 +9,7 @@ */ ?> tagcloud)): ?> -contentTag('div', $this->contentDiv('div', $this->tagcloud, array('class' => 'tagSelector')), array('style' => 'float:right;'));?> +contentTag('div', $this->contentTag('div', $this->tagcloud, array('class' => 'tagSelector')), array('style' => 'float:right;'));?>
-- 2.11.0