Minor - flint fixes

pull/2821/head
Julio Montoya 7 years ago
parent c245b03308
commit ad889d1654
  1. 6
      main/install/configuration.dist.php
  2. 4
      main/template/default/forum/list.tpl

@ -1104,12 +1104,12 @@ VALUES (2, 13, 'session_courses_read_only_mode', 'Lock Course In Session', 1, 1,
// Disable course report graphs
//$_configuration['hide_course_report_graph'] = false;
// Visually "fold" forum categories by default
// $_configuration['forum_fold_categories'] = false;
// ------ Custom DB changes (keep this at the end)
// Add user activation by confirmation email
// This option prevents the new user to login in the platform if your account is not confirmed via email
// You need add a new option called "confirmation" to the registration settings
//INSERT INTO settings_options (variable, value, display_text) VALUES ('allow_registration', 'confirmation', 'MailConfirmation');
// ------ (End) Custom DB changes
// Visually "fold" forum categories by default
// $_configuration['forum_fold_categories'] = false;

@ -2,13 +2,14 @@
{% block content %}
{{ form_content }}
{% set configuration = 'forum_fold_categories'|api_get_configuration_value %}
{% if(configuration == true) %}
{% if (configuration == true) %}
{% set collapsed = '' %}
{% set in_collapse = 'in' %}
{% else %}
{% set collapsed = 'collapsed' %}
{% set in_collapse = '' %}
{% endif %}
{% if data is not empty %}
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
{% for item in data %}
@ -24,7 +25,6 @@
</a>
<a href="{{ item.url }}" title="{{ item.title }}">{{ item.title }}{{ item.icon_session }}</a>
</h4>
</div>
<div id="collapse_{{ item.id }}" class="panel-collapse collapse {{ in_collapse }}" role="tabpanel" aria-labelledby="heading_{{ item.id }}">
<div class="panel-body">

Loading…
Cancel
Save