aboutsummaryrefslogtreecommitdiffstats
path: root/mod/network.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/network.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/network.php')
-rw-r--r--mod/network.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/network.php b/mod/network.php
index b0196f92a..f11db45a8 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -79,8 +79,10 @@ function network_content(&$a, $update = 0) {
$celeb = ((($a->user['page-flags'] == PAGE_SOAPBOX) || ($a->user['page-flags'] == PAGE_COMMUNITY)) ? true : false);
- $jotplugins = "";
+ $jotplugins = '';
+ $jotnets = '';
call_hooks('jot_tool', $jotplugins);
+ call_hooks('jot_networks', $jotnets);
$tpl = replace_macros($tpl,array('$jotplugins' => $jotplugins));
@@ -90,6 +92,7 @@ function network_content(&$a, $update = 0) {
'$defloc' => $a->user['default-location'],
'$visitor' => 'block',
'$emailcc' => t('CC: email addresses'),
+ '$jotnets' => $jotnets,
'$emtitle' => t('Example: bob@example.com, mary@example.com'),
'$lockstate' => $lockstate,
'$acl' => populate_acl((($group) ? $group_acl : $a->user), $celeb),