Blame view

sources/settings/settings.php 544 Bytes
03e52840d   Kload   Init
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  <?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());
  foreach($forms as $form) {
  	$tmpl->append('forms', $form);
  }
  $tmpl->printPage();