[TYPO3-core] RFC: Various admin panel improvements
Michael Stucki
michael at typo3.org
Mon Oct 15 15:19:56 CEST 2007
Hi Martin,
I'm sorry but I won't have time to finish this. Can you please take care of
it, or move it to the bugtracker?
- michael
Martin Kutschker wrote:
> 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
--
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
More information about the TYPO3-team-core
mailing list