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 // Disable course report graphs
//$_configuration['hide_course_report_graph'] = false; //$_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) // ------ Custom DB changes (keep this at the end)
// Add user activation by confirmation email // 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 // 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 // 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'); //INSERT INTO settings_options (variable, value, display_text) VALUES ('allow_registration', 'confirmation', 'MailConfirmation');
// ------ (End) Custom DB changes // ------ (End) Custom DB changes
// Visually "fold" forum categories by default
// $_configuration['forum_fold_categories'] = false;

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

Loading…
Cancel
Save