From 8ec5f8b07a0f1d5ad266bfdfdfb48d4f5647eed6 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 3 Jul 2013 19:30:52 -0700 Subject: $yoursite/thing?f=&verb=has&term=big+balls These will eventually be listed by category in your profile and you will be able to have different lists in different profiles (which is why the multi-profile feature needed to get finished before I could get any further along on this...) have fun --- include/taxonomy.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'include') diff --git a/include/taxonomy.php b/include/taxonomy.php index 6b7987ba6..1ccb18b47 100644 --- a/include/taxonomy.php +++ b/include/taxonomy.php @@ -171,3 +171,18 @@ function tagblock($link,$uid,$count = 0,$authors = '',$flags = 0,$type = TERM_HA } return $o; } + + +function obj_verbs() { + $verbs = array( + 'has' => array( t('have'), t('has')), + 'wants' => array( t('want'), t('wants')), + 'likes' => array( t('like'), t('likes')), + 'dislikes' => array( t('dislike'), t('dislikes')), + ); + + $arr = array('verbs' => $verbs); + call_hooks('obj_verbs', $arr); + return $arr['verbs']; +} + -- cgit v1.2.3