Browse Source

[svn r10230] bugfix
http://www.dokeos.com/forum/viewtopic.php?t=7733

Patrick Cool 18 years ago
parent
commit
dd55f197dd
3 changed files with 6 additions and 29 deletions
  1. 2 7
      main/blog/blog.php
  2. 2 17
      main/blog/blog_admin.php
  3. 2 5
      main/blog/blog_backup_may3_surbhi.php

+ 2 - 7
main/blog/blog.php

@@ -449,11 +449,6 @@ switch ($current_page)
 </table>
 
 <?php
-
-
-// The footer is displayed only if we are not in the learnpath
-if ($_GET['origin'] != 'learnpath')
-{
-	include ($includePath."/claro_init_footer.inc.php");
-}
+// Display the footer
+Display::display_footer();
 ?>

+ 2 - 17
main/blog/blog_admin.php

@@ -103,21 +103,6 @@ api_display_tool_title($nameTools);
 	echo "</table>";
 
 
-// The footer is displayed only if we are not in the learnpath
-if ($_GET['origin'] != 'learnpath') 
-{ 
-	include($includePath."/claro_init_footer.inc.php");
-}
-
-
-
-
-
-/*
-==============================================================================
-	FUNCTIONS
-============================================================================== 
-*/
-
-
+// Display the footer
+Display::display_footer();
 ?>

+ 2 - 5
main/blog/blog_backup_may3_surbhi.php

@@ -369,9 +369,6 @@ switch ($current_page)
 </table>
 
 <?php
-// The footer is displayed only if we are not in the learnpath
-if ($_GET['origin'] != 'learnpath') 
-{ 
-	include($includePath."/claro_init_footer.inc.php");
-}
+// Display the footer
+Display::display_footer();
 ?>