fp_set_title

5.x misc.inc fp_set_title($title)
4.x misc.inc fp_set_title($title)

Allows the programmer to set the title of the page, overwriting any default title.

Parameters

unknown_type $title:

20 calls to fp_set_title()
admin_add_degree_form in modules/admin/admin.degrees.inc
This form lets the user add a degree to the database.
admin_copy_degree_form in modules/admin/admin.degrees.inc
This form lets the user copy a degree and all of it's tracks & concentrations.
admin_edit_course_form in modules/admin/admin.courses.inc
This form lets the user edit details about a course.
admin_edit_degree_form in modules/admin/admin.degrees.inc
Meant to replace the old-fashioned display_edit_degree function...
admin_edit_group_form in modules/admin/admin.groups.inc
This function lets the user edit a group.

... See full list

File

includes/misc.inc, line 988
This file contains misc functions for FlightPath

Code

function fp_set_title($title) {
  $GLOBALS["fp_set_title"] = $title;
  if ($title == "") {
    fp_show_title(FALSE); // No title to show!
  }
  else {
    fp_show_title(TRUE); // If we are calling this function, we clearly want to display the title.
  }
}