' . lang('save_mail_text_only') . ' </TD></TR> <TR><TD align="left"> <INPUT class="button" type=submit name="save_preview" class="small" value="' . lang('mail_preview') . '"> </TD><TD align="right"> <INPUT class="button" type=submit name="save" value="' . lang('save') . '"> </TD></TR> </TABLE> </TD></TR> <TR> <TD colspan=2> <TABLE class="or_option_buttons_box" style="background: ' . $color['options_box_background'] . ';"> <TR> <TD colspan=3>' . lang('reminder_mails_in_mail_queue') . ': '; $qmails = experimentmail__mails_in_queue("session_reminder", $experiment_id); echo $qmails; if (check_allow('mailqueue_show_experiment')) { echo ' ' . button_link('experiment_mailqueue_show.php?experiment_id=' . $experiment['experiment_id'], lang('monitor_experiment_mail_queue'), 'envelope-square'); } echo '</TD></TR></TABLE> </TD> </TR>'; echo ' </TABLE> </FORM>'; echo '<BR><A HREF="experiment_show.php?experiment_id=' . $experiment_id . '">' . lang('mainpage_of_this_experiment') . '</A><BR><BR> </CENTER>'; } }
</TD><TD align="right"> <INPUT class="button" type=submit name="save" value="' . lang('save') . '"> </TD></TR> </TABLE> </TD></TR> <TR> <TD colspan=2> <TABLE class="or_option_buttons_box" style="background: ' . $color['options_box_background'] . ';"> <TR> <TD>' . lang('assigned_subjects') . ': ' . experiment__count_participate_at($experiment_id) . '</TD> <TD>' . lang('invited_subjects') . ': ' . experiment__count_participate_at($experiment_id, "", "invited = :invited", array(':invited' => 1)) . '</TD> <TD>' . lang('registered_subjects') . ': ' . experiment__count_participate_at($experiment_id, "", "session_id != :session_id", array(':session_id' => 0)) . '</TD> </TR> <TR class="empty"> <TD colspan=3>' . lang('inv_mails_in_mail_queue') . ': '; $qmails = experimentmail__mails_in_queue("invitation", $experiment_id); echo $qmails; if (check_allow('mailqueue_show_experiment')) { echo ' ' . button_link('experiment_mailqueue_show.php?experiment_id=' . $experiment['experiment_id'], lang('monitor_experiment_mail_queue'), 'envelope-square'); } echo '</TD></TR></TABLE> </TD> </TR>'; if ($qmails > 0) { echo ' <TR> <TD colspan=2> <TABLE class="or_option_buttons_box" style="background: ' . $color['options_box_background'] . ';"> <TR><TD align="left" style="color: ' . $color['important_note_textcolor'] . ';"> ' . $qmails . ' ' . lang('xxx_inv_mails_for_this_exp_still_in_queue') . ' </TD></TR> </TABLE>