[6779] | 1 | <?php |
---|
| 2 | /************************************************************************************\ |
---|
| 3 | * Expresso Administração * |
---|
| 4 | * by Joao Alfredo Knopik Junior (joao.alfredo@gmail.com, jakjr@celepar.pr.gov.br) * |
---|
| 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 | |
---|
| 12 | $GLOBALS['phpgw_info'] = array(); |
---|
| 13 | $GLOBALS['phpgw_info']['flags']['currentapp'] = 'listAdmin'; |
---|
| 14 | include('../../header.inc.php'); |
---|
| 15 | |
---|
| 16 | $template = CreateObject('phpgwapi.Template',PHPGW_APP_TPL); |
---|
| 17 | $template->set_file(Array('expressoadmin' => 'access_denied.tpl')); |
---|
| 18 | |
---|
| 19 | $template->set_block('expressoadmin','main'); |
---|
| 20 | |
---|
| 21 | $var = Array( |
---|
| 22 | 'lang_access_denied' => lang('You dont have access to this module.'), |
---|
| 23 | 'lang_back' => lang('Back'), |
---|
| 24 | 'back_url' => $GLOBALS['phpgw']->link('/listAdmin/index.php') |
---|
| 25 | ); |
---|
| 26 | $template->set_var($var); |
---|
| 27 | |
---|
| 28 | $template->pfp('out','main'); |
---|
| 29 | $GLOBALS['phpgw']->common->phpgw_footer(); |
---|
| 30 | ?> |
---|