2 namespace TYPO3\CMS\Rtehtmlarea;
114 $this->pluginAddsButtons = !empty($this->pluginButtons);
116 if ($this->
isFrontend() &&
$GLOBALS[
'TYPO3_CONF_VARS'][
'EXTCONF'][
'rtehtmlarea'][
'plugins'][$this->pluginName][
'disableInFE']) {
132 if (in_array($button, $this->toolbar)) {
133 if (!is_array($this->configuration[
'thisConfig'][
'buttons.']) || !is_array($this->configuration[
'thisConfig'][
'buttons.'][($button .
'.')])) {
134 $jsArray[] =
'RTEarea[editornumber].buttons.' . $button .
' = new Object();';
138 return implode(LF, $jsArray);
229 if (strstr($str,
'*')) {
247 $label = str_replace(
'"',
'\\"', str_replace(
'\\\'',
'\'', $label));
260 && TYPO3_MODE ==
'FE';
283 if (substr(
$filename, 0, 4) ===
'EXT:') {
285 list($extKey, $local) = explode(
'/', substr(
$filename, 4), 2);
311 $relativeFilename =
'typo3temp/RteHtmlArea/' . str_replace(
'-',
'_', $label) .
'_' .
GeneralUtility::shortMD5($contents, 20) .
'.' . $fileExtension;
312 $destination = PATH_site . $relativeFilename;
313 if (!file_exists($destination)) {
314 $minifiedJavaScript =
'';
315 if ($fileExtension ===
'js' && $contents !==
'') {
320 throw new \RuntimeException($failure, 1294585668);
324 $fileName = $relativeFilename;
326 $fileName =
'../' . $relativeFilename;