[ Index ]

MailPress 544

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

title

Body

[close]

/mp-admin/includes/settings/ -> batches_bounce_handling_II.form.php (source)

   1  <?php
   2  
   3  $xevery = array (    30     => sprintf(__('%1$s seconds', MP_TXTDOM), '30'), 
   4              45     => sprintf(__('%1$s seconds', MP_TXTDOM), '45'), 
   5              60     => sprintf(__('%1$s minute' , MP_TXTDOM) , ''), 
   6              120     => sprintf(__('%1$s minutes', MP_TXTDOM), '2'), 
   7              300     => sprintf(__('%1$s minutes', MP_TXTDOM), '5'), 
   8              900     => sprintf(__('%1$s minutes', MP_TXTDOM), '15'), 
   9              1800     => sprintf(__('%1$s minutes', MP_TXTDOM), '30'), 
  10              3600     => sprintf(__('%1$s hour',     MP_TXTDOM), '') ); 
  11  
  12  $xmailboxstatus = array(    0    =>    __('no changes', MP_TXTDOM),
  13                      1    =>    __('mark as read', MP_TXTDOM),
  14                      2    =>    __('delete', MP_TXTDOM) );
  15  
  16  if (!isset($bounce_handling_II)) $bounce_handling_II = get_option(MailPress_bounce_handling_II::option_name);
  17  ?>
  18  <tr>
  19      <th class='thtitle'><?php _e('Handling Bounces', MP_TXTDOM); ?> II</th>
  20      <td></td>
  21  </tr>
  22  <?php if (!class_exists('MailPress_bounce_handling')) : ?>
  23  <tr>
  24      <th><?php _e('Return-Path', MP_TXTDOM); ?></th>
  25      <td class='field'>
  26          <input type='text' size='25' name='bounce_handling_II[Return-Path]' value="<?php if (isset($bounce_handling_II['Return-Path'])) echo $bounce_handling_II['Return-Path']; ?>" />
  27          <br /><?php _e('optional', MP_TXTDOM); ?>
  28      </td>
  29  </tr>
  30  <?php endif; ?>
  31  <tr>
  32      <th><?php _e('Max bounces per user', MP_TXTDOM); ?></th>
  33      <td class='field'>
  34          <select name='bounce_handling_II[max_bounces]'  style='width:4em;'>
  35  <?php MP_AdminPage::select_number(0, 5, ( (isset($bounce_handling_II['max_bounces'])) ? $bounce_handling_II['max_bounces'] : 1 ) );?>
  36          </select>
  37      </td>
  38  </tr>
  39  <tr>
  40      <th><?php _e('Bounce in mailbox', MP_TXTDOM); ?></th>
  41      <td class='field'>
  42          <select name='bounce_handling_II[mailbox_status]'>
  43  <?php MP_AdminPage::select_option($xmailboxstatus, ( (isset($bounce_handling_II['mailbox_status'])) ? $bounce_handling_II['mailbox_status'] : 2 ) );?>
  44          </select>
  45      </td>
  46  </tr>
  47  <tr>
  48      <th><?php _e('Submit batch with', MP_TXTDOM); ?></th>
  49      <td>
  50          <table class='general'>
  51              <tr>
  52                  <td class='pr10'>
  53                      <label for='bounce_handling_II_wp_cron'>
  54                          <input value='wpcron' name='bounce_handling_II[batch_mode]' id='bounce_handling_II_wp_cron' class='submit_batch_bounce_II tog' type='radio' <?php checked('wpcron', $bounce_handling_II['batch_mode']); ?> />
  55                          &#160;&#160;
  56                          <?php _e('WP_Cron', MP_TXTDOM); ?>
  57                      </label>
  58                  </td>
  59                  <td class='bounce_II_wpcron pr10 toggl3_II<?php if ('wpcron' != $bounce_handling_II['batch_mode']) echo ' hide'; ?>' style='padding-left:10px;vertical-align:bottom;'>
  60                      <?php _e('Every', MP_TXTDOM); ?>
  61                      &#160;&#160;
  62                      <select name='bounce_handling_II[every]' id='every_bounce' >
  63  <?php MP_AdminPage::select_option($xevery, $bounce_handling_II['every']);?>
  64                      </select>
  65                  </td>
  66              </tr>
  67              <tr>
  68                  <td class='pr10'>
  69                      <label for='bounce_handling_II_other'>
  70                          <input value='other' name='bounce_handling_II[batch_mode]' id='bounce_handling_II_other' class='submit_batch_bounce_II tog' type='radio' <?php checked('other', $bounce_handling_II['batch_mode']); ?> />
  71                          &#160;&#160;
  72                          <?php _e('Other', MP_TXTDOM); ?>
  73                      </label>
  74                  </td>
  75                  <td class='bounce_II_other pr10 toggl3_II<?php if ('other' != $bounce_handling_II['batch_mode']) echo ' hide'; ?>'>
  76                      <?php printf(__('see sample in "%1$s"', MP_TXTDOM), '<code>' . MP_CONTENT_DIR . 'xtras/mp_bounce_handling_II' . '</code>'); ?>
  77                  </td>
  78              </tr>
  79          </table>
  80      </td>
  81  </tr>
  82  <tr class='mp_sep' style='line-height:2px;padding:0;'><td style='line-height:2px;padding:0;'></td><td></td></tr>


Generated: Thu Apr 28 18:38:52 2016 Cross-referenced by PHPXref 0.7.1