Ignore:
Timestamp:
Jun 18, 2006, 2:04:59 PM (18 years ago)
Author:
nikrou
Message:

Issue 426: first step; separation of admin and public into two templates
Need to simplify and delete files not needed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/page_header.php

    r1303 r1363  
    2929// Start output of page
    3030//
    31 $template->set_filenames(array('header'=>'header.tpl'));
     31if (IN_ADMIN)
     32{
     33  $template->set_rootdir(PHPWG_ROOT_PATH.'template/admin/'.$user['template']);
     34  $template->set_filenames(array('header'=>'header.tpl'));
     35}
     36else
     37{
     38  $template->set_rootdir(PHPWG_ROOT_PATH.'template/public/'.$user['template']);
     39  $template->set_filenames(array('header'=>'header.tpl'));
     40}
    3241
    3342$template->assign_vars(
Note: See TracChangeset for help on using the changeset viewer.