function fp_theme_location

6.x theme.inc fp_theme_location($bool_include_base_path = TRUE)
4.x theme.inc fp_theme_location($bool_include_base_path = TRUE)
5.x theme.inc fp_theme_location($bool_include_base_path = TRUE)

Return the theme location

26 calls to fp_theme_location()
admin_display_edit_degree in modules/admin/admin.degrees.inc
This screen displays the form which allows the user to actually edit a degree.
admin_display_groups in modules/admin/admin.groups.inc
This function will display a list of all our groups.
admin_display_groups_popup_select_icon in modules/admin/admin.groups.inc
This popup is called from the edit group page. It lets the user select an icon to assign to a group.
admin_edit_group_form in modules/admin/admin.groups.inc
This function lets the user edit a group.
advise_display_history in modules/advise/advise.history.inc
Displays the history tab on screen.

... See full list

File

includes/theme.inc, line 1074

Code

function fp_theme_location($bool_include_base_path = TRUE) {

  $p = $GLOBALS ["fp_system_settings"]["theme"];

  // The theme hasn't been set for some reason
  if ($p == "") {
    $p = "themes/classic";
  }

  if ($bool_include_base_path) {
    $p = base_path() . "/" . $p;
  }

  return $p;
}