Go to the source code of this file.
Functions | |
| maillist_body ($addresses, $list_name, $task) | |
Variables | |
| global | $feedback |
| $addresses = array() | |
| $sql = "SELECT * FROM mail_group_list WHERE list_name='$list' " | |
| $result = db_query ($sql) | |
| $group_id = db_result($result,0,'group_id') | |
| $list_name = $list | |
| $res_grp = db_query("SELECT unix_group_name FROM groups WHERE group_id='$group_id'") | |
| $group_name = db_result($res_grp,0,'unix_group_name') | |
| $project = project_get_object($group_id) | |
| $subject = "mailing list order" | |
| exit | |
|
||||||||||||||||
|
Definition at line 36 of file majordomo_interface.php. References $body, $list_name, and $name. 00037 { 00038 00039 00040 switch($task) 00041 { 00042 00043 case 'subscribe': 00044 { 00045 $command="subscribe"; 00046 break; 00047 } 00048 case 'unsubscribe': 00049 { 00050 $command="unsubscribe"; 00051 break; 00052 } 00053 default: 00054 { 00055 $command="error"; 00056 } 00057 00058 } 00059 00060 # FIXME: foreach exists only in PHP >= 4 00061 foreach($addresses as $name) 00062 { 00063 $body .= $command." ".$list_name." ".$name."\n"; 00064 } 00065 00066 $body .= "end\n"; 00067 return($body); 00068 }
|
|
|
Definition at line 71 of file majordomo_interface.php. |
|
|
Definition at line 24 of file majordomo_interface.php. Referenced by exit_error(), forum_create_forum(), member_add(), people_add_to_job_inventory(), post_message(), trackers_data_create_value(), trackers_data_post_notification_settings(), trackers_data_reset_usage(), and trackers_data_update_value(). |
|
|
Definition at line 75 of file majordomo_interface.php. |
|
|
Definition at line 79 of file majordomo_interface.php. |
|
|
Definition at line 76 of file majordomo_interface.php. Referenced by maillist_body(). |
|
|
Definition at line 84 of file majordomo_interface.php. |
|
|
Definition at line 78 of file majordomo_interface.php. |
|
|
Definition at line 74 of file majordomo_interface.php. |
|
|
Definition at line 73 of file majordomo_interface.php. |
|
|
Definition at line 99 of file majordomo_interface.php. Referenced by sendmail_mail(), and show_thread(). |
|
|
Definition at line 113 of file majordomo_interface.php. |
1.4.4