diff options
author | Michael Meer <michael@meer.name> | 2013-09-17 10:11:22 +0200 |
---|---|---|
committer | Michael Meer <michael@meer.name> | 2013-09-17 10:11:22 +0200 |
commit | d330df05f221e96b92d2bd17c7336152b7d8c128 (patch) | |
tree | dca26d3fa3580474bea0b93505ffa44477c35601 /mod/admin.php | |
parent | 4335ef68d6e94d7e2ea8d8865c2c5bb0a60b483f (diff) | |
download | volse-hubzilla-d330df05f221e96b92d2bd17c7336152b7d8c128.tar.gz volse-hubzilla-d330df05f221e96b92d2bd17c7336152b7d8c128.tar.bz2 volse-hubzilla-d330df05f221e96b92d2bd17c7336152b7d8c128.zip |
extend admin page for hubloc / server key management
Diffstat (limited to 'mod/admin.php')
-rw-r--r-- | mod/admin.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mod/admin.php b/mod/admin.php index fb1a9ab53..455897f6f 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -54,6 +54,9 @@ function admin_post(&$a){ case 'logs': admin_page_logs_post($a); break; + case 'hubloc': + admin_page_hubloc_post($a); + break; case 'dbsync': admin_page_dbsync_post($a); break; @@ -84,6 +87,7 @@ function admin_content(&$a) { 'users' => Array($a->get_baseurl(true)."/admin/users/", t("Users") , "users"), 'plugins'=> Array($a->get_baseurl(true)."/admin/plugins/", t("Plugins") , "plugins"), 'themes' => Array($a->get_baseurl(true)."/admin/themes/", t("Themes") , "themes"), + 'hubloc' => Array($a->get_baseurl(true)."/admin/hubloc/", t("Server") , "server"), 'dbsync' => Array($a->get_baseurl(true)."/admin/dbsync/", t('DB updates'), "dbsync") ); @@ -132,6 +136,9 @@ function admin_content(&$a) { case 'themes': $o = admin_page_themes($a); break; + case 'hubloc': + $o = admin_page_hubloc($a); + break; case 'logs': $o = admin_page_logs($a); break; @@ -443,6 +450,15 @@ function admin_page_site(&$a) { )); } +function admin_page_hubloc_post(&$a){ + check_form_security_token_redirectOnErr('/admin/hubloc', 'hubloc'); + return; +} + +function admin_page_hubloc(&$a) { + $o = ''; + return $o; +} function admin_page_dbsync(&$a) { |