plugin.php 478 B

12345678910111213141516171819202122232425
  1. <?php
  2. /* For licensing terms, see /license.txt */
  3. /**
  4. * StudentFollowUpPlugin
  5. * @package chamilo.plugin
  6. */
  7. $plugin = StudentFollowUpPlugin::create();
  8. $plugin_info = $plugin->get_info();
  9. $form = new FormValidator('htaccess');
  10. //$form->addText('text', 'text', ['rows' => '15']);
  11. $form->addButtonSave(get_lang('Save'));
  12. if ($form->validate()) {
  13. }
  14. $plugin_info['templates'] = array('view/post.html.twig', 'view/posts.html.twig');
  15. $plugin_info['settings_form'] = $form;