Bug #20984 ยป rtehtmlarea_bugfix_11863_trunk.patch
typo3/sysext/rtehtmlarea/htmlarea/plugins/Language/language.js (copie de travail) | ||
---|---|---|
var options = select.options;
|
||
var rule, selector, style;
|
||
for (var i = options.length; --i >= 0;) {
|
||
selector = 'body.htmlarea-show-language-marks *[' + (this.useAttribute.lang ? 'lang=' : 'xml:lang=') + options[i].value + ']:before';
|
||
style = 'content: "' + options[i].value + ': "';
|
||
rule = selector + ' { ' + style + '; }';
|
||
selector = 'body.htmlarea-show-language-marks *[' + 'lang="' + options[i].value + '"]:before';
|
||
style = 'content: "' + options[i].value + ': ";';
|
||
rule = selector + ' { ' + style + ' }';
|
||
if (HTMLArea.is_gecko) {
|
||
styleSheet.insertRule(rule, styleSheet.cssRules.length);
|
||
try {
|
||
styleSheet.insertRule(rule, styleSheet.cssRules.length);
|
||
} catch (e) {
|
||
this.appendToLog("onGenerate", "Error inserting css rule: " + rule + " Error text: " + e);
|
||
}
|
||
} else {
|
||
styleSheet.addRule(selector, style);
|
||
}
|
typo3/sysext/rtehtmlarea/htmlarea/skins/default/htmlarea-edited-content.css (copie de travail) | ||
---|---|---|
body.htmlarea-show-language-marks *[lang] {
|
||
background: url("images/language-marker.gif") left bottom no-repeat; padding-left: 14px; text-decoration: underline;
|
||
}
|
||
body.htmlarea-show-language-marks *[xml:lang] {
|
||
background-image: url("images/language-marker.gif"); background-position: left bottom; background-repeat: no-repeat; padding-left: 14px; text-decoration: underline;
|
||
}
|
||
/* Selectors for the Abbreviation plugin */
|
||
body.htmlarea-content-body abbr, body.htmlarea-content-body acronym {
|
typo3/sysext/t3skin/rtehtmlarea/htmlarea-edited-content.css (copie de travail) | ||
---|---|---|
body.htmlarea-show-language-marks *[lang] {
|
||
background: url("images/language-marker.gif") left bottom no-repeat; padding-left: 14px; text-decoration: underline;
|
||
}
|
||
body.htmlarea-show-language-marks *[xml:lang] {
|
||
background-image: url("images/language-marker.gif"); background-position: left bottom; background-repeat: no-repeat; padding-left: 14px; text-decoration: underline;
|
||
}
|
||
/* Selectors for the Abbreviation plugin */
|
||
body.htmlarea-content-body abbr, body.htmlarea-content-body acronym {
|