2012-08-02 12:39:30 +04:00
|
|
|
<?php
|
2012-08-02 15:55:23 +04:00
|
|
|
/**
|
2013-02-05 21:06:15 +04:00
|
|
|
* Copyright (c) 2013 Sam Tuke <samtuke@owncloud.com>
|
2012-08-02 15:55:23 +04:00
|
|
|
* This file is licensed under the Affero General Public License version 3 or
|
|
|
|
* later.
|
|
|
|
* See the COPYING-README file.
|
|
|
|
*/
|
2012-08-02 12:39:30 +04:00
|
|
|
|
2013-02-05 21:06:15 +04:00
|
|
|
$tmpl = new OCP\Template( 'files_encryption', 'settings-personal');
|
2012-08-02 12:39:30 +04:00
|
|
|
|
2013-02-22 19:08:08 +04:00
|
|
|
$blackList = explode( ',', \OCP\Config::getAppValue( 'files_encryption', 'type_blacklist', '' ) );
|
2012-08-02 12:39:30 +04:00
|
|
|
|
2013-02-05 21:06:15 +04:00
|
|
|
$tmpl->assign( 'blacklist', $blackList );
|
2012-08-02 12:39:30 +04:00
|
|
|
|
2013-02-05 21:06:15 +04:00
|
|
|
OCP\Util::addscript('files_encryption','settings-personal');
|
|
|
|
|
|
|
|
return $tmpl->fetchPage();
|
2012-08-02 12:39:30 +04:00
|
|
|
|
|
|
|
return null;
|