require_once('include/bbcode.php');
require_once('include/items.php');
-if(! function_exists('mood_init')) {
+
function mood_init(&$a) {
if(! local_user())
$uri = item_new_uri($a->get_hostname(),$uid);
- $action = sprintf( t('%1$s is currently %2$s'), '[url=' . $poster['url'] . ']' . $poster['name'] . '[/url]' , $verbs[$verb]);
+ $action = sprintf( t('%1$s is currently %2$s'), '[url=' . $poster['url'] . ']' . $poster['name'] . '[/url]' , $verbs[$verb]);
$arr = array();
-
+ $arr['guid'] = get_guid(32);
$arr['uid'] = $uid;
$arr['uri'] = $uri;
$arr['parent-uri'] = (($parent_uri) ? $parent_uri : $uri);
return;
}
-}
-if(! function_exists('mood_content')) {
+
+
function mood_content(&$a) {
if(! local_user()) {
));
return $o;
-}
+
}