From b8545accd949f16c7fda24d9e68704219d5ed1c0 Mon Sep 17 00:00:00 2001 From: Ivan Tcholakov Date: Mon, 20 Jul 2009 16:26:43 +0200 Subject: [PATCH] [svn r22242] FS#2867 - The online editor: Renaming a toolbar, 'LearnPath' --> 'LearningPathDocuments'. --- .../toolbars/{learn_path.php => learning_path_documents.php} | 0 .../{learn_path.php => learning_path_documents.php} | 0 main/newscorm/learnpath.class.php | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) rename main/inc/lib/fckeditor/toolbars/{learn_path.php => learning_path_documents.php} (100%) rename main/inc/lib/fckeditor/toolbars_maxi/{learn_path.php => learning_path_documents.php} (100%) diff --git a/main/inc/lib/fckeditor/toolbars/learn_path.php b/main/inc/lib/fckeditor/toolbars/learning_path_documents.php similarity index 100% rename from main/inc/lib/fckeditor/toolbars/learn_path.php rename to main/inc/lib/fckeditor/toolbars/learning_path_documents.php diff --git a/main/inc/lib/fckeditor/toolbars_maxi/learn_path.php b/main/inc/lib/fckeditor/toolbars_maxi/learning_path_documents.php similarity index 100% rename from main/inc/lib/fckeditor/toolbars_maxi/learn_path.php rename to main/inc/lib/fckeditor/toolbars_maxi/learning_path_documents.php diff --git a/main/newscorm/learnpath.class.php b/main/newscorm/learnpath.class.php index 932be29019..f992868054 100644 --- a/main/newscorm/learnpath.class.php +++ b/main/newscorm/learnpath.class.php @@ -6364,7 +6364,7 @@ class learnpath { } $renderer = $form->defaultRenderer(); $renderer->setElementTemplate('
      {label}
{element}', 'content_lp'); - $form->addElement('html_editor', 'content_lp', '', null, array('ToolbarSet' => 'LearnPath', 'Width' => '100%', 'Height' => '400', 'FullPage' => true)); + $form->addElement('html_editor', 'content_lp', '', null, array('ToolbarSet' => 'LearningPathDocuments', 'Width' => '100%', 'Height' => '400', 'FullPage' => true)); $defaults["content_lp"] = file_get_contents($item_path); } @@ -6684,7 +6684,7 @@ class learnpath { $relative_path = $relative_path . '/'; } } - $editor_config = array('ToolbarSet' => 'LearnPath', 'Width' => '100%', 'Height' => '700', 'FullPage' => true, + $editor_config = array('ToolbarSet' => 'LearningPathDocuments', 'Width' => '100%', 'Height' => '700', 'FullPage' => true, 'CreateDocumentDir' => $relative_prefix, 'CreateDocumentWebDir' => api_get_path('WEB_COURSE_PATH') . api_get_course_path() . '/document/', 'BaseHref' => api_get_path('WEB_COURSE_PATH') . api_get_course_path() . '/document/' . $relative_path