summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/settings-personal.php
blob: 6fe4ea6d564c1b84ed64901941155aaf77c32ccf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
/**
 * Copyright (c) 2013 Sam Tuke <samtuke@owncloud.com>
 * This file is licensed under the Affero General Public License version 3 or
 * later.
 * See the COPYING-README file.
 */

$tmpl = new OCP\Template( 'files_encryption', 'settings-personal');

$blackList = explode( ',', \OCP\Config::getAppValue( 'files_encryption', 'type_blacklist', 'jpg,png,jpeg,avi,mpg,mpeg,mkv,mp3,oga,ogv,ogg' ) );

$tmpl->assign( 'blacklist', $blackList );

OCP\Util::addscript('files_encryption','settings-personal');

return $tmpl->fetchPage();

return null;