b2evolution PHP Cross Reference Blogging Systems

Source: /skins_email/account_reported.html.php - 51 lines - 2354 bytes - Text - Print

Description: This is sent to ((SystemAdmins)) to notify them that a ((User)) account has been reported by another user.

   1  <?php
   2  /**

   3   * This is sent to ((SystemAdmins)) to notify them that a ((User)) account has been reported by another user.

   4   *

   5   * For more info about email skins, see: http://b2evolution.net/man/themes-templates-skins/email-skins/

   6   *

   7   * b2evolution - {@link http://b2evolution.net/}

   8   * Released under GNU GPL License - {@link http://b2evolution.net/about/license.html}

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

  10   *

  11   * @version $Id: account_reported.html.php 6136 2014-03-08 07:59:48Z manuel $

  12   */
  13  if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
  14  
  15  // ---------------------------- EMAIL HEADER INCLUDED HERE ----------------------------

  16  emailskin_include( '_email_header.inc.html.php', $params );
  17  // ------------------------------- END OF EMAIL HEADER --------------------------------

  18  
  19  global $admin_url, $htsrv_url;
  20  
  21  // Default params:

  22  $params = array_merge( array(
  23          'login'          => '',
  24          'email'          => '',
  25          'report_status'  => '',
  26          'report_info'    => '',
  27          'user_ID'        => '',
  28          'reported_by'    => '', // Login of user who has reported this user account
  29      ), $params );
  30  
  31  echo '<p>'.sprintf( T_('A user account was reported by %s'), get_user_colored_login( $params['reported_by'] ) )."</p>\n";
  32  
  33  echo '<p>'.T_('Login').": ".get_user_colored_login( $params['login'] )."</p>\n";
  34  echo '<p>'.T_('Email').": ".$params['email']."</p>\n";
  35  echo '<p>'.T_('Reported as').": ".$params['report_status']."</p>\n";
  36  echo '<p>'.T_('Extra info').": ".nl2br( $params['report_info'] )."</p>\n";
  37  
  38  // Buttons:

  39  echo '<div class="buttons">'."\n";
  40  echo get_link_tag( $admin_url.'?ctrl=user&user_tab=admin&user_ID='.$params['user_ID'], T_( 'Edit User account' ), 'button_yellow' )."\n";
  41  echo "</div>\n";
  42  
  43  // Footer vars:

  44  $params['unsubscribe_text'] = T_( 'If you don\'t want to receive any more notification when an account was reported, click here:' )
  45              .' <a href="'.$htsrv_url.'quick_unsubscribe.php?type=account_reported&user_ID=$user_ID$&key=$unsubscribe_key$">'
  46              .T_('instant unsubscribe').'</a>.';
  47  
  48  // ---------------------------- EMAIL FOOTER INCLUDED HERE ----------------------------

  49  emailskin_include( '_email_footer.inc.html.php', $params );
  50  // ------------------------------- END OF EMAIL FOOTER --------------------------------

  51  ?>

title

Description

title

Description

title

Description

title

title

Body