diff options
author | friendica <info@friendica.com> | 2013-07-03 19:30:52 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-07-03 19:30:52 -0700 |
commit | 8ec5f8b07a0f1d5ad266bfdfdfb48d4f5647eed6 (patch) | |
tree | 137ec95ddb45124ef619c2a3068db4518ddad09e /include | |
parent | 1af5ecf1af7111020d99a7f274e7fed2bbc663f1 (diff) | |
download | volse-hubzilla-8ec5f8b07a0f1d5ad266bfdfdfb48d4f5647eed6.tar.gz volse-hubzilla-8ec5f8b07a0f1d5ad266bfdfdfb48d4f5647eed6.tar.bz2 volse-hubzilla-8ec5f8b07a0f1d5ad266bfdfdfb48d4f5647eed6.zip |
$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
Diffstat (limited to 'include')
-rw-r--r-- | include/taxonomy.php | 15 |
1 files changed, 15 insertions, 0 deletions
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']; +} + |