function stats_draw_student_cwid_form

4.x stats.module stats_draw_student_cwid_form($path, $student_cwid = "")
5.x stats.module stats_draw_student_cwid_form($path, $student_cwid = "")

Draws a simple form for entering a student's CWID, used by other reports.

Parameters

unknown_type $path:

unknown_type $student_cwid:

Return value

unknown

1 call to stats_draw_student_cwid_form()
stats_report_student_course_list in modules/stats/stats.module
This report shows a list of all of a student's courses which FlightPath is aware of.

File

modules/stats/stats.module, line 297
This module displays statistics and reports for FlightPath

Code

function stats_draw_student_cwid_form($path, $student_cwid = "") {
  $rtn = "";

  $rtn .= "<form action='" . fp_url($path) . "' method='GET' >
            " . t("Enter a student's CWID to see their courses") . "
            <br>
            <input type='textfield' value='$student_cwid' name='student_cwid'>
            <br>
            <input type='submit' value='" . t("Submit") . "'>
          </form> <hr>
          ";


  return $rtn;
}