aboutsummaryrefslogtreecommitdiffstats
path: root/mod/register.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-31 06:15:33 -0700
committerfriendica <info@friendica.com>2012-03-31 06:15:33 -0700
commitadebc2793e84344fca1700eb6af583a9a0abcb1a (patch)
tree775905ea99418fa4c5f0c80c29a24defc29a051e /mod/register.php
parentc34a71eba64c111dcc8a2491355d0328fab41039 (diff)
downloadvolse-hubzilla-adebc2793e84344fca1700eb6af583a9a0abcb1a.tar.gz
volse-hubzilla-adebc2793e84344fca1700eb6af583a9a0abcb1a.tar.bz2
volse-hubzilla-adebc2793e84344fca1700eb6af583a9a0abcb1a.zip
register hooks for a COPA plugin
Diffstat (limited to 'mod/register.php')
-rwxr-xr-xmod/register.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/mod/register.php b/mod/register.php
index 6d0e2700b..91080b1d8 100755
--- a/mod/register.php
+++ b/mod/register.php
@@ -8,6 +8,8 @@ function register_post(&$a) {
$verified = 0;
$blocked = 1;
+ $arr = array('post' => $_POST);
+ call_hooks('register_post', $arr);
$max_dailies = intval(get_config('system','max_daily_registrations'));
if($max_dailes) {
@@ -540,6 +542,11 @@ function register_content(&$a) {
$license = '';
$o = get_markup_template("register.tpl");
+
+ $arr = array('template' => $o);
+
+ call_hooks('register_form',$arr);
+
$o = replace_macros($o, array(
'$oidhtml' => $oidhtml,
'$invitations' => get_config('system','invitation_only'),