diff options
author | Michael Meer <michael@meer.name> | 2014-01-20 12:12:40 +0100 |
---|---|---|
committer | Michael Meer <michael@meer.name> | 2014-01-20 12:12:40 +0100 |
commit | a13593590b5e5488554225ba9ff9bced24cffd0c (patch) | |
tree | 97d117814d03eefa55ef2150d00d0099eb3be633 /mod | |
parent | 1fa8546d467bcd541858967aaec33d8779e4df99 (diff) | |
download | volse-hubzilla-a13593590b5e5488554225ba9ff9bced24cffd0c.tar.gz volse-hubzilla-a13593590b5e5488554225ba9ff9bced24cffd0c.tar.bz2 volse-hubzilla-a13593590b5e5488554225ba9ff9bced24cffd0c.zip |
added buttons to perform later hubloc actions
Diffstat (limited to 'mod')
-rw-r--r-- | mod/admin.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mod/admin.php b/mod/admin.php index 91dd0b56e..984e12777 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -456,7 +456,8 @@ function admin_page_site(&$a) { } function admin_page_hubloc_post(&$a){ - check_form_security_token_redirectOnErr('/admin/hubloc', 'hubloc'); + check_form_security_token_redirectOnErr('/admin/hubloc', 'admin_hubloc'); + goaway($a->get_baseurl(true) . '/admin/hubloc' ); return; } @@ -479,7 +480,8 @@ function admin_page_hubloc(&$a) { '$queues' => $queues, //'$accounts' => $accounts, /*$accounts is empty here*/ '$pending' => Array( t('Pending registrations'), $pending), - '$plugins' => Array( t('Active plugins'), $a->plugins ) + '$plugins' => Array( t('Active plugins'), $a->plugins ), + '$form_security_token' => get_form_security_token("admin_hubloc") )); return $o; } |