footer.inc.php 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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 class="copyright">
  31. <?php global $_configuration; ?>
  32. <?php echo get_lang("Platform") ?> <a href="http://www.dokeos.com">Dokeos <?php echo $_configuration['dokeos_version']; ?></a> &copy; <?php echo date('Y'); ?>
  33. </div>
  34. <?php
  35. /*
  36. -----------------------------------------------------------------------------
  37. Plugins for footer section
  38. -----------------------------------------------------------------------------
  39. */
  40. api_plugin('footer');
  41. ?>
  42. <?php
  43. if (get_setting('show_administrator_data')=="true")
  44. {
  45. echo get_lang("Manager") ?> : <?php echo Display::encrypted_mailto_link(get_setting('emailAdministrator'),get_setting('administratorName')." ".get_setting('administratorSurname'));
  46. }
  47. ?>&nbsp;
  48. </div> <!-- end of #footer -->
  49. </div> <!-- end of #outerframe opened in header.inc.php -->
  50. </body>
  51. </html>