diff options
author | DM42.Net (Matt Dent) <dentm42@dm42.net> | 2019-01-13 14:34:04 -0500 |
---|---|---|
committer | DM42.Net (Matt Dent) <dentm42@dm42.net> | 2019-01-13 14:34:04 -0500 |
commit | dba9c2fbb01c3d9de1d25aeb7c86a9be0e5031cf (patch) | |
tree | cb457af3ac9c750bc4006b1607920a22376a1fb4 /Zotlabs | |
parent | 9e42dfd09426e8621098d17a5eef17674345f374 (diff) | |
download | volse-hubzilla-dba9c2fbb01c3d9de1d25aeb7c86a9be0e5031cf.tar.gz volse-hubzilla-dba9c2fbb01c3d9de1d25aeb7c86a9be0e5031cf.tar.bz2 volse-hubzilla-dba9c2fbb01c3d9de1d25aeb7c86a9be0e5031cf.zip |
Add pgrp_extras hook & display
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Module/Group.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Zotlabs/Module/Group.php b/Zotlabs/Module/Group.php index c8ccaa2cb..6f3d09662 100644 --- a/Zotlabs/Module/Group.php +++ b/Zotlabs/Module/Group.php @@ -127,6 +127,10 @@ class Group extends Controller { $i++; } + $hookinfo = [ 'pgrp_extras' => '', 'group'=>$argv(1) ]; + call_hooks ('privacygroup_extras',$hookinfo); + $pgrp_extras = $hookinfo['pgrp_extras']; + $tpl = get_markup_template('privacy_groups.tpl'); $o = replace_macros($tpl, [ '$title' => t('Privacy Groups'), @@ -136,6 +140,7 @@ class Group extends Controller { // new group form '$gname' => array('groupname',t('Privacy group name')), '$public' => array('public',t('Members are visible to other channels'), false), + '$pgrp_extras' => $pgrp_extras, '$form_security_token' => get_form_security_token("group_edit"), '$submit' => t('Submit'), |