Forums / Cotonti / Core Labs / Archive / Icon resources

Kort
#23130 2010-02-22 21:27
Now that the modularization is in progress I think we got a possibility to request some resource management features. Particularly I am talking about icons. Right now they are all scattered between the admin & pfs modules, skin img/system folder, root images folder and (sometimes) plugin folders. What I suggest is grouping all icon types in one place, i.e.:
images/icons/default
images/flags/default
images/filetypes/default
images/smilies/default
Advantages:
1. All graphics get there, eliminating all possible duplicates
2. Any such global icon will become available anywhere via resource file: any module, any plugin, any skin
3. Skin folder will get smaller
4. Enable icon pack capability, i.e.:
images/icons/default
images/icons/famfamfam
images/icons/diagona
images/flags/default
images/flags/silky
images/filetypes/default
images/smilies/default
images/smilies/kolobok
So icon style can be changed easily & globally. Icon packs can be selectable via config.php -- just like skins or languages.
SED.by - создание сайтов, разработка плагинов и тем для Котонти