[ Index ]

MailPress 7.2

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/mp-includes/meta_boxes/mail/ -> batch_status.php (source)

   1  <?php
   2  
   3  $out = '';
   4  $out .= '<table class="batch_send">' . "\r\n";
   5  $out .= '<tr><td colspan="4" class="batch_sendc">' . sprintf( __( 'Batch status : %1$s', 'MailPress' ), $mail->status ) . '</td></tr>' . "\r\n";
   6  
   7  if ( is_array( $mailmeta ) ) 
   8  {
   9      $ths = array( __( 'Total recipients', 'MailPress' ), __( 'Sent', 'MailPress' ), __( 'Try/Pass', 'MailPress' ), __( 'Processed', 'MailPress' ), );
  10      $tds = array( $mailmeta['count'], $mailmeta['sent'], $mailmeta['try'] . '/' . $mailmeta['pass'], $mailmeta['processed'] );
  11  
  12      $out .= '<tr><td colspan="4">&#160;</td></tr>' . "\r\n";
  13      $out .= '<tr>';
  14      foreach( $ths as $th ) $out .= '<th>' . $th . '</th>';
  15      $out .= '</tr>' . "\r\n";
  16      $out .= '<tr>';
  17      foreach( $tds as $td ) $out .= '<td class="batch_send">' . $td . '</td>';
  18      $out .= '</tr>' . "\r\n";
  19      if ( !empty( $mailmeta['failed'] ) )
  20      {
  21          $out .= '<tr><td colspan="4">&#160;</td></tr>' . "\r\n";
  22          $out .= '<tr>';
  23          $out .= '<td>' . sprintf( __( 'Pending (%1$s)', 'MailPress' ), count( $mailmeta['failed'] ) ) . '</td>';
  24          $out .= '<td colspan="3"><select>' . MP_AdminPage::select_option( array_keys( $mailmeta['failed'] ), '', false ) . '</select></td>';
  25          $out .= '</tr>' . "\r\n";    
  26      }
  27  }
  28  
  29  $out .= '</table>' . "\r\n";
  30  
  31  echo $out;


Generated: Tue May 19 15:55:14 2020 Cross-referenced by PHPXref 0.7.1