[ Index ]

PHP Cross Reference of phpBB 3.0 Beta 3

title

Body

[close]

/adm/ -> swatch.php (source)

   1  <?php
   2  /** 
   3  *
   4  * @package phpBB3
   5  * @version $Id: swatch.php,v 1.9 2006/07/06 16:46:50 acydburn Exp $
   6  * @copyright (c) 2005 phpBB Group 
   7  * @license http://opensource.org/licenses/gpl-license.php GNU Public License 
   8  *
   9  */
  10  
  11  /**
  12  * @ignore
  13  */
  14  define('IN_PHPBB', true);
  15  $phpbb_root_path = './../';
  16  $phpEx = substr(strrchr(__FILE__, '.'), 1);
  17  include($phpbb_root_path . 'common.' . $phpEx);
  18  
  19  // Start session management
  20  $user->session_begin(false);
  21  $auth->acl($user->data);
  22  $user->setup();
  23  
  24  // Set custom template for admin area
  25  $template->set_custom_template($phpbb_root_path . 'adm/style', 'admin');
  26  
  27  $template->set_filenames(array(
  28      'body' => 'colour_swatch.html')
  29  );
  30  
  31  $template->assign_vars(array(
  32      'OPENER'        => addslashes(request_var('form', '')),
  33      'NAME'            => request_var('name', ''),
  34      'T_IMAGES_PATH'    => "{$phpbb_root_path}images/",)
  35  );
  36  
  37  $template->display('body');
  38  
  39  garbage_collection();
  40  
  41  ?>


Generated: Wed Nov 22 00:35:05 2006 Cross-referenced by PHPXref 0.6