footer.inc.php 1.8 KB

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