list.php 517 B

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