Ignore:
Timestamp:
Mar 13, 2010, 1:00:52 AM (14 years ago)
Author:
plg
Message:

feature 1502: based on Dotclear model, P@t has reorganized the way Piwigo
manages template/theme in a simpler "theme only level" architecture. It
supports multiple level inheritance.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/common.inc.php

    r5021 r5123  
    159159    or (defined('PWG_HELP') and PWG_HELP))
    160160{// Admin template
    161   list($user['admin_template'], $user['admin_theme']) =
    162     explode ('/', $conf['admin_layout']);
    163   $template = new Template(PHPWG_ROOT_PATH.'admin/template/'
    164     . $user['admin_template'], $user['admin_theme'] );
     161  $template = new Template(PHPWG_ROOT_PATH.'admin/themes', $conf['admin_theme']);
    165162}
    166163else
    167164{ // Classic template
    168   $template = new Template(PHPWG_ROOT_PATH.'template/'
    169     . $user['template'], $user['theme'] );
     165  $template = new Template(PHPWG_ROOT_PATH.'themes', $user['theme'] );
    170166}
    171167
Note: See TracChangeset for help on using the changeset viewer.