aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-02-11 02:35:19 -0800
committerFriendika <info@friendika.com>2011-02-11 02:35:19 -0800
commitc16e86add81d9f2867a0da024954b5cbc14a9f4b (patch)
tree012c13873b4c876b5198d9c8c0c7f0e91a29455f /mod/profile.php
parent40574589e27d9135a434dcc4f9dfa899fe5f8ec6 (diff)
downloadvolse-hubzilla-c16e86add81d9f2867a0da024954b5cbc14a9f4b.tar.gz
volse-hubzilla-c16e86add81d9f2867a0da024954b5cbc14a9f4b.tar.bz2
volse-hubzilla-c16e86add81d9f2867a0da024954b5cbc14a9f4b.zip
toggles "post to facebook, post to twitter", etc.
Diffstat (limited to 'mod/profile.php')
-rw-r--r--mod/profile.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/mod/profile.php b/mod/profile.php
index 3b4616a34..8ec29d382 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -135,9 +135,12 @@ function profile_content(&$a, $update = 0) {
else
$lockstate = 'unlock';
- $jotplugins = "";
+ $jotplugins = '';
+ $jotnets = '';
call_hooks('jot_tool', $jotplugins);
+ call_hooks('jot_networks', $jotnets);
+
$tpl = replace_macros($tpl,array('$jotplugins' => $jotplugins));
$o .= replace_macros($tpl,array(
@@ -147,6 +150,7 @@ function profile_content(&$a, $update = 0) {
'$visitor' => (($is_owner || $commvisitor) ? 'block' : 'none'),
'$lockstate' => $lockstate,
'$emailcc' => t('CC: email addresses'),
+ '$jotnets' => $jotnets,
'$emtitle' => t('Example: bob@example.com, mary@example.com'),
'$bang' => '',
'$acl' => (($is_owner) ? populate_acl($a->user, $celeb) : ''),