aboutsummaryrefslogtreecommitdiffstats
path: root/include/ItemObject.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-06-30 23:04:27 -0700
committerfriendica <info@friendica.com>2013-06-30 23:04:27 -0700
commit822a4a028718b81119ab51e47145b2ddf87b775c (patch)
treea539dcfea5722a94c4c37df6415b6a9485f1098c /include/ItemObject.php
parent9fd4d5f0ccd6ed3f9d6ce79e3ad0b1b338b34b1b (diff)
downloadvolse-hubzilla-822a4a028718b81119ab51e47145b2ddf87b775c.tar.gz
volse-hubzilla-822a4a028718b81119ab51e47145b2ddf87b775c.tar.bz2
volse-hubzilla-822a4a028718b81119ab51e47145b2ddf87b775c.zip
fix some community tagging bugs
Diffstat (limited to 'include/ItemObject.php')
-rw-r--r--include/ItemObject.php13
1 files changed, 9 insertions, 4 deletions
diff --git a/include/ItemObject.php b/include/ItemObject.php
index fc4db3ecf..e057936ae 100644
--- a/include/ItemObject.php
+++ b/include/ItemObject.php
@@ -147,6 +147,7 @@ class Item extends BaseObject {
$this->check_wall_to_wall();
if($this->is_toplevel()) {
+ // FIXME check this permission
if($conv->get_profile_owner() == local_user()) {
// FIXME we don't need all this stuff, some can be done in the template
@@ -161,15 +162,19 @@ class Item extends BaseObject {
'starred' => t('starred'),
);
- $tagger = array(
- 'tagit' => t("add tag"),
- 'classtagger' => "",
- );
}
} else {
$indent = 'comment';
}
+ // FIXME - check this permission
+ if($conv->get_profile_owner() == local_user()) {
+ $tagger = array(
+ 'tagit' => t("add tag"),
+ 'classtagger' => "",
+ );
+ }
+
if($this->is_commentable()) {
$like = array( t("I like this \x28toggle\x29"), t("like"));
$dislike = array( t("I don't like this \x28toggle\x29"), t("dislike"));