blob: 53bac23ae1f3bda9a04473f0d3cf6f5d2814e3df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?php
/**
* ownCloud - Persona plugin
*
* @author Victor Dubiniuk
* @copyright 2012-2013 Victor Dubiniuk victor.dubiniuk@gmail.com
*
* This file is licensed under the Affero General Public License version 3 or
* later.
*/
namespace OCA\User_persona;
\OCP\User::checkAdminUser();
\OCP\Util::addScript(App::APP_ID, 'settings');
$tmpl = new \OCP\Template(App::APP_ID, 'settings');
$tmpl->assign('allPolicies', Policy::getAllPolicies());
$tmpl->assign('currentPolicy', Policy::getSystemPolicy());
return $tmpl->fetchPage();
|