footer.inc.php 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <?php
  2. /**
  3. ==============================================================================
  4. * This script displays the footer that is below (almost)
  5. * every Dokeos web page.
  6. *
  7. * @package dokeos.include
  8. ==============================================================================
  9. */
  10. /**** display of tool_navigation_menu according to admin setting *****/
  11. if(api_get_setting('show_navigation_menu') != 'false')
  12. {
  13. $course_id = api_get_course_id();
  14. if ( !empty($course_id) && ($course_id != -1) )
  15. {
  16. if( api_get_setting('show_navigation_menu') != 'icons')
  17. {
  18. echo '</div> <!-- end #center -->';
  19. echo '</div> <!-- end #centerwrap -->';
  20. }
  21. require_once(api_get_path(INCLUDE_PATH)."tool_navigation_menu.inc.php");
  22. show_navigation_menu();
  23. }
  24. }
  25. /***********************************************************************/
  26. ?>
  27. <div class="clear">&nbsp;</div> <!-- 'clearing' div to make sure that footer stays below the main and right column sections -->
  28. </div> <!-- end of #main" started at the end of banner.inc.php -->
  29. <div id="footer"> <!-- start of #footer section -->
  30. <div id="bottom_corner"></div>
  31. <div class="copyright">
  32. <?php global $_configuration; ?>
  33. <?php echo get_lang("Platform") ?> <a href="http://www.dokeos.com">Dokeos <?php echo $_configuration['dokeos_version']; ?></a> &copy; <?php echo date('Y'); ?>
  34. </div>
  35. <?php
  36. /*
  37. -----------------------------------------------------------------------------
  38. Plugins for footer section
  39. -----------------------------------------------------------------------------
  40. */
  41. api_plugin('footer');
  42. ?>
  43. <?php
  44. if (get_setting('show_administrator_data')=="true")
  45. {
  46. echo get_lang("Manager") ?> : <?php echo Display::encrypted_mailto_link(get_setting('emailAdministrator'),get_setting('administratorName')." ".get_setting('administratorSurname'));
  47. }
  48. ?>&nbsp;
  49. </div> <!-- end of #footer -->
  50. </div> <!-- end of #outerframe opened in header.inc.php -->
  51. </body>
  52. </html>