advise.toolbox.inc

  1. 7.x modules/advise/advise.toolbox.inc
  2. 6.x modules/advise/advise.toolbox.inc
  3. 4.x modules/advise/advise.toolbox.inc
  4. 5.x modules/advise/advise.toolbox.inc

File

modules/advise/advise.toolbox.inc
View source
  1. <?php
  2. /**
  3. * This file contains functions which related only to the Advise module's "Administrator's Toolbox",
  4. * meant to be displayed in a popup window.
  5. *
  6. * This file is loaded from the advise module's hook_menu as it's needed.
  7. */
  8. function advise_display_popup_toolbox_transfers() {
  9. global $screen, $current_student_id;
  10. advise_init_screen();
  11. fp_add_js(fp_get_module_path("advise") . "/js/advise.js");
  12. $rtn = "";
  13. $rtn .= $screen->display_toolbox_transfers();
  14. return $rtn;
  15. }
  16. function advise_display_popup_toolbox_substitutions() {
  17. global $screen, $current_student_id;
  18. advise_init_screen();
  19. fp_add_js(fp_get_module_path("advise") . "/js/advise.js");
  20. $rtn = "";
  21. $rtn .= $screen->display_toolbox_substitutions();
  22. return $rtn;
  23. }
  24. function advise_display_popup_toolbox_moved() {
  25. global $screen, $current_student_id;
  26. advise_init_screen();
  27. fp_add_js(fp_get_module_path("advise") . "/js/advise.js");
  28. $rtn = "";
  29. $rtn .= $screen->display_toolbox_moved();
  30. return $rtn;
  31. }
  32. function advise_display_popup_toolbox_courses() {
  33. global $screen, $current_student_id;
  34. advise_init_screen();
  35. fp_add_js(fp_get_module_path("advise") . "/js/advise.js");
  36. $rtn = "";
  37. $rtn .= $screen->display_toolbox_courses();
  38. return $rtn;
  39. }

Functions