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/common.inc.php

    r1303 r1363  
    202202// TODO : replace initial $user['template'] by $user['layout']
    203203
     204if (IN_ADMIN)
     205{
     206  $template_root = 'admin';
     207}
     208else
     209{
     210  $template_root = 'public';
     211}
    204212include(
    205213  PHPWG_ROOT_PATH
    206   .'template/'.$user['template']
     214  .'template/'.$template_root.'/'.$user['template']
    207215  .'/theme/'.$user['theme']
    208216  .'/themeconf.inc.php'
Note: See TracChangeset for help on using the changeset viewer.