Changeset 3483


Ignore:
Timestamp:
11/10/10 09:04:02 (13 years ago)
Author:
rafaelraymundo
Message:

Ticket #1390 - habilita a utilização do arquivo login.tpl do template

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/mobile/login.php

    r3442 r3483  
    2828        } 
    2929 
     30        $GLOBALS['phpgw_info']['server']['template_set'] = $GLOBALS['phpgw_info']['login_template_set']; 
    3031        $GLOBALS['phpgw']->session = CreateObject('phpgwapi.sessions'); 
    3132        $GLOBALS['phpgw_info']['server']['template_dir'] = PHPGW_SERVER_ROOT.$GLOBALS['phpgw_info']['flags']['currentdir'].'/templates/'.$GLOBALS['phpgw_info']['user']['preferences']['common']['template_set']; 
    32         $tmpl = CreateObject('phpgwapi.Template', $GLOBALS['phpgw_info']['server']['template_dir']); 
     33        $tmpl = CreateObject('phpgwapi.Template', PHPGW_SERVER_ROOT . '/mobile/templates/'.$GLOBALS['phpgw_info']['server']['template_set']); 
    3334        $GLOBALS['phpgw_info']['user']['preferences']['common']['template_set'] = $GLOBALS['phpgw_info']['login_template_set']; 
    3435        $tmpl->set_file(array('login_form' => 'login.tpl')); 
Note: See TracChangeset for help on using the changeset viewer.