Ignore:
Timestamp:
Jul 1, 2010, 12:00:51 AM (14 years ago)
Author:
datajulien
Message:

theme changer :
Correction du bug sur la suppression du thème présent sur une association active.
Utilisation unique des id des thèmes.
Mise en place jquery et tableSorter pour la gestion des tris.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/nbc_ThemeChanger/main.inc.php

    r6573 r6642  
    5757  if (isset($page['category']['id']) and isset($category_theme[$page['category']['id']]))
    5858  {
    59     $user['theme'] = $category_theme[$page['category']['id']];
     59        if (realpath(PHPWG_ROOT_PATH.'themes'.'/'.$category_theme[$page['category']['id']]))
     60                $user['theme'] = $category_theme[$page['category']['id']];
     61        else
     62                $user['theme'] = 'Sylvia';
    6063       
    6164        $template = new Template(PHPWG_ROOT_PATH.'themes', $user['theme']);
Note: See TracChangeset for help on using the changeset viewer.