[ Index ]

MailPress 7.2

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

title

Body

[close]

/mp-includes/html/ -> mail.php (source)

   1  <!DOCTYPE html>
   2  <?php include ( 'header.php' ); ?>
   3  <style type="text/css">* html { overflow-x: hidden; }</style>
   4  <?php
   5  register_admin_color_schemes();
   6  
   7  wp_enqueue_style( 'colors' );
   8  wp_enqueue_style( 'ie' );
   9  wp_enqueue_script( 'utils' );
  10  
  11  wp_register_style( 'mp_common',    '/' . MP_PATH . 'mp-admin/css/common.css' );
  12  wp_enqueue_style( 'mp_common' );
  13  wp_register_style( 'mp_exts', '/' . MP_PATH . 'mp-admin/css/_exts.css' );
  14  wp_enqueue_style( 'mp_exts' );
  15  
  16  do_action( 'admin_print_styles' );
  17  ?>
  18  <script type="text/javascript">
  19  //<![CDATA[
  20  addLoadEvent = function( func ) {if ( typeof jQuery != "undefined" ) jQuery( document ).ready( func ); else if ( typeof wpOnload!='function' ){wpOnload=func;} else {var oldonload=wpOnload; wpOnload=function(){oldonload();func();}}};
  21  //]]>
  22  <?php
  23  wp_enqueue_script( 'jquery-ui-tabs' );
  24  do_action( 'admin_print_scripts' );
  25  ?>
  26  <link rel="stylesheet" href="<?php echo site_url() . '/' . MP_PATH; ?>mp-admin/css/mail.css" type="text/css" title="MailPress" media="all" />
  27  </script>
  28  <style type="text/css">
  29  div.mp_ext:first-of-type + div, div.mp_ext_uploading:first-of-type + div {
  30      display: inline;
  31  }
  32  </style>
  33      </head>
  34      <body id="media-upload">
  35          <div id="wpwrap">
  36              <div id="wpcontent" style="margin:0;">
  37                  <div id="wpbody" style="background-color:#fff;margin-left:15px;">
  38                      <div class="wrap">
  39  <?php if ( isset( $view ) ) : ?>
  40                          <form>
  41                              <div id="post-body">
  42                                  <table class="form-table">
  43                                      <tr>
  44                                          <th>
  45                                              <?php _e( 'From', 'MailPress' ); ?>
  46                                          </th>
  47                                          <td>
  48                                              <?php echo $from; ?>
  49                                          </td>
  50                                      </tr>
  51                                      <tr>
  52                                          <th>
  53                                              <?php _e( 'To', 'MailPress' ); ?>
  54                                          </th>
  55                                          <td>
  56                                              <?php echo $to; ?>
  57                                          </td>
  58                                      </tr>
  59                                      <tr>
  60                                          <th>
  61                                              <?php _e( 'Subject', 'MailPress' ); ?>
  62                                          </th>
  63                                          <td>
  64                                              <b><?php echo $subject;?></b> 
  65                                          </td>
  66                                      </tr>
  67                                  </table>
  68                              </div>
  69                          </form>
  70  <?php endif; ?>
  71                          <div id="example">
  72                              <ul class="tablenav ui-tabs-nav">
  73  <?php if ( isset( $plaintext ) ) : ?>
  74                                  <li id="li_plaintext"><a href="#fragment-2"><span><?php _e( 'Plaintext View', 'MailPress' ); ?></span></a></li>
  75  <?php endif; ?>
  76  <?php if ( isset( $html ) ) : ?>
  77                                  <li id="li_html" class="ui-tabs-selected"><a href="#fragment-1"><span><?php _e( 'Html View', 'MailPress' ); ?></span></a></li>
  78  <?php endif; ?>
  79                              </ul>
  80  
  81  <?php if ( isset( $plaintext ) ) : ?>
  82                              <div id="fragment-2">
  83                                  <div style="margin:0;background:#fff;border:1px solid #c0c0c0;padding:5px;">
  84                                      <?php echo $plaintext; ?>
  85                                  </div>
  86                              </div>
  87  <?php endif; ?>
  88  <?php if ( isset( $html ) ) : ?>
  89                              <div id="fragment-1">
  90                                  <div style="margin:0;background:#fff;border:1px solid #c0c0c0;padding:5px;">
  91                                      <?php echo $html; ?>
  92                                  </div>
  93                              </div>
  94  <?php endif; ?>
  95                          </div>
  96  <?php if ( isset( $attachments ) && ( !empty( $attachments ) ) ) : ?>
  97                          <div id="attachments">
  98                              <table>
  99                                  <tr>
 100                                      <td style="vertical-align:top;">
 101                                          <?php _e( 'Attachments', 'MailPress' ); ?>
 102                                      </td>
 103                                      <td>
 104                                          <table>
 105                                              <?php echo $attachments; ?>
 106                                          </table>
 107                                      </td>
 108                                  </tr>
 109                              </table>
 110                          </div>
 111  <?php endif; ?>
 112                      </div>
 113                  </div>
 114              </div>
 115              <br />
 116          </div>
 117  <?php do_action( 'admin_print_footer_scripts' ); ?>
 118  <script type="text/javascript">
 119      jQuery( document ).ready( function(){ jQuery( '#example' ).tabs( {active:1} ); } );
 120  </script>
 121      </body>
 122  </html>


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