<span class="sender-mailing-status-creator"> <?php echo GetMessage("sender_chain_edit_field_author"); ?> <?php $arUser = \Bitrix\Main\UserTable::getRowById($str_CREATED_BY); echo htmlspecialcharsbx($arUser['NAME'] . ' ' . $arUser['LAST_NAME']); ?> </span> <?php } ?> </span> <span> <?php if ($ID > 0 && $POST_RIGHT >= "W" && \Bitrix\Sender\MailingChainTable::isReadyToSend($ID)) { ?> <input style="margin-left: 80px;" type="button" value="<?php echo GetMessage("sender_chain_edit_btn_send"); ?> " onclick="window.location='/bitrix/admin/sender_mailing_chain_admin.php?MAILING_ID=<?php echo $MAILING_ID; ?> &ID=<?php echo $ID; ?> &action=send&lang=<?php echo LANGUAGE_ID; ?>
echo SelectBoxFromArray("find_status", $arr, $find_status, GetMessage("MAIN_ALL"), ""); ?> </td> </tr> <?php $oFilter->Buttons(array("table_id" => $sTableID, "url" => $APPLICATION->GetCurPage() . "?MAILING_ID=" . $MAILING_ID, "form" => "find_form")); $oFilter->End(); ?> </form> <?php //****************************** // Send mailing and show progress //****************************** if ($_REQUEST['action'] == "send") { $canSend = \Bitrix\Sender\MailingChainTable::isReadyToSend($ID); if (!$canSend) { $canSend = \Bitrix\Sender\MailingChainTable::isManualSentPartly($ID); } if ($canSend) { ?> <div id="progress_message"></div> <script> var stop = false; function Stop() { stop=true; document.getElementById('btn_stop').disabled = true; document.getElementById('btn_cont').disabled = false; } function Cont()
<?php echo GetMessage("sender_chain_edit_field_author"); ?> <?php $arUser = \Bitrix\Main\UserTable::getRowById($str_CREATED_BY); echo htmlspecialcharsbx($arUser['NAME'] . ' ' . $arUser['LAST_NAME']); ?> </span> <?php } ?> </span> <span> <?php if ($ID > 0 && $POST_RIGHT >= "W") { if (\Bitrix\Sender\MailingChainTable::isReadyToSend($ID)) { ?> <input style="margin-left: 80px; margin-right: 15px;" type="button" value="<?php echo GetMessage("sender_chain_edit_btn_send"); ?> " onclick="window.location='/bitrix/admin/sender_mailing_chain_admin.php?MAILING_ID=<?php echo $MAILING_ID; ?> &ID=<?php echo $ID; ?> &action=send&lang=<?php echo LANGUAGE_ID; ?>