settings.php 547 B

1234567891011121314151617
  1. <?php
  2. /**
  3. * Copyright (c) 2011 Robin Appelman <icewind@owncloud.com>
  4. * This file is licensed under the Affero General Public License version 3 or
  5. * later.
  6. * See the COPYING-README file.
  7. */
  8. $tmpl = new OC_Template( 'files_encryption', 'settings');
  9. $blackList=explode(',',OC_Appconfig::getValue('files_encryption','type_blacklist','jpg,png,jpeg,avi,mpg,mpeg,mkv,mp3,oga,ogv,ogg'));
  10. $tmpl->assign('blacklist',$blackList);
  11. OC_Util::addScript('files_encryption','settings');
  12. OC_Util::addScript('core','multiselect');
  13. return $tmpl->fetchPage();