nextcloud/settings/settings.php

22 lines
579 B
PHP
Raw Normal View History

<?php
/**
* Copyright (c) 2011, Robin Appelman <icewind1991@gmail.com>
* This file is licensed under the Affero General Public License version 3 or later.
* See the COPYING-README file.
*/
2012-10-16 19:57:07 +04:00
require_once '../lib/base.php';
OC_Util::checkLoggedIn();
2012-10-16 19:57:07 +04:00
OC_Util::verifyUser();
OC_Util::addStyle( 'settings', 'settings' );
OC_App::setActiveNavigationEntry( 'settings' );
$tmpl = new OC_Template( 'settings', 'settings', 'user');
$forms=OC_App::getForms('settings');
2012-10-16 19:57:07 +04:00
$tmpl->assign('forms', array());
foreach($forms as $form) {
$tmpl->append('forms', $form);
}
$tmpl->printPage();