admin.php 570 B

123456789101112131415161718192021
  1. <?php
  2. /* For license terms, see /license.txt */
  3. $cidReset = true;
  4. require_once __DIR__.'/../../main/inc/global.inc.php';
  5. api_protect_admin_script();
  6. $plugin = ImsLtiPlugin::create();
  7. $em = Database::getManager();
  8. $tools = $em->getRepository('ChamiloPluginBundle:ImsLti\ImsLtiTool')->findAll();
  9. $template = new Template($plugin->get_title());
  10. $template->assign('tools', $tools);
  11. $content = $template->fetch('ims_lti/view/admin.tpl');
  12. $template->assign('header', $plugin->get_title());
  13. $template->assign('content', $content);
  14. $template->display_one_col_template();