Exemple #1
0
					<TD><A href="' . $list_server . '/mailman/admin/' . db_result($result, $i, 'list_name') . '">[' . $Language->getText('mail_admin_index', 'admin_in_gnu') . ']</A>
				       </TD></TR>
				       <TR class="' . util_get_alt_row_color($i) . '"><TD COLSPAN="4">
				       		' . $Language->getText('mail_admin_index', 'desc') . ': 
						<INPUT TYPE="TEXT" NAME="description" VALUE="' . db_result($result, $i, 'description') . '" SIZE="70" MAXLENGTH="160"><BR>
					</TD></TR></FORM>';
                }
                echo '</TABLE>';
            }
            mail_footer(array());
        } else {
            /*
            	Show main page for choosing 
            	either moderotor or delete
            */
            mail_header_admin(array('title' => $Language->getText('mail_admin_index', 'mail_list_admin'), 'help' => 'CommunicationServices.html#MailingLists'));
            echo '
			<H2>' . $Language->getText('mail_admin_index', 'mail_list_admin') . '</H2>
			<h3>
			<A HREF="' . $PHP_SELF . '?group_id=' . $group_id . '&add_list=1">' . $Language->getText('mail_admin_index', 'add_mail_list') . '</A></h3>
                                                      <p>' . $Language->getText('mail_admin_index', 'create_new_mail_lists') . '
			<h3><A HREF="' . $PHP_SELF . '?group_id=' . $group_id . '&change_status=1">' . $Language->getText('mail_admin_index', 'admin_update_lists') . '</A></h3>
                                                      <p>' . $Language->getText('mail_admin_index', 'manage_mail');
            mail_footer(array());
        }
    }
} else {
    /*
    	Not logged in or insufficient privileges
    */
    if (!$group_id) {
Exemple #2
0
                    <TD><A href="' . $list_server . '/mailman/admin/' . db_result($result, $i, 'list_name') . '">[' . $Language->getText('mail_admin_index', 'admin_in_gnu') . ']</A>
                       </TD></TR>
                       <TR class="' . util_get_alt_row_color($i) . '"><TD COLSPAN="4">
                                        ' . $Language->getText('mail_admin_index', 'desc') . ':
                        <INPUT TYPE="TEXT" NAME="description" VALUE="' . db_result($result, $i, 'description') . '" SIZE="70" MAXLENGTH="160"><BR>
                    </TD></TR></FORM>';
            }
            echo '</TABLE>';
        }
        mail_footer(array());
    } else {
        /*
         Show main page for choosing
         either moderotor or delete
        */
        mail_header_admin(array('title' => $Language->getText('mail_admin_index', 'mail_list_admin'), 'help' => 'communication.html#mailing-lists'));
        echo '
            <H2>' . $Language->getText('mail_admin_index', 'mail_list_admin') . '</H2>
            <h3>
            <A HREF="?group_id=' . $group_id . '&add_list=1">' . $Language->getText('mail_admin_index', 'add_mail_list') . '</A></h3>
                                                      <p>' . $Language->getText('mail_admin_index', 'create_new_mail_lists') . '
            <h3><A HREF="?group_id=' . $group_id . '&change_status=1">' . $Language->getText('mail_admin_index', 'admin_update_lists') . '</A></h3>
                                                      <p>' . $Language->getText('mail_admin_index', 'manage_mail');
        mail_footer(array());
    }
} else {
    /*
     Not logged in or insufficient privileges
    */
    if (!$group_id) {
        exit_no_group();