Ignore:
Timestamp:
04/28/09 17:15:52 (15 years ago)
Author:
niltonneto
Message:

Resolve #475

Location:
sandbox/expresso/novos_templates
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • sandbox/expresso/novos_templates

    • Property svn:ignore set to
      header.inc.php
      .svnignore
  • sandbox/expresso/novos_templates/phpgwapi/inc/functions.inc.php

    r440 r773  
    385385                { 
    386386                        $GLOBALS['phpgw']->template = CreateObject('phpgwapi.Template',PHPGW_APP_TPL); 
     387                        preg_match('/(.*)\/(.*)/', PHPGW_APP_TPL, $matches); 
     388 
     389                        if ($GLOBALS['phpgw_info']['flags']['currentapp'] != "jabberit_messenger") 
     390                        $_SESSION['phpgw_info'][$GLOBALS['phpgw_info']['flags']['currentapp']]['user']['preferences']['common']['template_set'] = $matches[2]; 
    387391                } 
    388392 
Note: See TracChangeset for help on using the changeset viewer.