- Kod: Tümünü seç
##############################################################
## MOD Title: User CP Organize
## MOD Author(s): (Dustin Baccetti) http://www.dumbassjones.com/forums/viewforum.php?f=52
## Modes and switches in usercp_register.php inspired by User Control Panel MOD by;
## president < paul@eirlan.com > (Paul Mara) http://minds.may.ie/~provost/
## netclectic < adrian@netclectic.com > (Adrian Cockburn) http://netclectic.com/
## MJ < N/A > (N/A) N/A
## Bicet < bicets@gmail.com > (Nicola Tonon) http://www.vagito.net
## MOD Description: Reorganizes the physical layout of the different sections when a user edits their profile.
## MOD Version: 1.0.5
page_header'deki ImPortal değişikliği:
(cerber'in öğretmenine selamlar, kısa yöntem için)
[syntax="php"]//-- [+] IM portal -----------------------------------------------
//-- add
//
// debug forum wide Portal
/*if($layout_forum_wide_flag)
$temp_debug = 1;
else
$temp_debug = 0;
die('debug: ' . strval(empty($gen_simple_header)) . ' | ' . strval($temp_debug) . ' | ' . strval($portal_config['portal_header']) . ' | ' . strval(defined('HAS_DIED')) . ' | ' . strval(defined('IN_LOGIN')));*/
// debug forum wide Portal
//-- [+] ALEXIS ---------------------------------------------------------
//-- add - profil, kişisel mesaj sayfasında IM portal sol blok gösterme
//
$dosya = basename($_SERVER['SCRIPT_NAME']);
if ( strcmp($dosya,'profile.php') && strcmp($dosya,'privmsg.php') )
{
if(empty($gen_simple_header))
{
if(!$layout_forum_wide_flag&&$portal_config['portal_header']&&(!defined('HAS_DIED'))&&(!defined('IN_LOGIN')))
{
$template->set_filenames(array(
'portal_header' => 'portal_page_header.tpl')
);
portal_parse_blocks($portal_config['default_portal'], TRUE, 'header');
$template->assign_var('HEADER_WIDTH', $portal_config['header_width']);
$template->assign_var('PORTAL_HEADER', portal_assign_var_from_handle($template, 'portal_header'));
}
}
}
//
//-- [-] ALEXIS ---------------------------------------------------------
//
//-- [-] IM portal -----------------------------------------------[/syntax]