[ Index ]

MailPress 7.2

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

title

Body

[close]

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

   1  <?php // privacy
   2  
   3  if ( !isset( $privacy ) )
   4  {
   5      $privacy = get_option( MailPress_privacy::option_name );
   6          if ( !isset( $privacy['batch_mode'] ) ) $privacy['batch_mode'] = 'wpcron';
   7  }
   8  ?>
   9  <form name="<?php echo basename(__DIR__); ?>" method="post" class="mp_settings">
  10      <input type="hidden" name="_tab" value="<?php echo basename(__DIR__); ?>" />
  11      <table class="form-table">
  12  <!-- Pop3 -->
  13  
  14  <?php MP_AdminPage::pop3_form( $privacy, 'privacy' ); ?>
  15  
  16  <!-- mailbox -->
  17          <tr class="mp_sep">
  18              <th class="thtitle"><?php _e( 'Mailbox', 'MailPress' ); ?></th>
  19              <td></td>
  20          </tr>
  21  <!-- subjects words -->
  22          <tr>
  23              <th><label for="privacy_export_word"><?php _e( 'Mail Subjects', 'MailPress' ); ?></label></th>
  24              <td class="field">
  25                  <input type="text" name="privacy[export_word]" value="<?php echo ( isset( $privacy['export_word'] ) ) ? esc_attr( $privacy['export_word'] ) : 'export'; ?>" class="regular-text ltr<?php if ( isset( MP_AdminPage::$err_mess['privacy_export_word'] ) ) echo ' form-invalid'; ?>" id="privacy_export_word" />
  26                  <span class="italic"><?php _e( 'one word for export data request', 'MailPress'); ?></span>
  27                  <br />
  28                  <input type="text" name="privacy[erase_word]" value="<?php echo ( isset( $privacy['erase_word'] ) )  ? esc_attr( $privacy['erase_word'] )  : 'erase';  ?>"  class="regular-text ltr<?php if ( isset( MP_AdminPage::$err_mess['privacy_erase_word'] ) )  echo ' form-invalid'; ?>" />
  29                  <span class="italic"><?php _e( 'one word for erase data request', 'MailPress'); ?></span>
  30              </td>
  31          </tr>
  32  <!-- cron -->
  33          <tr class="mp_sep">
  34              <th class="thtitle"><?php _e( 'Batch', 'MailPress' ); ?></th>
  35              <td></td>
  36          </tr>
  37  <?php MP_AdminPage::cron_form( $privacy, 'privacy', 'MailPress_privacy', 'h_d' ); ?>
  38      </table>
  39  
  40  <?php MP_AdminPage::save_button(); ?>
  41  
  42  </form>


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