[svn r17413] FS#2867 - FCKEditor: Fixing a configuration mistake in Agenda tool.

skala
Ivan Tcholakov 17 years ago
parent 8ae812cf34
commit 79ce5149f5
  1. 5
      main/calendar/agenda.inc.php

@ -1,4 +1,4 @@
<?php //$Id: agenda.inc.php 17412 2008-12-21 02:58:00Z ivantcholakov $
<?php //$Id: agenda.inc.php 17413 2008-12-21 03:44:36Z ivantcholakov $
/*
==============================================================================
@ -2462,12 +2462,13 @@ function show_add_form($id = '')
//link
$oFCKeditor->Config['LinkBrowserURL'] = $oFCKeditor->BasePath . "editor/filemanager/browser/default/browser.html?Type=Images&Connector=connectors/php/connector.php&ServerPath=$upload_path";
$return = $oFCKeditor->CreateHtml();
//for Videos (flv)
$oFCKeditor->Config['MediaBrowserURL'] = $oFCKeditor->BasePath . "editor/filemanager/browser/default/browser.html?Type=Video/flv&Connector=connectors/php/connector.php&ServerPath=$upload_path";
$oFCKeditor->Config['MediaUploadURL'] = $oFCKeditor->BasePath . "editor/filemanager/upload/php/upload.php?Type=Video/flv&ServerPath=$upload_path" ;
$return = $oFCKeditor->CreateHtml();
echo $return;
?>

Loading…
Cancel
Save