Plugins) * @package chamilo.plugin * @author Julio Montoya */ /* Plugin config */ //the plugin title $plugin_info['title'] = 'Text'; //the comments that go with the plugin $plugin_info['comment'] = "Displays a text message"; //the plugin version $plugin_info['version'] = '1.0'; //the plugin author $plugin_info['author'] = 'Julio Montoya'; /* Plugin optional settings */ $form = new FormValidator('text_form'); $form->addTextarea('content', get_lang('Content')); $form->addButtonSave(get_lang('Save'), 'submit_button'); $content = api_get_plugin_setting('text', 'content'); $form->setDefaults(array('content' => $content)); $plugin_info['settings_form'] = $form;