[svn r17563] added advanced filemanager to global agenda

skala
Juan Carlos Raña 17 years ago
parent 685b4f3f84
commit a5013a865a
  1. 11
      main/admin/calendar.lib.php
  2. 1
      main/admin/calendar.php

@ -1498,7 +1498,16 @@ function show_add_form($id = '')
$oFCKeditor->Height = '175';
$oFCKeditor->Width = '100%';
$oFCKeditor->Value = $content;
$oFCKeditor->Config['CustomConfigurationsPath'] = api_get_path(REL_PATH)."main/inc/lib/fckeditor/myconfig.js";
if(api_get_setting('advanced_filemanager')=='true')
{
$oFCKeditor->Config['CustomConfigurationsPath'] = api_get_path(REL_PATH)."main/inc/lib/fckeditor/myconfig_afm.js";
}
else
{
$oFCKeditor->Config['CustomConfigurationsPath'] = api_get_path(REL_PATH)."main/inc/lib/fckeditor/myconfig.js";
}
$oFCKeditor->ToolbarSet = 'Agenda';
$TBL_LANGUAGES = Database::get_main_table(TABLE_MAIN_LANGUAGE);

@ -41,6 +41,7 @@ $xajax -> registerFunction ('search_courses');
// setting the section (for the tabs)
$this_section = SECTION_PLATFORM_ADMIN;
$_SESSION['this_section']=$this_section;
// Access restrictions
api_protect_admin_script(true);

Loading…
Cancel
Save