[svn r11004] CHange the inclusion path of dokeos_corporate.css

skala
Julian Prud'homme 19 years ago
parent 047ed49cd0
commit 6eca436595
  1. 6
      main/inc/lib/fckeditor/fcktemplates.xml.php
  2. 6
      main/inc/lib/formvalidator/Element/html_editor.php

@ -1,10 +1,10 @@
<?php header('Content-Type: text/xml; charset=utf-8');
echo '<?xml version="1.0" encoding="utf-8" ?>';
require_once('../../conf/configuration.php');
require_once('../../global.inc.php');
echo '<?xml version="1.0" encoding="utf-8" ?>';
$IMConfig['base_url'] = $_configuration['root_web'].'main/img/gallery/';
$template_css = '<style type="text/css">'.file_get_contents($_configuration['root_sys'].'main/course_home/css/dokeos_corporate.css').'</style>';
$template_css = '<style type="text/css">'.file_get_contents($_configuration['root_sys'].'main/css/'.api_get_setting('stylesheets').'/course.css').'</style>';
?>
<Templates imagesBasePath="fck_template/images/">

@ -1,5 +1,5 @@
<?php
// $Id: html_editor.php 10672 2007-01-11 10:40:16Z elixir_inter $
// $Id: html_editor.php 11004 2007-01-30 10:20:01Z elixir_julian $
/*
==============================================================================
Dokeos - elearning and course management software
@ -105,7 +105,9 @@ class HTML_QuickForm_html_editor extends HTML_QuickForm_textarea
$this -> fck_editor->ToolbarSet = $fck_attribute['ToolbarSet'] ;
$this -> fck_editor->Config['LinkBrowserURL'] = $this -> fck_editor->BasePath . "editor/filemanager/browser/default/browser.html?Connector=connectors/php/connector.php&ServerPath=$upload_path";
$this -> fck_editor->Config['EditorAreaCSS'] = api_get_path(SYS_PATH).'main/css/'.api_get_setting('stylesheets').'/course.css';
//for image
$this -> fck_editor->Config['ImageBrowserURL'] = $this -> fck_editor->BasePath . "editor/filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php&ServerPath=$upload_path";

Loading…
Cancel
Save