aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-10-24 15:47:17 -0700
committerFriendika <info@friendika.com>2011-10-24 15:47:17 -0700
commit3b6b0eaa8ba8f59c70f66a6c92888f9ff2d5b41b (patch)
tree938348de7342a4730e4fa6f36090ae0742e86127 /include
parentf48fd5aa1651cdc801473e9d24c1736304533e63 (diff)
downloadvolse-hubzilla-3b6b0eaa8ba8f59c70f66a6c92888f9ff2d5b41b.tar.gz
volse-hubzilla-3b6b0eaa8ba8f59c70f66a6c92888f9ff2d5b41b.tar.bz2
volse-hubzilla-3b6b0eaa8ba8f59c70f66a6c92888f9ff2d5b41b.zip
social tag - add UI
Diffstat (limited to 'include')
-rw-r--r--include/conversation.php3
-rw-r--r--include/text.php10
2 files changed, 10 insertions, 3 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 29fa77902..dec70c1a9 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -466,6 +466,8 @@ function conversation(&$a, $items, $mode, $update) {
'classdo' => (($item['starred']) ? "hidden" : ""),
'classundo' => (($item['starred']) ? "" : "hidden"),
'starred' => t('starred'),
+ 'tagger' => t("add tag"),
+ 'classtagger' => "",
);
}
@@ -747,6 +749,7 @@ function status_editor($a,$x, $notes_cid = 0) {
'$linkurl' => t('Please enter a link URL:'),
'$vidurl' => t("Please enter a video link/URL:"),
'$audurl' => t("Please enter an audio link/URL:"),
+ '$term' => t('Tag term:'),
'$whereareu' => t('Where are you right now?'),
'$title' => t('Enter a title for this item')
));
diff --git a/include/text.php b/include/text.php
index ca8dc5ac3..ba6c2531f 100644
--- a/include/text.php
+++ b/include/text.php
@@ -751,7 +751,9 @@ function prepare_body($item,$attach = false) {
$s = prepare_text($item['body']);
- call_hooks('prepare_body', $s);
+ $prep_arr = array('item' => $item, 'html' => $s);
+ call_hooks('prepare_body', $prep_arr);
+ $s = $prep_arr['html'];
if(! $attach)
return $s;
@@ -784,8 +786,10 @@ function prepare_body($item,$attach = false) {
}
$s .= '<div class="clear"></div></div>';
}
- call_hooks('prepare_body_final', $s);
- return $s;
+
+ $prep_arr = array('item' => $item, 'html' => $s);
+ call_hooks('prepare_body_final', $prep_arr);
+ return $prep_arr['html'];
}}