function z__stats_draw_student_cwid_form
Search API
7.x stats.module | z__stats_draw_student_cwid_form($path, $student_cwid = "") |
6.x stats.module | z__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
File
- modules/
stats/ stats.module, line 750 - This module displays statistics and reports for FlightPath
Code
function z__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>
<span class='form-element element-type-textfield'>
<input type='textfield' value='$student_cwid' name='student_cwid'>
</span>
<span class='buttons form-element element-type-submit'>
<input type='submit' value='" . t("Submit") . "'>
</span>
</form> <hr>
";
return $rtn;
}