summaryrefslogtreecommitdiffstats
path: root/settings/index.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2010-08-12 17:30:20 +0200
committerRobin Appelman <icewind1991@gmail.com>2010-08-12 17:30:20 +0200
commit1e4432c5d5b5cd26247e9fec6a82f3cef800fd68 (patch)
treed0ee7618d70c4d89340ab731f8cad3f08cf946ef /settings/index.php
parent08454ce463a725facb86479e3aba7a337b8f42f2 (diff)
downloadnextcloud-server-1e4432c5d5b5cd26247e9fec6a82f3cef800fd68.tar.gz
nextcloud-server-1e4432c5d5b5cd26247e9fec6a82f3cef800fd68.zip
new settings page that allows plugins to integrate their own settings dialogs more with the existing ones
Diffstat (limited to 'settings/index.php')
-rw-r--r--settings/index.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/settings/index.php b/settings/index.php
index d5e7451d08b..582e7601e51 100644
--- a/settings/index.php
+++ b/settings/index.php
@@ -30,8 +30,13 @@ OC_UTIL::showheader();
$FIRSTRUN=false;
+OC_CONFIG::addForm('System Settings','/inc/templates/adminform.php');
+if(OC_USER::ingroup($_SESSION['username'],'admin')){
+ OC_CONFIG::addForm('User Settings','/inc/templates/configform.php');
+}
+
echo('<div class="center">');
-OC_CONFIG::showconfigform();
+OC_CONFIG::showSettings();
echo('</div>');