Revision 494,
879 bytes
checked in by niltonneto, 16 years ago
(diff) |
Alteração do template para a pasta default, antes era Celepar.
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | <?php |
---|
2 | /******************************************************* |
---|
3 | * Im - JabberIt |
---|
4 | * Colaboradores : Alexandre Correia / Rodrigo Souza |
---|
5 | * |
---|
6 | * ****************************************************/ |
---|
7 | |
---|
8 | |
---|
9 | $GLOBALS['phpgw_info']['flags'] = array( |
---|
10 | 'currentapp' => 'jabberit_messenger', |
---|
11 | 'nonavbar' => true, |
---|
12 | 'noheader' => false, |
---|
13 | 'jabberit_version' => '0.7.7', |
---|
14 | ); |
---|
15 | |
---|
16 | include("../header.inc.php"); |
---|
17 | |
---|
18 | $jabberit_version = $GLOBALS['phpgw_info']['flags']['jabberit_version']; |
---|
19 | |
---|
20 | $template = CreateObject('phpgwapi.Template', PHPGW_APP_TPL); |
---|
21 | $template->set_file(Array('jabberit_messenger' => 'index.tpl')); |
---|
22 | $template->set_var('template_default', $GLOBALS['phpgw_info']['user']['preferences']['common']['template_set']); |
---|
23 | $template->set_var('template_set', 'default'); |
---|
24 | $template->set_block('jabberit_messenger','index'); |
---|
25 | $template->pfp('out','index'); |
---|
26 | |
---|
27 | |
---|
28 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.