Changeset 10812 for trunk/profile.php


Ignore:
Timestamp:
May 7, 2011, 5:55:10 PM (13 years ago)
Author:
mistic100
Message:

merge spread_menus to the core

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/profile.php

    r10198 r10812  
    6969  $title= l10n('Your Gallery Customization');
    7070  $page['body_id'] = 'theProfilePage';
    71   include(PHPWG_ROOT_PATH.'include/page_header.php');
     71  $template->set_filename('profile', 'profile.tpl');
    7272
    7373  load_profile_in_template(
     
    8383    $template->assign('errors', $errors);
    8484  }
    85   $template->set_filename('profile', 'profile.tpl');
     85 
     86  // include menubar
     87  $themeconf = $template->get_template_vars('themeconf');
     88  if (!isset($themeconf['Exclude']) OR !in_array('theProfilePage', $themeconf['Exclude']))
     89  {
     90    include( PHPWG_ROOT_PATH.'include/menubar.inc.php');
     91  }
     92 
     93  include(PHPWG_ROOT_PATH.'include/page_header.php');
    8694  trigger_action('loc_end_profile');
    8795  $template->pparse('profile');
Note: See TracChangeset for help on using the changeset viewer.