function sendRedirect() { $done = $this->saved->sent_users; $total = $this->saved->count_users; $url = $this->getUrl(null, 'send', null, array('queue_id' => $this->saved->pk())); $text = $total > 0 ? ___('Sending e-mail (sent to %d from %d)', $done, $total) . '. ' . ___('Please wait') : ___('E-Mail sending started'); $text .= '...'; $this->redirectHtml($url, $text, ___('E-Mail Sending') . '...', false, $done, $total); }
function sendRedirect() { $done = $this->saved->sent_users; $total = $this->saved->count_users; $url = $this->getUrl(null, 'send', null, array('queue_id' => $this->saved->pk())); $text = $total > 0 ? ___("Sending e-mail (sent to %d from %d)", $done, $total) . ". " . ___("Please wait") : ___("E-Mail sending started"); $text .= "..."; $this->redirectHtml($url, $text, ___("E-Mail Sending") . '...'); }