social tag - add UI
This commit is contained in:
@@ -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')
|
||||
));
|
||||
|
||||
@@ -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'];
|
||||
}}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user