Browse Source

[svn r12914] uncommenting Display::display_introcution_section http://www.dokeos.com/forum/viewtopic.php?t=11271
The display is handled through a dokeos config setting.

Patrick Cool 17 years ago
parent
commit
b6e4ce871c
2 changed files with 3 additions and 9 deletions
  1. 2 2
      main/announcements/announcements.php
  2. 1 7
      main/exercice/exercice.php

+ 2 - 2
main/announcements/announcements.php

@@ -1,4 +1,4 @@
-<?php //$Id: announcements.php 12595 2007-06-14 09:55:46Z elixir_julian $
+<?php //$Id: announcements.php 12914 2007-08-31 16:14:07Z pcool $
 /*
 ==============================================================================
 	Dokeos - elearning and course management software
@@ -793,7 +793,7 @@ if($_REQUEST['publish_survey'])
 if ($_GET['origin'] !== 'learnpath')
 {
 	//api_display_tool_title($nameTools);
-	//Display::display_introduction_section(TOOL_ANNOUNCEMENT, $is_allowed);
+	Display::display_introduction_section(TOOL_ANNOUNCEMENT, $is_allowed);
 }
 
 /*

+ 1 - 7
main/exercice/exercice.php

@@ -304,13 +304,7 @@ event_access_tool(TOOL_QUIZ);
 include_once(api_get_path(LIBRARY_PATH).'statsUtils.lib.inc.php');
 
 
-/*
------------------------------------------------------------
-	Introduction section
-	(editable by course admins)
------------------------------------------------------------
-*/
-//Display::display_introduction_section(TOOL_QUIZ);
+Display::display_introduction_section(TOOL_QUIZ);
 
 
 // selects $limitExPage exercises at the same time