diff --git a/main/forum/download.php b/main/forum/download.php index e1dcb8afee..0610e5f50d 100755 --- a/main/forum/download.php +++ b/main/forum/download.php @@ -1,29 +1,25 @@ - @@ -86,14 +79,10 @@ $htmlHeadXtra[] = ''; /* -============================================================================== MAIN DISPLAY SECTION -============================================================================== */ /* ------------------------------------------------------------ Retrieving forum and forum categorie information ------------------------------------------------------------ */ // we are getting all the information about the current forum and forum category. // note pcool: I tried to use only one sql statement (and function) for this @@ -103,9 +92,7 @@ $current_forum=get_forum_information($_GET['forum']); // note: this has to be va $current_forum_category=get_forumcategory_information($current_forum['forum_category']); $current_post=get_post_information($_GET['post']); /* ------------------------------------------------------------ Header and Breadcrumbs ------------------------------------------------------------ */ if (isset($_SESSION['gradebook'])){ $gradebook= $_SESSION['gradebook']; @@ -136,9 +123,7 @@ if (!empty($_SESSION['toolgroup'])) { $interbreadcrumb[]=array("url" => "javascript: void (0);","name" => get_lang('EditPost')); } /* ------------------------------------------------------------ Resource Linker ------------------------------------------------------------ */ if (isset($_POST['add_resources']) AND $_POST['add_resources']==get_lang('Resources')) { $_SESSION['formelements']=$_POST; @@ -148,9 +133,7 @@ if (isset($_POST['add_resources']) AND $_POST['add_resources']==get_lang('Resour } $table_link = Database :: get_main_table(TABLE_MAIN_GRADEBOOK_LINK); /* ------------------------------------------------------------ Header ------------------------------------------------------------ */ //are we in a lp ? $origin = ''; @@ -166,9 +149,7 @@ if ($origin=='learnpath') { } //echo ''; /* ------------------------------------------------------------ Is the user allowed here? ------------------------------------------------------------ */ // the user is not allowed here if // 1. the forumcategory, forum or thread is invisible (visibility==0) @@ -214,9 +195,7 @@ if ($origin!='learnpath') { } /* ------------------------------------------------------------ Display Forum Category and the Forum information ------------------------------------------------------------ */ echo "