b2evolution PHP Cross Reference Blogging Systems

Source: /skins_email/account_reported.txt.php - 50 lines - 2096 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.txt.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.txt.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 sprintf( T_('A user account was reported by %s'), $params['reported_by'] );
  32  
  33  echo "\n\n";
  34  
  35  echo T_('Login').": ".$params['login']."\n";
  36  echo T_('Email').": ".$params['email']."\n";
  37  echo T_('Reported as').": ".$params['report_status']."\n";
  38  echo T_('Extra info').": ".$params['report_info'];
  39  echo "\n\n";
  40  
  41  echo T_('Edit user').': '.$admin_url.'?ctrl=user&user_tab=admin&user_ID='.$params['user_ID'];
  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          $htsrv_url.'quick_unsubscribe.php?type=account_reported&user_ID=$user_ID$&key=$unsubscribe_key$';
  46  
  47  // ---------------------------- EMAIL FOOTER INCLUDED HERE ----------------------------

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

  50  ?>

title

Description

title

Description

title

Description

title

title

Body