Re: [webmin-devel] making config change to existing module, addingpopup"select users" list
"Jamie Cameron" <[email protected]>
| Newsgroups | gmane.comp.web.webmin.devel |
|---|---|
| Message-ID | <[email protected]> |
On 10/Dec/2005 09:05 Mr Duck wrote ..
> Jamie Cameron wrote:
> > That looks OK to me. What does the show__userIgnoreList function contain
> > though?
>
> It's pretty straight-forward.
>
> ----CODE----
>
> sub show_userIgnoreList
> {
> my($preta) = '<TEXTAREA NAME="ignore_users" COLS="35" ROWS="4">';
> my($postta) = '</TEXTAREA>';
>
> return
> $preta .
> $config{'ignore_users'} .
> $postta .
> ' ' .
> &user_chooser_button("ignore_users", 1);
> }
>
> ----END-----
I have one suggestion here - change the $config{'ignore_users'} to $_[0]
> I have noticed in the interim that the webmin/conf/mailboxes/config
> file does get updated when I save changes using the previously given
> parse_ function. However, the webmin/mailboxes/config file does not.
>
> As of this point, I don't know the different between the two.
The file /etc/webmin/mailboxes/config is the currently active config, while
/usr/libexec/webmin/mailboxes/config is the initial default config (which is never changed).
- Jamie
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&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