Comment 2 for bug 600442

Revision history for this message
Xavier Brochard (xavier) wrote : Re: [Bug 600442] Re: Changed includes Add button regardless of rights

There is (or there was?) a similar problem in a lot of woda's "pages".

I think that we should use a different, global, system to display icons.
I don't know if it is feasible though. But here is some ideas:
- test rights in printFoot, then remove icons from @Toolbar
- use some global variables to define toolbar content ; one for browsing, one
for editing, etc. Each of these populated by the main routine (according to
rights). Then you just call them at each places you want.

But I doubt:
as Claudio pointed it, Woda is different from other database systems and that
is good. I like the fact that the code is, more or less, easy to understand.
The current system for toolbar, while not perfect, is very simple.

Xavier
<email address hidden> - 09 54 06 16 26