b2evolution PHP Cross Reference Blogging Systems

Source: /skins/_users.disp.php - 55 lines - 1257 bytes - Text - Print

Description: This is the template that displays users

   1  <?php
   2  /**

   3   * This is the template that displays users

   4   *

   5   * This file is not meant to be called directly.

   6   * It is meant to be called by an include in the main.page.php template.

   7   *

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

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

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

  11   *

  12   * @package evoskins

  13   */
  14  if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
  15  
  16  // Load classes

  17  load_class( 'users/model/_user.class.php', 'User' );
  18  
  19  // init variables

  20  global $inc_path;
  21  global $Users;
  22  global $edited_User;
  23  
  24  global $Skin;
  25  if( !empty( $Skin ) )
  26  {
  27      $display_params = array_merge( $Skin->get_template( 'Results' ), $Skin->get_template( 'users' ) );
  28  }
  29  else
  30  {
  31      $display_params = NULL;
  32  }
  33  
  34  
  35  // ----------------------- End Init variables --------------------------

  36  
  37  // set params

  38  if( !isset( $params ) )
  39  {
  40      $params = array();
  41  }
  42  
  43  $params = array_merge( array(
  44      'form_class' => 'bComment',
  45      'form_title' => '',
  46      'form_action' => '',
  47      'form_name' => '',
  48      'form_layout' => NULL,
  49      'cols' => 40
  50      ), $params );
  51  
  52  
  53  require $inc_path.'users/views/_user_list_short.view.php';
  54  
  55  ?>

title

Description

title

Description

title

Description

title

title

Body