| ... | ... |
@@ -49,7 +49,7 @@ echo " |
| 49 | 49 |
tools: { title: 'Tools', items: '' }
|
| 50 | 50 |
},"; |
| 51 | 51 |
if (USERUID && $image_list_exists) |
| 52 |
- echo " image_list: tinyMCE4ImageList ,"; |
|
| 52 |
+ echo " image_list: tinyMCENewImageList ,"; |
|
| 53 | 53 |
echo " |
| 54 | 54 |
theme_modern_resizing: true,".($current == "adminarea" ? "\n\t\tentity_encoding: 'raw'" : "\n\t\tinvalid_elements: 'script,object,applet,iframe'")." |
| 55 | 55 |
}); |
| ... | ... |
@@ -51,7 +51,7 @@ echo " |
| 51 | 51 |
tools: { title: 'Tools', items: '' }
|
| 52 | 52 |
},"; |
| 53 | 53 |
if (USERUID && $image_list_exists) |
| 54 |
- echo " image_list: tinyMCE5ImageList ,"; |
|
| 54 |
+ echo " image_list: tinyMCENewImageList ,"; |
|
| 55 | 55 |
echo " |
| 56 | 56 |
theme_silver_resizing: true,".($current == "adminarea" ? "\n\t\tentity_encoding: 'raw'" : "\n\t\tinvalid_elements: 'script,object,applet,iframe'")." |
| 57 | 57 |
}); |
| ... | ... |
@@ -49,7 +49,7 @@ echo " |
| 49 | 49 |
tools: { title: 'Tools', items: '' }
|
| 50 | 50 |
},"; |
| 51 | 51 |
if (USERUID && $image_list_exists) |
| 52 |
- echo " image_list: tinyMCE6ImageList ,"; |
|
| 52 |
+ echo " image_list: tinyMCENewImageList ,"; |
|
| 53 | 53 |
echo " |
| 54 | 54 |
theme_silver_resizing: true,".($current == "adminarea" ? "\n\t\tentity_encoding: 'raw'" : "\n\t\tinvalid_elements: 'script,object,applet,iframe'")." |
| 55 | 55 |
}); |
| ... | ... |
@@ -33,7 +33,7 @@ function buildImageList( ) {
|
| 33 | 33 |
$path = STORIESPATH . "/" . USERUID . "/images/".$file; |
| 34 | 34 |
$image_files[] = "[\"" . STORIESPATH . "/" . USERUID . "/images/$file\", \"" . STORIESPATH . "/" . USERUID . "/images/$file\"]"; |
| 35 | 35 |
|
| 36 |
- $image4_files[] = '{ "title": "'. $file. '", "value": "'.$path.'" }';
|
|
| 36 |
+ $image_new_files[] = '{ "title": "'. $file. '", "value": "'.$path.'" }';
|
|
| 37 | 37 |
|
| 38 | 38 |
} |
| 39 | 39 |
} |
| ... | ... |
@@ -44,8 +44,8 @@ function buildImageList( ) {
|
| 44 | 44 |
$text .= ");\n\n"; |
| 45 | 45 |
fwrite($handle, $text); |
| 46 | 46 |
|
| 47 |
- $text = "var tinyMCE4ImageList = [\n"; |
|
| 48 |
- $text .= implode(", \n", $image4_files);
|
|
| 47 |
+ $text = "var tinyMCENewImageList = [\n"; |
|
| 48 |
+ $text .= implode(", \n", $image_new_files);
|
|
| 49 | 49 |
$text .= "];\n\n"; |
| 50 | 50 |
fwrite($handle, $text); |
| 51 | 51 |
|