fix userportal - refs #2681

pull/2818/head
Alex Aragón 6 years ago
parent 0e4856f927
commit 59b62011af
  1. 2
      main/inc/lib/template.lib.php
  2. 1
      src/ThemeBundle/Resources/views/Index/userportal.html.twig
  3. 3
      user_portal.php

@ -485,7 +485,7 @@ class Template
'software_name' => api_get_configuration_value('software_name'),
'system_version' => api_get_configuration_value('system_version'),
'site_name' => api_get_setting('siteName'),
'institution' => api_get_setting('Institution'),
'institu_tion' => api_get_setting('Institution'),
'date' => api_format_date('now', DATE_FORMAT_LONG),
'timezone' => api_get_timezone(),
'gamification_mode' => api_get_setting('gamification_mode'),

@ -1,4 +1,3 @@
{% extends '@ChamiloTheme/Layout/base-layout.html.twig' %}
{% block page_content %}
{% autoescape false %}

@ -280,4 +280,5 @@ Session::erase('session_id');
Session::erase('studentview');
api_remove_in_gradebook();
$controller->tpl->displayTemplate('@ChamiloTheme/Index/userportal.html.twig');
$controller->tpl->assign('content',$controller->tpl->fetch('@ChamiloTheme/Index/userportal.html.twig'));
$controller->tpl->display_one_col_template();

Loading…
Cancel
Save