Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post What Is This Codes Function 
 
HI

I was wondering if someone could tell me what this piece of code is for....I understand it is part of the cms but I was wondering what is its function...

it is in includes/page_header.php

Code: [Download] [Hide] [Select]
if( empty($gen_simple_header) && (!defined('HAS_DIED')) && (!defined('IN_LOGIN')) && ( ($cms_wide_blocks == true) || !empty($cms_page_id) ) && ($board_config['board_disable'] == false) )
{
    $template->assign_block_vars('switch_importal', array(
        'SPACER' => $images['spacer'],
        )
    );

    $template->set_filenames(array('portal_header' => 'portal_page_header.tpl'));
    cms_parse_blocks($cms_page_id, !empty($cms_page_id), $cms_wide_blocks, 'header');
    $template->assign_var('PORTAL_HEADER', cms_assign_var_from_handle($template, 'portal_header'));

    $template->set_filenames(array('portal_headerleft' => 'portal_page_headerleft.tpl'));
    if (cms_parse_blocks($cms_page_id, !empty($cms_page_id), $cms_wide_blocks, 'headerleft'))
    {
        $template->assign_var('HEADER_WIDTH', $cms_config_vars['header_width']);
        $template->assign_var('PORTAL_HEADERLEFT', cms_assign_var_from_handle($template, 'portal_headerleft'));
    }

    $template->set_filenames(array('portal_headercenter' => 'portal_page_headercenter.tpl'));
    if (cms_parse_blocks($cms_page_id, !empty($cms_page_id), $cms_wide_blocks, 'headercenter'))
    {
        $template->assign_var('PORTAL_HEADERCENTER', cms_assign_var_from_handle($template, 'portal_headercenter'));
    }


and this smal bit found in the same file

Code: [Download] [Hide] [Select]
$nav_cat_desc = make_cat_nav_tree($nav_key, $nav_pgm);



thanks for any help.
 




____________
Mods and themes for Icy Phoenix 1.3

IcyPhoenix UK is off-line permanently due to lack of time to update mods.
if anyone is interested in my templates I will upgrade them to Icy 2.0.
 
DWhoSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: What Is This Codes Function 
 
I figured this out after some time so all is good..
 




____________
Mods and themes for Icy Phoenix 1.3

IcyPhoenix UK is off-line permanently due to lack of time to update mods.
if anyone is interested in my templates I will upgrade them to Icy 2.0.
 
DWhoSend private messageVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events