[TYPO3-core] RFC: Various admin panel improvements
Martin Kutschker
martin.kutschker-n0spam at no5pam-blackbox.net
Sat Aug 4 18:51:08 CEST 2007
Michael Stucki schrieb:
> This patch contains various improvements to the admin panel:
Nice work, but you didn't make the admin panel completey stylable. So I
suggest you add some more classes to the generated code.
$this->wrapError = array(
0 => array('<span class="typo3-adminPanel-error-0"','</span>'),
1 => array('<strong class="typo3-adminPanel-error-1>','</strong>'),
2 => array('<strong class="typo3-adminPanel-error-2
style="color:#ff6600;">','</strong>'),
3 => array('<strong class="typo3-adminPanel-error-3
style="color:#ff0000;">','</strong>')
);
Or use these classes:
typo3-adminPanel-msg-info
typo3-adminPanel-msg-notice
typo3-adminPanel-msg-warning
typo3-adminPanel-msg-error
Please add some classes to function printTSlog() as well:
$keyLabel = '<br /><span class="typo3-adminPanel-key"
style="color:#999999;">'.implode($temp,'<br />').'</span>';
$theLabel = $data['stackPointer'] ? '<span
class="typo3-adminPanel-label"
style="color:maroon;">'.$theLabel.'</span>' : $theLabel;
$msgArr[] = '<span class="typo3-adminPanel-content"
style="color:#000066;">'.nl2br($data['content']).'</span>';
A class to the generated table (at end of the function):
typo3-adminPanel-TSlog
function fw/extFw($str) {
return '<span class="typo3-adminPanel-text"
style="font-family:verdana; font-size:0.6em; color:black;
vertical-align:top;">'.$str.' </span>';
}
But I think you have enough +1 to go on and make fine tunings later on.
Masi
More information about the TYPO3-team-core
mailing list