You are here

function fckeditor_path_to_theme in FCKeditor - WYSIWYG HTML editor 6.2

2 calls to fckeditor_path_to_theme()
fckeditor_admin_profile_form in ./fckeditor.admin.inc
Form builder for a normal profile
fckeditor_process_textarea in ./fckeditor.module
This function create the HTML objects required for the FCKeditor

File

./fckeditor.module, line 1224
FCKeditor - The text editor for Internet - http://www.fckeditor.net Copyright (C) 2003-2008 Frederico Caldeira Knabben

Code

function fckeditor_path_to_theme() {
  global $theme_key;
  static $themepath;
  if (empty($themepath) && !empty($theme_key)) {
    $themepath = drupal_get_path('theme', $theme_key);
  }

  // fall back
  if (empty($themepath)) {
    return path_to_theme();
  }
  return $themepath;
}