function fp_add_css

6.x fp_add_css($path_to_css)
4.x fp_add_css($path_to_css)
5.x fp_add_css($path_to_css)

Add an extra CSS file to the page with this function. Ex: fp_add_css(fp_get_module_path("admin") . '/css/admin.css');


String $path_to_css:

80 calls to fp_add_css()
admin_display_courses in modules/admin/
This function displays all of our courses for us to edit.
admin_display_degrees in modules/admin/
admin_display_groups in modules/admin/
This function will display a list of all our groups.
admin_display_groups_popup_edit_definition in modules/admin/
admin_display_groups_popup_select_icon in modules/admin/
This popup is called from the edit group page. It lets the user select an icon to assign to a group.

... See full list


includes/, line 1758
This file contains misc functions for FlightPath


function fp_add_css($path_to_css) {

  // Init if needed
  if (!isset($GLOBALS ['fp_extra_css'])) {
    $GLOBALS ['fp_extra_css'] = array();

  if (!in_array($path_to_css, $GLOBALS ['fp_extra_css'])) {
    $GLOBALS ["fp_extra_css"][] = $path_to_css;