Hey there,
finally I am back here with another question! I'm sure you did not missed me, but unfortunately I was not able to find an answer by myself, so may you would help me out once again?
I tried to change it by myself, but it did not work. So here comes the question: I want to modify the posting window so the dropdown menu with the colors is colorized. In detail: I want the colors to appear in the color they are, so black is depicted in black and so on. I spotted the dropdown-bar in the "GenericControls.Template.php" in the Cadence-Theme folder, it looks like the following:
// Print a drop down list for all the colors we allow!
if (!isset($context['disabled_tags']['color']))
echo ',
{
sType: \'select\',
sName: \'sel_color\',
oOptions: {
\'\': ', JavaScriptEscape($txt['change_color']), ',
\'black\': ', JavaScriptEscape($txt['black']), ',
\'cyan\': ', JavaScriptEscape($txt['cyan']), ',
\'red\': ', JavaScriptEscape($txt['red']), ',
\'yellow\': ', JavaScriptEscape($txt['yellow']), ',
\'pink\': ', JavaScriptEscape($txt['pink']), ',
\'green\': ', JavaScriptEscape($txt['green']), ',
\'orange\': ', JavaScriptEscape($txt['orange']), ',
\'purple\': ', JavaScriptEscape($txt['purple']), ',
\'blue\': ', JavaScriptEscape($txt['blue']), ',
\'beige\': ', JavaScriptEscape($txt['beige']), ',
\'brown\': ', JavaScriptEscape($txt['brown']), ',
\'teal\': ', JavaScriptEscape($txt['teal']), ',
\'navy\': ', JavaScriptEscape($txt['navy']), ',
\'maroon\': ', JavaScriptEscape($txt['maroon']), ',
\'limegreen\': ', JavaScriptEscape($txt['lime_green']), ',
\'white\': ', JavaScriptEscape($txt['white']), '
}
}';
I tried to add the html-"font"-tag at various positions, but none of them worked. Some caused the dropdown menu to disappear, some caused to disappear the whole bar with all options and some killed the style - it was funny too, but unfortunatly not very helpful at all. May you know how to change the color of those things?