Skip to content
Snippets Groups Projects
Select Git revision
  • 7ec83d5bcccb402cc9f745977b84a1196801866a
  • master default protected
  • hsh-v4.4-r1
  • hsh_3.10
4 results

settings.php

  • settings.php 1.55 KiB
    <?php
    // This file is part of Moodle - http://moodle.org/
    //
    // Moodle is free software: you can redistribute it and/or modify
    // it under the terms of the GNU General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // Moodle is distributed in the hope that it will be useful,
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    // GNU General Public License for more details.
    //
    // You should have received a copy of the GNU General Public License
    // along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
    
    /**
     * Settings for opencast filter.
     *
     * @package    filter_opencast
     * @copyright  2017 Tamara Gunkel
     * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
     */
    defined('MOODLE_INTERNAL') || die;
    
    if ($ADMIN->fulltree) {
        $settings->add(new admin_setting_configtext('filter_opencast/consumerkey',
            get_string('setting_consumerkey', 'filter_opencast'),
            get_string('setting_consumerkey_desc', 'filter_opencast'), ''));
        $settings->add(new admin_setting_configpasswordunmask('filter_opencast/consumersecret',
            get_string('setting_consumersecret', 'filter_opencast'),
            get_string('setting_consumersecret_desc', 'filter_opencast'), ''));
        $settings->add(new admin_setting_configtext('filter_opencast/engageurl',
            get_string('setting_engageurl', 'filter_opencast'),
            get_string('setting_engageurl_desc', 'filter_opencast'), ''));
    
    }