1
damaster
Ergonomics : Modules icons
  • 2004/7/19 12:40

  • damaster

  • Just can't stay away

  • Posts: 556

  • Since: 2003/5/11


A lot of modules use the same icons/functions:
edit, friend, delete, post, etc.

But they are different from one module to another,
multiplying icons files and breaks XOOPS theme appearance/uniformity.

why not to place all icons in the same folder:

themes/images/icons

if exists , replace
<img src="images/edit.gif" border="0" alt=""

with
Quote:


And give, like the default css classes used in xoops,
a default themes folder and *default icon name and extension (!.png for the transparency!)

I like people more than machines or money. But that's me!
Lets do something good and great: Lets do open source!

2
synistar
Re: Ergonomics : Modules icons
  • 2004/7/31 16:40

  • synistar

  • Just popping in

  • Posts: 18

  • Since: 2004/7/19


I agree this is a needed feature. Maybe the icon system could be tied into the theme system so that themes could provide their own matching icons (located in a standard theme sub-folder). I am thinking of a function call that would pull the appropriate icon from the theme. Inside a module it would look like:


Quote:
$current_theme->geticon('edit');


Maybe I am barking up the wrong tree though... Anyone see any drawbacks to this?

3
tsanyao
re: drawback
  • 2004/8/11 12:11

  • tsanyao

  • Just popping in

  • Posts: 6

  • Since: 2004/6/16


Recently i was told that raising the inter-dependence of components might not be a good idea. Furthermore, given harddisk measured in gigabytes, who cares about kilobytes ...

Login

Who's Online

448 user(s) are online (327 user(s) are browsing Support Forums)


Members: 0


Guests: 448


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits