AnonSec Team
Server IP : 103.11.96.170  /  Your IP : 18.216.156.171
Web Server : Microsoft-IIS/10.0
System : Windows NT WIN-F6SLGVICLOP 10.0 build 17763 (Windows Server 2016) AMD64
User : elibrary.unsap.ac.id ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF
Directory (0777) :  D:/localhost/lms/blocks/cocoon_cf_rating/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : D:/localhost/lms/blocks/cocoon_cf_rating/edit_form.php
<?php

class block_cocoon_cf_rating_edit_form extends block_edit_form
{
    protected function specific_definition($mform)
    {
      global $CFG;
        // Section header title according to language file.
        $mform->addElement('header', 'config_header', get_string('blocksettings', 'block'));

        // Title
        $mform->addElement('text', 'config_title', get_string('config_title', 'theme_edumy'));
        $mform->setDefault('config_title', 'Category Filter');
        $mform->setType('config_title', PARAM_RAW);

        $options = array(
            '0' => 'Never',
            '1' => 'While viewing parent category',
            '2' => 'Always',
        );
        $select = $mform->addElement('select', 'config_child_categories', get_string('config_child_categories', 'theme_edumy'), $options);
        $select->setSelected('0');


        include($CFG->dirroot . '/theme/edumy/ccn/block_handler/edit.php');

    }

}

AnonSec - 2021