[1860] | 1 | <?php |
---|
[5509] | 2 | /*************************************************************************** |
---|
| 3 | * Expresso Livre * |
---|
| 4 | * http://www.expressolivre.org * |
---|
| 5 | * -------------------------------------------- * |
---|
| 6 | * This program is free software; you can redistribute it and/or modify it * |
---|
| 7 | * under the terms of the GNU General Public License as published by the * |
---|
| 8 | * Free Software Foundation; either version 2 of the License, or (at your * |
---|
| 9 | * option) any later version. * |
---|
| 10 | \**************************************************************************/ |
---|
| 11 | |
---|
[1860] | 12 | $GLOBALS['phpgw_info']['flags'] = array( |
---|
| 13 | 'disable_Template_class' => True, |
---|
| 14 | 'login' => True, |
---|
| 15 | 'currentapp' => 'login', |
---|
| 16 | 'noheader' => True |
---|
| 17 | ); |
---|
| 18 | require_once('./header.inc.php'); |
---|
| 19 | $GLOBALS['phpgw_info']['server']['template_dir'] = PHPGW_SERVER_ROOT . '/phpgwapi/templates/' . $GLOBALS['phpgw_info']['login_template_set']; |
---|
| 20 | $tmpl = CreateObject('phpgwapi.Template', $GLOBALS['phpgw_info']['server']['template_dir']); |
---|
| 21 | $tmpl->set_file(array('login_form' => 'help.tpl')); |
---|
| 22 | $tmpl->set_var('website_title', $GLOBALS['phpgw_info']['server']['site_title']); |
---|
| 23 | $tmpl->set_var('template_set',$GLOBALS['phpgw_info']['login_template_set']); |
---|
| 24 | $GLOBALS['phpgw']->translation->init(); |
---|
| 25 | $GLOBALS['phpgw']->translation->add_app('loginhelp'); |
---|
| 26 | $GLOBALS['phpgw']->translation->add_app('loginhelp',$_GET['lang']); |
---|
| 27 | if(lang('loginhelp_message') != 'loginhelp_message*') |
---|
| 28 | { |
---|
| 29 | $tmpl->set_var('login_help',lang('loginhelp_message')); |
---|
| 30 | } |
---|
| 31 | $tmpl->pfp('loginout','login_form'); |
---|
| 32 | ?> |
---|
| 33 | |
---|