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