[ Index ]

MailPress 544

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

title

Body

[close]

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

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


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