server/settings/settings.php

21 строка
544 B
PHP
Исходник Обычный вид История

<?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.
*/
OC_Util::checkLoggedIn();
OC_App::loadApps();
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());
2012-09-07 17:22:01 +04:00
foreach($forms as $form) {
$tmpl->append('forms', $form);
}
$tmpl->printPage();