plugin.php 471 B

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