diff --git a/main/forum/editpost.php b/main/forum/editpost.php index 91e05179a0..5e47368a2f 100644 --- a/main/forum/editpost.php +++ b/main/forum/editpost.php @@ -185,14 +185,13 @@ if ($origin != 'learnpath') { /* Display Forum Category and the Forum information */ -echo "\n"; +echo "
"; // The forum category echo "\n"; -echo "\n"; -echo "\t\n"; +echo ""; +echo ""; echo '
"; echo ''.prepare4display($current_forum['forum_title']).'
'; echo ''.prepare4display($current_forum['forum_comment']).''; -echo "
'; // The form for the reply diff --git a/main/forum/forumfunction.inc.php b/main/forum/forumfunction.inc.php index 36d8fed169..f4887482d0 100644 --- a/main/forum/forumfunction.inc.php +++ b/main/forum/forumfunction.inc.php @@ -210,14 +210,14 @@ function show_add_forum_form($inputvalues = array(), $lp_id) { $form->addElement('select', 'forum_category', get_lang('InForumCategory'), $forum_categories_titles); $form->applyFilter('forum_category', 'html_filter'); - if ($_course['visibility'] == COURSE_VISIBILITY_OPEN_WORLD) { + if ($_course['visibility'] == COURSE_VISIBILITY_OPEN_WORLD) { // This is for horizontal $group = array(); $group[] =$form->createElement('radio', 'allow_anonymous', null, get_lang('Yes'), 1); $group[] =$form->createElement('radio', 'allow_anonymous', null, get_lang('No'), 0); $form->addGroup($group, 'allow_anonymous_group', get_lang('AllowAnonymousPosts'), ' '); } - + $form->addElement('advanced_settings', ' '.Display::return_icon('div_show.gif',get_lang('Show'),array('style'=>'vertical-align:middle')).' '.get_lang('AdvancedParameters').'',''); $form->addElement('html', '