From d5f09b7e4d802cdc2d5f3f876c48ea918c961488 Mon Sep 17 00:00:00 2001 From: cweiske Date: Sat, 3 Oct 2009 21:52:30 +0000 Subject: make the application work again git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@388 b3834d28-1941-0410-a4f8-b48e95affb8f --- data/templates/bookmarks.tpl.php | 8 ++--- data/templates/dynamictags.inc.php | 2 +- data/templates/search.menu.php | 54 +++++++++++++++++++++++++++++++ data/templates/sidebar.block.common.php | 2 +- data/templates/sidebar.block.linked.php | 2 +- data/templates/sidebar.block.menu.php | 2 +- data/templates/sidebar.block.menu2.php | 2 +- data/templates/sidebar.block.popular.php | 2 +- data/templates/sidebar.block.recent.php | 2 +- data/templates/sidebar.block.related.php | 2 +- data/templates/sidebar.block.search.php | 2 +- data/templates/sidebar.linkedtags.inc.php | 4 +-- 12 files changed, 69 insertions(+), 15 deletions(-) create mode 100644 data/templates/search.menu.php (limited to 'data/templates') diff --git a/data/templates/bookmarks.tpl.php b/data/templates/bookmarks.tpl.php index 2b673b7..1768928 100644 --- a/data/templates/bookmarks.tpl.php +++ b/data/templates/bookmarks.tpl.php @@ -1,9 +1,9 @@ includeTemplate($GLOBALS['top_include']); -include('search.inc.php'); +include('search.menu.php'); ?> diff --git a/data/templates/dynamictags.inc.php b/data/templates/dynamictags.inc.php index c6b0d16..c1a589f 100644 --- a/data/templates/dynamictags.inc.php +++ b/data/templates/dynamictags.inc.php @@ -20,7 +20,7 @@ ***************************************************************************/ /* Service creation: only useful services are created */ -$b2tservice = & ServiceFactory :: getServiceInstance('Bookmark2TagService'); +$b2tservice = SemanticScuttle_Service_Factory :: getServiceInstance('Bookmark2Tag'); $logged_on_userid = $userservice->getCurrentUserId(); diff --git a/data/templates/search.menu.php b/data/templates/search.menu.php new file mode 100644 index 0000000..ce57aea --- /dev/null +++ b/data/templates/search.menu.php @@ -0,0 +1,54 @@ + + + + diff --git a/data/templates/sidebar.block.common.php b/data/templates/sidebar.block.common.php index 6f1e9f7..7fbc782 100644 --- a/data/templates/sidebar.block.common.php +++ b/data/templates/sidebar.block.common.php @@ -1,5 +1,5 @@ getRelatedTagsByHash($hash); $commonTags =& $b2tservice->tagCloud($commonTags, 5, 90, 225, 'alphabet_asc'); diff --git a/data/templates/sidebar.block.linked.php b/data/templates/sidebar.block.linked.php index 0fa36c9..6802051 100644 --- a/data/templates/sidebar.block.linked.php +++ b/data/templates/sidebar.block.linked.php @@ -1,6 +1,6 @@ getCurrentUserId(); if ($logged_on_userid === false) { diff --git a/data/templates/sidebar.linkedtags.inc.php b/data/templates/sidebar.linkedtags.inc.php index 555eafc..f978339 100644 --- a/data/templates/sidebar.linkedtags.inc.php +++ b/data/templates/sidebar.linkedtags.inc.php @@ -9,8 +9,8 @@ function displayLinkedTags($tag, $linkType, $uId, $cat_url, $user, $editingMode return array('output' => '', 'stoplist' => $stopList); } - $tag2tagservice =& ServiceFactory::getServiceInstance('Tag2TagService'); - $tagstatservice =& ServiceFactory::getServiceInstance('TagStatService'); + $tag2tagservice =SemanticScuttle_Service_Factory::getServiceInstance('Tag2Tag'); + $tagstatservice =SemanticScuttle_Service_Factory::getServiceInstance('TagStat'); // link '>' if($level>1) { -- cgit v1.2.3