[TYPO3-core] RFC: generation of "disabled function" icons
Dmitry Dulepov
dima at spamcop.net
Fri Feb 24 08:56:48 CET 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
Ren? Fritz wrote:
> Description:
> The idea behind it is to display currently not available function-icons in BE
> instead of hiding them. When you have a look at the screenshot it shows icons
> and two of them are greyed because the function can not be processed for the
> item. Generally the BE don't do that and I think that needs to be changed.
Yes, this makes UI more consistent.
> Notes:
> - if the file already exists nothing will be rendered
> - that means hand made artwork can be used for dimmed icons
> - disabled icons are rendered a bit lighter than shaded record icons to make
> it more visible that it is disabled
Good solution!
> + if (preg_match('/(.*)_i(\....)$/', $srcBasename, $matches)) {
What about using one of these regexps:
/(.*)_i(\..{3,3})$/
/(.*)_i(\.(gif|png|jpg|svg)$/
Probably second is better because limits icons to image types.
Dmitry.
- --
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
iD8DBQFD/rxARVcYnKJ8N6kRAkg8AJ0eykQvALHxheDquIvW3y6I6NkZ5wCeNX2o
cjSDGjaOaopswJp0ArLoV6M=
=5ezL
-----END PGP SIGNATURE-----
More information about the TYPO3-team-core
mailing list