Re: [webmin-devel] making config change to existing module, addingpopup "select users" list

Mr Duck <[email protected]>
Newsgroups gmane.comp.web.webmin.devel
Message-ID <[email protected]>
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 .
       '&nbsp;' .
       &user_chooser_button("ignore_users", 1);
}

----END-----

   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.

Mr Duck



-------------------------------------------------------
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
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.