Browse Source

[svn r11241] Change the call to display_normal_message by adding a parameter for HTML tags

Julian Prud'homme 18 years ago
parent
commit
97b03b593f

+ 2 - 2
main/course_description/index.php

@@ -1,4 +1,4 @@
-<?php // $Id: index.php 10986 2007-01-29 23:57:37Z pvandermaesen $
+<?php // $Id: index.php 11241 2007-02-26 16:09:15Z elixir_julian $
 /*
 ==============================================================================
 	Dokeos - elearning and course management software
@@ -264,7 +264,7 @@ if ($show_description_list)
 	if (api_is_allowed_to_edit())
 	{
 		echo '<div style="position: relative;width: 500px;">';
-		Display::display_normal_message(get_lang('CourseDescriptionIntro'));
+		Display::display_normal_message(get_lang('CourseDescriptionIntro'),false);
 		echo "</div>";
 		$categories = array ();
 		

+ 3 - 3
main/forum/forumfunction.inc.php

@@ -1593,7 +1593,7 @@ function store_thread($values)
 	session_unregister('addedresource');
 	session_unregister('addedresourceid');
 	
-	Display :: display_normal_message($message);
+	Display :: display_normal_message($message,false);
 }
 /**
 * This function displays the form that is used to add a post. This can be a new thread or a reply. 
@@ -1765,7 +1765,7 @@ function store_reply($values)
 	session_unregister('addedresource');
 	session_unregister('addedresourceid');	
 	
-	Display :: display_normal_message($message);
+	Display :: display_normal_message($message,false);
 }
 
 
@@ -1897,7 +1897,7 @@ function store_edit_post($values)
 	session_unregister('addedresource');
 	session_unregister('addedresourceid');
 	
-	Display :: display_normal_message($message);	
+	Display :: display_normal_message($message,false);	
 }
 
 

+ 1 - 1
main/newscorm/kevin_lp_add.php

@@ -172,7 +172,7 @@ echo '<table cellpadding="0" cellspacing="0" class="lp_build">';
 		echo '</td>';
 		echo '<td class="workspace">';
 
-			Display::display_normal_message(get_lang('AddLpIntro'));
+			Display::display_normal_message(get_lang('AddLpIntro'),false);
 			
 			echo '<div style="background:#F8F8F8; border:1px solid #999999; margin:15px auto; padding:10px; width:400px;">';