admin.php 687 B

1234567891011121314151617181920212223
  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. $interbreadcrumb[] = ['url' => api_get_path(WEB_CODE_PATH).'admin/index.php', 'name' => get_lang('PlatformAdmin')];
  10. $template = new Template($plugin->get_title());
  11. $template->assign('tools', $tools);
  12. $content = $template->fetch('ims_lti/view/admin.tpl');
  13. $template->assign('header', $plugin->get_title());
  14. $template->assign('content', $content);
  15. $template->display_one_col_template();