Feature #19859 » rtehtmlarea_feature_10195.patch
typo3/sysext/rtehtmlarea/class.tx_rtehtmlarea_base.php (copie de travail) | ||
---|---|---|
),
|
||
'opera' => array (
|
||
1 => array (
|
||
'version' => 9.5
|
||
'version' => 9.62
|
||
)
|
||
)
|
||
);
|
||
... | ... | |
if (!$this->debugMode) { // If debug-mode, let any browser through
|
||
$rteIsAvailable = 0;
|
||
$rteConfBrowser = $this->conf_supported_browser;
|
||
if (!$TYPO3_CONF_VARS['EXTCONF']['rtehtmlarea']['enableInOpera9']) unset($rteConfBrowser['opera']);
|
||
if (is_array($rteConfBrowser)) {
|
||
foreach ($rteConfBrowser as $browser => $browserConf) {
|
||
if ($browser == $this->client['BROWSER']) {
|
typo3/sysext/rtehtmlarea/ext_conf_template.txt (copie de travail) | ||
---|---|---|
# cat=basic/enable/150; type=boolean; label=Enable Mozilla/Firefox extension: If set, enables the triggering of installation of a Mozilla/Firefox extension to allow the RTE to access the clipboard.
|
||
enableMozillaExtension = 0
|
||
# cat=basic/enable/160; type=boolean; label=Enable the RTE in Opera 9.5+: If set, the RTE will be enabled when the browser is Opera 9.5+. This feature is still experimental!
|
||
enableInOpera9 = 0
|
||
# cat=basic/enable/170; type=boolean; label=Force Aspell command mode: If set, the spellchecker will use the Aspell command interface. Presumably. PHP is compiled with pspell, but with an old version of Aspell. If set, PHP safe mode should NOT be enabled.
|
||
forceCommandMode = 0
|
||
typo3/sysext/rtehtmlarea/ext_localconf.php (copie de travail) | ||
---|---|---|
// Troubleshooting and experimentation
|
||
$TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['enableDebugMode'] = $_EXTCONF['enableDebugMode'] ? $_EXTCONF['enableDebugMode'] : 0;
|
||
$TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['enableCompressedScripts'] = $_EXTCONF['enableCompressedScripts'] ? $_EXTCONF['enableCompressedScripts'] : 0;
|
||
$TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['enableInOpera9'] = $_EXTCONF['enableInOpera9'] ? $_EXTCONF['enableInOpera9'] : 0;
|
||
// Integrating with DAM
|
||
// DAM browser may be enabled here only for DAM version lower than 1.1
|