function student_search_get_advanced_search_tips

6.x student_search.module student_search_get_advanced_search_tips()
4.x student_search.module student_search_get_advanced_search_tips()
5.x student_search.module student_search_get_advanced_search_tips()

Simply returns the HTML to display the "advanced search tips" collapsible fieldset and instructions.

4 calls to student_search_get_advanced_search_tips()
student_search_display_majors_search in modules/student_search/student_search.module
Display the majors search sub-tab, where we can select a major and see the students assigned to it.
student_search_display_my_advisees in modules/student_search/student_search.module
Displays this user's advisees, if there are any assigned.
student_search_display_my_majors in modules/student_search/student_search.module
Displays students belonging to the current user's major code.
student_search_display_search in modules/student_search/student_search.module

File

modules/student_search/student_search.module, line 555

Code

function student_search_get_advanced_search_tips() {
  $rtn = "";

  // Display advanced tips
  $advanced_tips_html = "
          <div class='student-search-advanced-tips'>            
            " . t("FlightPath displays students who are currently enrolled or are newly admitted for
            an upcoming term. Use the following tips to expand your search options:") . "
            <ul>
              <li>" . t("To search for inactive students, as well as active, add an asterisk (*)
                  after your search.
                  <br>&nbsp; &nbsp; &nbsp; 
                        Ex:  <em>smith*</em> &nbsp; &nbsp; or &nbsp; &nbsp; <em>10035744*</em>") . "
              </li>
              <li>" . t("Search by major by typing major=CODE in the search box.
                  <br>&nbsp; &nbsp; &nbsp; 
                        Ex:  <em>major=ENGL</em>  &nbsp; &nbsp; or &nbsp; &nbsp;  <em>major=ENGL*</em>") . "
              </li>
            </ul>
          </div>";


  $rtn .= "<div class='student-search-advanced-tips-wrapper'>
             <label>" . t("Can't find the student you're looking for?") . "</label>
              " . fp_render_c_fieldset($advanced_tips_html, t("View advanced search tips"), TRUE) . "
           </div>";

  return $rtn;
}