protected function specific_definition($mform) {
global $CFG, $DB, $USER;
- // Fields for editing HTML block title and contents.
+ // Fields for editing block contents.
$mform->addElement('header', 'configheader', get_string('blocksettings', 'block'));
$mform->addElement('selectyesno', 'config_display_description', get_string('displaydescriptionlabel', 'block_rss_client'));
get_string('feedsaddedit', 'block_rss_client') . '</a>');
}
- $mform->addElement('selectyesno', 'config_title', get_string('uploadlabel'));
+ $mform->addElement('text', 'config_title', get_string('uploadlabel'));
$mform->setType('config_title', PARAM_NOTAGS);
$mform->addElement('selectyesno', 'config_block_rss_client_show_channel_link', get_string('clientshowchannellinklabel', 'block_rss_client'));
$mform->addElement('selectyesno', 'config_block_rss_client_show_channel_image', get_string('clientshowimagelabel', 'block_rss_client'));
$mform->setDefault('config_block_rss_client_show_channel_image', 0);
}
-}
\ No newline at end of file
+}