RE: [webmin-devel] Suppressing module config

Jamie Cameron <[email protected]>
Newsgroups gmane.comp.web.webmin.devel
Message-ID <[email protected]>
The ui_print_header function is slightly different - it has one
additional parameter at the start, which is text to appear below the
page title. So the 'show module config' argument is actually the 4th to
ui_print_header.

 - Jamie

On Wed, 2004-11-03 at 02:52, Michael Wray wrote:
> Thanks...it doesn't appear to be the same for &ui_print_header;
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of Jamie
> Cameron
> Sent: Monday, November 01, 2004 4:09 PM
> To: [email protected]
> Subject: Re: [webmin-devel] Suppressing module config
> 
> 
> Michael Wray wrote ..
> > I was under the mistaken impression that setting the fourth parameter to
> > &header to 0 (thats zero) would suppress the display of the "module
> config"
> > link. How do I accomplish this?  I don't want to get rid of that, just
> > want
> > to call &header differently based on user info so that the config link
> > isn't
> > printed unless implicitly asked for.
> 
> It's actually the 3rd parameter. If set to 0 (or omitted), the Module Config
> link won't appear.
> 
>  - Jamie
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Sybase ASE Linux Express Edition - download now for FREE
> LinuxWorld Reader's Choice Award Winner for best database on Linux.
> http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
> -
> Forwarded by the Webmin development list at [email protected]
> To remove yourself from this list, go to
> http://lists.sourceforge.net/lists/listinfo/webadmin-devel
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Sybase ASE Linux Express Edition - download now for FREE
> LinuxWorld Reader's Choice Award Winner for best database on Linux.
> http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
> -
> Forwarded by the Webmin development list at [email protected]
> To remove yourself from this list, go to
> http://lists.sourceforge.net/lists/listinfo/webadmin-devel



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
-
Forwarded by the Webmin development list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.