]> git.mjollnir.org Git - moodle.git/commitdiff
blocks MDL-19010 Fixed a typo to make the title a string
authormoodler <moodler>
Fri, 31 Jul 2009 04:18:57 +0000 (04:18 +0000)
committermoodler <moodler>
Fri, 31 Jul 2009 04:18:57 +0000 (04:18 +0000)
blocks/rss_client/edit_form.php

index 2a605eb066729f06dd0a4527beb13920fd0d8541..23980d5f4e91fd7dd5c97e05ccb165dc67176377 100644 (file)
@@ -33,7 +33,7 @@ class block_rss_client_edit_form extends block_edit_form {
     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'));
@@ -68,7 +68,7 @@ class block_rss_client_edit_form extends block_edit_form {
                     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'));
@@ -77,4 +77,4 @@ class block_rss_client_edit_form extends block_edit_form {
         $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
+}