diff --git a/main/forum/editpost.php b/main/forum/editpost.php
index 7f29a94f2d..a33d86bdfc 100644
--- a/main/forum/editpost.php
+++ b/main/forum/editpost.php
@@ -114,11 +114,13 @@ $htmlHeadXtra[] = '';
diff --git a/main/forum/forumfunction.inc.php b/main/forum/forumfunction.inc.php
index 782837d5df..80cad7818f 100644
--- a/main/forum/forumfunction.inc.php
+++ b/main/forum/forumfunction.inc.php
@@ -237,7 +237,7 @@ function show_add_forum_form($inputvalues=array()) {
document.getElementById('plus').innerHTML='
".get_lang('AddAnAttachment')."';
}*/
- $form->addElement('static','Group','','
');
$group='';
@@ -1865,7 +1865,7 @@ function show_add_post_form($action='', $id='', $form_values='') {
$form->addElement('text', 'post_title', get_lang('Title'),'class="input_titles"');
$form->addElement('html_editor', 'post_text', get_lang('Text'));
- $form->addElement('static','Group','','
'.get_lang('AdvancedParameters').'');
+ $form->addElement('static','Group','','
'.get_lang('AdvancedParameters').'');
$form->addElement('html','
');
if( (api_is_course_admin() || api_is_course_coach() || api_is_course_tutor()) && !($my_thread) ){
// thread qualify
@@ -2287,7 +2287,7 @@ function show_edit_post_form($current_post, $current_thread, $current_forum, $fo
$form->addElement('text', 'post_title', get_lang('Title'),'class="input_titles"');
$form->addElement('html_editor', 'post_text', get_lang('Text'));
- $form->addElement('static','Group','','
'.get_lang('AdvancedParameters').'');
+ $form->addElement('static','Group','','
'.get_lang('AdvancedParameters').'');
$form->addElement('html','
');
if (!isset($_GET['edit'])) {
diff --git a/main/forum/index.php b/main/forum/index.php
index df9879388d..26084900ba 100644
--- a/main/forum/index.php
+++ b/main/forum/index.php
@@ -60,10 +60,10 @@ $htmlHeadXtra[] = '';
diff --git a/main/forum/newthread.php b/main/forum/newthread.php
index 5a6f3ec621..32c82ef4ef 100644
--- a/main/forum/newthread.php
+++ b/main/forum/newthread.php
@@ -88,18 +88,35 @@ $origin = '';
if(isset($_GET['origin'])) {
$origin = Security::remove_XSS($_GET['origin']);
}
+/*
+ *
+ * if(document.getElementById(\'id_qualify\').style.display == \'none\') {
+ document.getElementById(\'id_qualify\').style.display = \'block\';
+ document.getElementById(\'img_plus_and_minus\').innerHTML=\'

'.get_lang('AdvancedParameters').'\';
+
+ } else {
+
+ document.getElementById(\'id_qualify\').style.display = \'none\';
+ document.getElementById(\'img_plus_and_minus\').innerHTML=\'

'.get_lang('AdvancedParameters').'\';
+ }
+ *
+ *
+ *
+ * */
// javascript
$htmlHeadXtra[] = '';
/*
diff --git a/main/forum/reply.php b/main/forum/reply.php
index ffc65549bc..608219db15 100644
--- a/main/forum/reply.php
+++ b/main/forum/reply.php
@@ -86,16 +86,19 @@ if(isset($_GET['origin'])) {
require 'forumconfig.inc.php';
require_once 'forumfunction.inc.php';
+
// javascript
$htmlHeadXtra[] = '';
diff --git a/main/forum/viewforumcategory.php b/main/forum/viewforumcategory.php
index aba10e0f43..cc420e4b0e 100644
--- a/main/forum/viewforumcategory.php
+++ b/main/forum/viewforumcategory.php
@@ -59,10 +59,10 @@ $htmlHeadXtra[] = '';