2011-08-23 03:40:13 +04:00
|
|
|
<?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-09-04 13:17:02 +04:00
|
|
|
require_once '../lib/base.php';
|
2011-09-18 23:31:56 +04:00
|
|
|
OC_Util::checkLoggedIn();
|
2011-08-23 03:40:13 +04:00
|
|
|
|
2011-10-02 17:51:24 +04:00
|
|
|
OC_Util::addStyle( 'settings', 'settings' );
|
|
|
|
OC_App::setActiveNavigationEntry( 'settings' );
|
2011-08-23 03:40:13 +04:00
|
|
|
|
|
|
|
$tmpl = new OC_Template( 'settings', 'settings', 'user');
|
|
|
|
$forms=OC_App::getForms('settings');
|
2012-09-04 13:17:02 +04:00
|
|
|
$tmpl->assign('forms', array());
|
2011-08-23 03:40:13 +04:00
|
|
|
foreach($forms as $form){
|
2012-09-04 13:17:02 +04:00
|
|
|
$tmpl->append('forms', $form);
|
2011-08-23 03:40:13 +04:00
|
|
|
}
|
2011-09-18 23:31:56 +04:00
|
|
|
$tmpl->printPage();
|