diff --git a/main/inc/lib/fckeditor/fcktemplates.xml.php b/main/inc/lib/fckeditor/fcktemplates.xml.php
index 31d3b73e91..2cb3901cea 100755
--- a/main/inc/lib/fckeditor/fcktemplates.xml.php
+++ b/main/inc/lib/fckeditor/fcktemplates.xml.php
@@ -51,22 +51,21 @@ $is_allowed_to_edit = api_is_allowed_to_edit(false,true);
// Start the templates node.
echo '';
-if($is_allowed_to_edit){
-
- // Load empty template.
- load_empty_template();
-
+
+// Load empty template.
+load_empty_template();
+
+if($is_allowed_to_edit){
// Load the templates that were defined by the platform admin.
- load_platform_templates();
-
- // Load the personal templates.
- load_personal_templates(api_get_user_id());
-
+ load_platform_templates();
}
else{
- load_student_templates();
-
+ // Load student templates.
+ load_student_templates();
}
+// Load the personal templates.
+ load_personal_templates(api_get_user_id());
+
// End the templates node.
echo '';
@@ -229,14 +228,6 @@ function load_empty_template() {
function load_student_templates() {
$fckeditor_template_path='/main/inc/lib/fckeditor/editor/dialog/fck_template/images/';
?>
-
-
-
-
-
-
One main image with a title and text that surround the image.