On 06/07/07, kewei xiao <[EMAIL PROTECTED]> wrote:
Hi Carl
Thank you for the hints. I just want to make sure I understand them.
/'$user'/ is the current user I am viewing?
is '/is_member_of/' a real function? if not, is there a similar one?
$user->is_member_of() was just made up - replace it with whatever is
appropriate for figuring out whether the user's an administrator.
The important part is that you set "default => $_->id" only if you
want the checkbox checked.
Carl
_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu