b2evolution PHP Cross Reference Blogging Systems

Source: /inc/tools/views/_email_return_details.view.php - 50 lines - 2146 bytes - Text - Print

Description: This file implements the UI view for Tools > Email > Sent

   1  <?php
   2  /**

   3   * This file implements the UI view for Tools > Email > Sent

   4   *

   5   * This file is part of the evoCore framework - {@link http://evocore.net/}

   6   * See also {@link http://sourceforge.net/projects/evocms/}.

   7   *

   8   * @copyright (c)2003-2014 by Francois Planque - {@link http://fplanque.com/}

   9   *

  10   * {@internal License choice

  11   * - If you have received this file as part of a package, please find the license.txt file in

  12   *   the same folder or the closest folder above for complete license terms.

  13   * - If you have received this file individually (e-g: from http://evocms.cvs.sourceforge.net/)

  14   *   then you must choose one of the following licenses before using the file:

  15   *   - GNU General Public License 2 (GPL) - http://www.opensource.org/licenses/gpl-license.php

  16   *   - Mozilla Public License 1.1 (MPL) - http://www.opensource.org/licenses/mozilla1.1.php

  17   * }}

  18   *

  19   * {@internal Open Source relicensing agreement:

  20   * }}

  21   *

  22   * @package admin

  23   *

  24   * @version $Id: _email_sent_details.view.php 349 2011-11-18 11:18:14Z yura $

  25   */
  26  if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
  27  
  28  global $MailReturn;
  29  
  30  $Form = new Form( NULL, 'mail_returns', 'post', 'compact' );
  31  
  32  $Form->global_icon( T_('Cancel viewing!'), 'close', regenerate_url( 'blog' ) );
  33  
  34  $Form->begin_form( 'fform', sprintf( T_('Returned mail ID#%s'), $MailReturn->emret_ID ) );
  35  
  36  $Form->info( T_('Date'), mysql2localedatetime_spans( $MailReturn->emret_timestamp, 'Y-m-d', 'H:i:sP' ) );
  37  
  38  $Form->info( T_('Error Type'), dre_decode_error_type( $MailReturn->emret_errtype ) );
  39  
  40  $Form->info( T_('Address'), '<pre class="email_log"><span>'.htmlspecialchars($MailReturn->emret_address).'</span></pre>' );
  41  
  42  $Form->info( T_('Error'), '<pre class="email_log"><span>'.htmlspecialchars($MailReturn->emret_errormsg).'</span></pre>' );
  43  
  44  $Form->info( T_('Headers'), '<pre class="email_log_scroll"><span>'.htmlspecialchars($MailReturn->emret_headers).'</span></pre>' );
  45  
  46  $Form->info( T_('Message'), '<pre class="email_log_scroll"><span>'.htmlspecialchars($MailReturn->emret_message).'</span></pre>' );
  47  
  48  $Form->end_form();
  49  
  50  ?>

title

Description

title

Description

title

Description

title

title

Body