diff options
author | Christian Weiske <cweiske@cweiske.de> | 2013-03-20 20:00:25 +0100 |
---|---|---|
committer | Christian Weiske <cweiske@cweiske.de> | 2013-03-20 20:00:25 +0100 |
commit | 85e2ccd942fc67944c9324e71097f426abf75a01 (patch) | |
tree | e7a8f71c4937fccb7686b8ae9d5e5664cfd84d40 /data/templates | |
parent | fc4c79df8a6fb6c82a3552260d43271fede24ed2 (diff) | |
download | semanticscuttle-85e2ccd942fc67944c9324e71097f426abf75a01.tar.gz semanticscuttle-85e2ccd942fc67944c9324e71097f426abf75a01.tar.bz2 |
remove php4-style object reference passing #2
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/default/dynamictags.inc.php | 8 | ||||
-rw-r--r-- | data/templates/default/sidebar.block.common.php | 4 | ||||
-rw-r--r-- | data/templates/default/sidebar.block.popular.php | 4 | ||||
-rw-r--r-- | data/templates/default/sidebar.block.recent.php | 2 |
4 files changed, 9 insertions, 9 deletions
diff --git a/data/templates/default/dynamictags.inc.php b/data/templates/default/dynamictags.inc.php index 8cf07c1..c2ab6d4 100644 --- a/data/templates/default/dynamictags.inc.php +++ b/data/templates/default/dynamictags.inc.php @@ -25,13 +25,13 @@ $b2tservice = SemanticScuttle_Service_Factory :: get('Bookmark2Tag'); $logged_on_userid = $userservice->getCurrentUserId(); //tags from current user -$userPopularTags =& $b2tservice->getPopularTags($logged_on_userid, 25, $logged_on_userid); -$userPopularTagsCloud =& $b2tservice->tagCloud($userPopularTags, 5, 90, 175); +$userPopularTags = $b2tservice->getPopularTags($logged_on_userid, 25, $logged_on_userid); +$userPopularTagsCloud = $b2tservice->tagCloud($userPopularTags, 5, 90, 175); $userPopularTagsCount = count($userPopularTags); //tags from all users -$allPopularTags =& $b2tservice->getPopularTags(null, 5, $logged_on_userid); -$allPopularTagsCloud =& $b2tservice->tagCloud($allPopularTags, 5, 90, 175); +$allPopularTags = $b2tservice->getPopularTags(null, 5, $logged_on_userid); +$allPopularTagsCloud = $b2tservice->tagCloud($allPopularTags, 5, 90, 175); $allPopularTagsCount = count($allPopularTags); diff --git a/data/templates/default/sidebar.block.common.php b/data/templates/default/sidebar.block.common.php index 951ed80..dfc83ef 100644 --- a/data/templates/default/sidebar.block.common.php +++ b/data/templates/default/sidebar.block.common.php @@ -1,7 +1,7 @@ <?php $b2tservice =SemanticScuttle_Service_Factory::get('Bookmark2Tag'); -$commonTags =& $b2tservice->getRelatedTagsByHash($hash); -$commonTags =& $b2tservice->tagCloud($commonTags, 5, 90, 225, 'alphabet_asc'); +$commonTags = $b2tservice->getRelatedTagsByHash($hash); +$commonTags = $b2tservice->tagCloud($commonTags, 5, 90, 225, 'alphabet_asc'); if ($commonTags && count($commonTags) > 0) { ?> diff --git a/data/templates/default/sidebar.block.popular.php b/data/templates/default/sidebar.block.popular.php index 50756c0..842aa60 100644 --- a/data/templates/default/sidebar.block.popular.php +++ b/data/templates/default/sidebar.block.popular.php @@ -14,8 +14,8 @@ $logged_on_userid = $userservice->getCurrentUserId(); if ($logged_on_userid === false) { $logged_on_userid = NULL; } -$popularTags =& $b2tservice->getPopularTags($userid, $popCount, $logged_on_userid); -$popularTags =& $b2tservice->tagCloud($popularTags, 5, 90, 225, 'alphabet_asc'); +$popularTags = $b2tservice->getPopularTags($userid, $popCount, $logged_on_userid); +$popularTags = $b2tservice->tagCloud($popularTags, 5, 90, 225, 'alphabet_asc'); if ($popularTags && count($popularTags) > 0) { ?> diff --git a/data/templates/default/sidebar.block.recent.php b/data/templates/default/sidebar.block.recent.php index 1ffeb4d..80ae71c 100644 --- a/data/templates/default/sidebar.block.recent.php +++ b/data/templates/default/sidebar.block.recent.php @@ -10,7 +10,7 @@ if ($logged_on_userid === false) { $logged_on_userid = NULL; } $recentTags = $b2tservice->getPopularTags($userid, $popCount, $logged_on_userid, $GLOBALS['defaultRecentDays']); -$recentTags =& $b2tservice->tagCloud($recentTags, 5, 90, 225, 'alphabet_asc'); +$recentTags = $b2tservice->tagCloud($recentTags, 5, 90, 225, 'alphabet_asc'); if ($recentTags && count($recentTags) > 0) { ?> |