Feature #22444 ยป rtehtmlarea_feature_14094.patch
typo3/sysext/rtehtmlarea/ext_localconf.php (copie de travail) | ||
---|---|---|
$TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['plugins']['TYPO3Link']['objectReference'] = 'EXT:'.$_EXTKEY.'/extensions/TYPO3Link/class.tx_rtehtmlarea_typo3link.php:&tx_rtehtmlarea_typo3link';
|
||
$TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['plugins']['TYPO3Link']['addIconsToSkin'] = 0;
|
||
$TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['plugins']['TYPO3Link']['disableInFE'] = 1;
|
||
$TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['plugins']['TYPO3Link']['additionalAttributes'] = 'rel';
|
||
// Add default Page TSonfig RTE configuration for enabling links accessibility icons
|
||
$TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['enableAccessibilityIcons'] = $_EXTCONF['enableAccessibilityIcons'] ? $_EXTCONF['enableAccessibilityIcons'] : 0;
|
||
if ($TYPO3_CONF_VARS['EXTCONF'][$_EXTKEY]['enableAccessibilityIcons']) {
|
typo3/sysext/rtehtmlarea/mod3/class.tx_rtehtmlarea_browse_links.php (copie de travail) | ||
---|---|---|
if (document.ltargetform.anchor_title) browse_links_setTitle(document.ltargetform.anchor_title.value);
|
||
if (document.ltargetform.anchor_class) browse_links_setClass(document.ltargetform.anchor_class.value);
|
||
if (document.ltargetform.ltarget) browse_links_setTarget(document.ltargetform.ltarget.value);
|
||
if (document.ltargetform.lrel) browse_links_setAdditionalValue("rel", document.ltargetform.lrel.value);
|
||
plugin.createLink(theLink,cur_target,cur_class,cur_title,additionalValues);
|
||
return false;
|
||
}
|
||
... | ... | |
if (document.ltargetform.anchor_title) browse_links_setTitle(document.ltargetform.anchor_title.value);
|
||
if (document.ltargetform.anchor_class) browse_links_setClass(document.ltargetform.anchor_class.value);
|
||
if (document.ltargetform.ltarget) browse_links_setTarget(document.ltargetform.ltarget.value);
|
||
if (document.ltargetform.lrel) browse_links_setAdditionalValue("rel", document.ltargetform.lrel.value);
|
||
plugin.createLink(theLink,cur_target,cur_class,cur_title,additionalValues);
|
||
return false;
|
||
}
|
||
... | ... | |
if (document.ltargetform.anchor_title) browse_links_setTitle(document.ltargetform.anchor_title.value);
|
||
if (document.ltargetform.anchor_class) browse_links_setClass(document.ltargetform.anchor_class.value);
|
||
if (document.ltargetform.ltarget) browse_links_setTarget(document.ltargetform.ltarget.value);
|
||
if (document.ltargetform.lrel) browse_links_setAdditionalValue("rel", document.ltargetform.lrel.value);
|
||
if (cur_href!="http://" && cur_href!="mailto:") {
|
||
plugin.createLink(cur_href + parameters,cur_target,cur_class,cur_title,additionalValues);
|
||
}
|
||
... | ... | |
$ltarget = $this->addTargetSelector();
|
||
$lclass = $this->addClassSelector();
|
||
$ltitle = $this->addTitleSelector();
|
||
if ($lpageId || $queryParameters || $ltarget || $lclass || $ltitle) {
|
||
$ltargetForm = $this->wrapInForm($lpageId.$queryParameters.$ltarget.$lclass.$ltitle);
|
||
$rel = $this->addRelField();
|
||
if ($lpageId || $queryParameters || $ltarget || $lclass || $ltitle || $rel) {
|
||
$ltargetForm = $this->wrapInForm($lpageId.$queryParameters.$ltarget.$lclass.$ltitle.$rel);
|
||
}
|
||
return $ltargetForm;
|
||
}
|
||
... | ... | |
</tr>':'';
|
||
}
|
||
function addRelField() {
|
||
return (($this->act == 'page' || $this->act == 'url' || $this->act == 'file') && $this->buttonConfig && is_array($this->buttonConfig['relAttribute.']) && $this->buttonConfig['relAttribute.']['enabled'])?'
|
||
<tr>
|
||
<td>'.$GLOBALS['LANG']->getLL('linkRelationship',1).':</td>
|
||
<td colspan="3">
|
||
<input type="text" name="lrel" value="' . $this->additionalAttributes['rel']. '" ' . $this->doc->formWidth(30) . ' />
|
||
</td>
|
||
</tr>':'';
|
||
}
|
||
function addQueryParametersSelector() {
|
||
global $LANG;
|
||
typo3/sysext/rtehtmlarea/mod3/locallang.xml (copie de travail) | ||
---|---|---|
<label index="folderTree">Folder Tree</label>
|
||
<label index="files">Files</label>
|
||
<label index="target">Target</label>
|
||
<label index="linkRelationship">Relationship</label>
|
||
<label index="target_popUpWindow">Open in window</label>
|
||
<label index="target_popUpWindow_width">Width</label>
|
||
<label index="target_popUpWindow_height">Height</label>
|