public function getRolesForCurrentUser() { $roles = array(); $roles[] = 'Everyone'; if (IWU_Auth::isStudent()) { $roles[] = 'All Students'; if (IWU_Auth::isMale()) { $roles[] = 'Male Students'; } if (IWU_Auth::isFemale()) { $roles[] = 'Female Students'; } $cohort = IWU_Auth::getCohort(); if ($cohort === 'Senior') { $roles[] = 'Seniors'; } elseif ($cohort === 'Junior') { $roles[] = 'Juniors'; } elseif ($cohort === 'Sophomore') { $roles[] = 'Sophomores'; } elseif ($cohort === 'First-Year') { $roles[] = 'First-Year Students'; } elseif ($cohort === 'Incoming First-Year') { $roles[] = 'First-Year Students'; // TODO: should this be its own target audience? } } if (IWU_Auth::isStaff() || IWU_Auth::isFaculty()) { $roles[] = 'All Faculty/Staff'; if (IWU_Auth::isExemptStaff()) { $roles[] = 'Staff - exempt'; } if (IWU_Auth::isNonExemptStaff()) { $roles[] = 'Staff - non-exempt'; } if (IWU_Auth::isFullTimeFaculty()) { $roles[] = 'Faculty - full-time'; } if (IWU_Auth::isPartTimeFaculty()) { $roles[] = 'Faculty - part-time'; } } if (IWU_Auth::isRetired()) { $roles[] = 'Retirees'; } if (IWU_Auth::isAffiliate()) { $roles[] = 'Affiliates'; } if (IWU_Auth::isOrg()) { $roles[] = 'Organizations'; } if (IWU_Auth::isAlum()) { $roles[] = 'Alumni'; } echo '<!-- roles:' . "\n"; var_dump($roles); echo '-->'; return $roles; }
<p><a href="https://php.iwu.edu/concern/">Student Concern Form</a></p> <p>Report your concern about a student. This report will be reviewed by the Dean of Students office and/or the Director of Academic Advising.</p> <p><a href="https://docs.google.com/a/iwu.edu/spreadsheet/viewform?usp=drive_web&formkey=dFJWd1ZQYXh1ajNjbjhpdGtLZ3JSb3c6MQ#gid=0">Bias Incident Report</a></p> <p>A Bias Incident is any activity against a person or property that is motivated by the offender's bias against race, color, ethnicity, national origin, sex, gender identity or expression, sexual orientation, disability, age or religion.</p> <p><a href="https://iwu.co1.qualtrics.com/jfe5/preview/SV_cU6scuJmRRFIZjn">Confidential or Anonymous Report of Sexual or Gender-based Misconduct</a></p> <p>This form may be used to submit complaints, reports or concerns about sexual or gender-based misconduct, including sexual harassment, sexual assault, stalking, and dating/domestic violence.</p> <?php if (IWU_Auth::isStudent()) { ?> <p><a href="https://php.iwu.edu/clearinghouse/">Verify Enrollment</a></p> <p>Allows you to provide enrollment documentation to insurance companies, loan agencies, and other organizations.</p> <p><a href="https://docs.google.com/a/iwu.edu/forms/d/1ZsLU-RXVmEf33geKKZr9NAO3B17AquyvNYNbc1vUjb4/viewform">Mental Health Emergency Contact</a></p> <p>You have the opportunity designate a mental health emergency contact person. This person, if you so designate, must be at least 18 years of age.</p> <p><a href="https://www.iwu.edu/residential-life/info/ea.html">Early Arrival Housing Request Form</a></p> <p>Request to return to campus before officially scheduled move-in dates.</p> <?php }