1 | <?php |
---|
2 | /**************************************************************************\ |
---|
3 | * phpGroupWare * |
---|
4 | * http://www.phpgroupware.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 | |
---|
12 | |
---|
13 | function parse_navbar($force = False) |
---|
14 | { |
---|
15 | $GLOBALS['idots_tpl'] = createobject('phpgwapi.Template',PHPGW_TEMPLATE_DIR); |
---|
16 | |
---|
17 | $GLOBALS['idots_tpl']->set_file( |
---|
18 | array( |
---|
19 | 'navbar' => 'navbar.tpl' |
---|
20 | ) |
---|
21 | ); |
---|
22 | |
---|
23 | $GLOBALS['idots_tpl']->set_block('navbar','navbar_header','navbar_header'); |
---|
24 | $GLOBALS['idots_tpl']->set_block('navbar','extra_blocks_header','extra_block_header'); |
---|
25 | $GLOBALS['idots_tpl']->set_block('navbar','extra_block_row','extra_block_row'); |
---|
26 | $GLOBALS['idots_tpl']->set_block('navbar','extra_block_row_raw','extra_block_row_raw'); |
---|
27 | $GLOBALS['idots_tpl']->set_block('navbar','extra_block_row_no_link','extra_block_row_no_link'); |
---|
28 | $GLOBALS['idots_tpl']->set_block('navbar','extra_block_spacer','extra_block_spacer'); |
---|
29 | $GLOBALS['idots_tpl']->set_block('navbar','extra_blocks_footer','extra_blocks_footer'); |
---|
30 | $GLOBALS['idots_tpl']->set_block('navbar','sidebox_hide_header','sidebox_hide_header'); |
---|
31 | $GLOBALS['idots_tpl']->set_block('navbar','sidebox_hide_footer','sidebox_hide_footer'); |
---|
32 | $GLOBALS['idots_tpl']->set_block('navbar','appbox','appbox'); |
---|
33 | $GLOBALS['idots_tpl']->set_block('navbar','navbar_footer','navbar_footer'); |
---|
34 | |
---|
35 | $var['img_root'] = $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/idots/images'; |
---|
36 | $var['table_bg_color'] = $GLOBALS['phpgw_info']['theme']['navbar_bg']; |
---|
37 | |
---|
38 | if($GLOBALS['phpgw_info']['user']['preferences']['common']['click_or_onmouseover']=='onmouseover') |
---|
39 | { |
---|
40 | $show_menu_event = 'onMouseOver'; |
---|
41 | } |
---|
42 | else |
---|
43 | { |
---|
44 | $show_menu_event = 'onClick'; |
---|
45 | } |
---|
46 | |
---|
47 | |
---|
48 | $applications = ''; |
---|
49 | |
---|
50 | // == 'icons_and_text') |
---|
51 | |
---|
52 | $max_icons=$GLOBALS['phpgw_info']['user']['preferences']['common']['max_icons']; |
---|
53 | if(!$max_icons) |
---|
54 | { |
---|
55 | $max_icons=200; |
---|
56 | } |
---|
57 | |
---|
58 | foreach($GLOBALS['phpgw_info']['navbar'] as $app => $app_data) |
---|
59 | { |
---|
60 | if($app != 'preferences' && $app != 'about' && $app != 'logout') |
---|
61 | { |
---|
62 | $title = $GLOBALS['phpgw_info']['apps'][$app]['title']; |
---|
63 | $icon = '<img src="' . $app_data['icon'] . '" alt="' . $title . '" title="'. $title . '" border="0" />'; |
---|
64 | |
---|
65 | |
---|
66 | if($app=='home') |
---|
67 | { |
---|
68 | $title = lang('home'); |
---|
69 | $icon = '<img src="' . $app_data['icon'] . '" alt="' . lang('home') . '" title="' . lang('home') . '" border="0" />'; |
---|
70 | } |
---|
71 | |
---|
72 | if($i<$max_icons) |
---|
73 | { |
---|
74 | if($GLOBALS['phpgw_info']['user']['preferences']['common']['start_and_logout_icons']=='no') |
---|
75 | { |
---|
76 | $tdwidth = 100/($max_icons); |
---|
77 | } |
---|
78 | else |
---|
79 | { |
---|
80 | $tdwidth = 100/($max_icons+2); |
---|
81 | } |
---|
82 | |
---|
83 | $app_icons .= '<td width="'.$tdwidth.'%" height="66" valign="bottom" align="center" style="text-align:center"><a href="' . $app_data['url'] . '"'; |
---|
84 | |
---|
85 | if(isset($GLOBALS['phpgw_info']['flags']['navbar_target']) && $GLOBALS['phpgw_info']['flags']['navbar_target']) |
---|
86 | { |
---|
87 | $app_icons .= ' target="' . $GLOBALS['phpgw_info']['flags']['navbar_target'] . '"'; |
---|
88 | } |
---|
89 | |
---|
90 | $app_icons .= $app_data['target'].'>' . $icon . '</a></td>'; |
---|
91 | |
---|
92 | $app_titles .= '<td align="center" valign="top" class="appTitles" style="text-align:center"><a href="'.$app_data['url'] . '"'; |
---|
93 | |
---|
94 | if(isset($GLOBALS['phpgw_info']['flags']['navbar_target']) && $GLOBALS['phpgw_info']['flags']['navbar_target']) |
---|
95 | { |
---|
96 | $app_titles .= ' target="' . $GLOBALS['phpgw_info']['flags']['navbar_target'] . '"'; |
---|
97 | } |
---|
98 | |
---|
99 | $app_titles .= $app_data['target'].'>' . $title . '</a></td>'; |
---|
100 | } |
---|
101 | // else // generate extra icon layer | always shows icons and text |
---|
102 | else // generate extra icon layer shows icons and/or text |
---|
103 | { |
---|
104 | // check for small icon version else use default and let the browser resize |
---|
105 | $icon = '<img src="' . $app_data['icon'] . '" alt="' . $title . '" width="16" title="'. $title . '" border="0" />'; |
---|
106 | |
---|
107 | $app_extra_icons .= '<tr>'; |
---|
108 | |
---|
109 | if($GLOBALS['phpgw_info']['user']['preferences']['common']['navbar_format']!='text') |
---|
110 | { |
---|
111 | $app_extra_icons .= '<td class="extraIconsRow"><a href="' . $app_data['url'] . '"'; |
---|
112 | |
---|
113 | if(isset($GLOBALS['phpgw_info']['flags']['navbar_target']) && $GLOBALS['phpgw_info']['flags']['navbar_target']) |
---|
114 | { |
---|
115 | $app_extra_icons .= ' target="' . $GLOBALS['phpgw_info']['flags']['navbar_target'] . '"'; |
---|
116 | } |
---|
117 | |
---|
118 | $app_extra_icons .= ' >' . $icon . '</a></td>'; |
---|
119 | } |
---|
120 | |
---|
121 | |
---|
122 | |
---|
123 | // $app_extra_icons .= '<tr><td><a href="' . $app_data['url'] . '"'; |
---|
124 | |
---|
125 | // if(isset($GLOBALS['phpgw_info']['flags']['navbar_target']) && $GLOBALS['phpgw_info']['flags']['navbar_target']) |
---|
126 | // { |
---|
127 | // $app_extra_icons .= ' target="' . $GLOBALS['phpgw_info']['flags']['navbar_target'] . '"'; |
---|
128 | // } |
---|
129 | |
---|
130 | // $app_extra_icons .= '>' . $icon . '</a></td>'; |
---|
131 | |
---|
132 | $app_extra_icons .= '<td align="left" class="extraIconsRow" style=""><a href="'.$app_data['url'] . '"'; |
---|
133 | |
---|
134 | if(isset($GLOBALS['phpgw_info']['flags']['navbar_target']) && $GLOBALS['phpgw_info']['flags']['navbar_target']) |
---|
135 | { |
---|
136 | $app_extra_icons .= ' target="' . $GLOBALS['phpgw_info']['flags']['navbar_target'] . '"'; |
---|
137 | } |
---|
138 | |
---|
139 | $app_extra_icons .= '>' . $title . '</a></td></tr>'; |
---|
140 | } |
---|
141 | |
---|
142 | unset($icon); |
---|
143 | unset($title); |
---|
144 | $i++; |
---|
145 | } |
---|
146 | } |
---|
147 | |
---|
148 | if($GLOBALS['phpgw_info']['user']['preferences']['common']['start_and_logout_icons']!='no') |
---|
149 | { |
---|
150 | $app_icons .= '<td width="'.$tdwidth.'%" height="32" valign="bottom" align="center" style="text-align:center"><a href="'.$GLOBALS['phpgw_info']['navbar']['logout']['url'].'"><img src="'.$GLOBALS['phpgw_info']['navbar']['logout']['icon'].'" title="'.$GLOBALS['phpgw_info']['navbar']['logout']['title'].'" alt="'.$GLOBALS['phpgw_info']['navbar']['logout']['title'].'"></a></td>'; |
---|
151 | $app_titles .= '<td align="center" valign="top" class="appTitles" style="text-align:center"><a href="'.$GLOBALS['phpgw_info']['navbar']['logout']['url'].'">'.$GLOBALS['phpgw_info']['navbar']['logout']['title'].'</a></td>'; |
---|
152 | |
---|
153 | } |
---|
154 | // $var['app_icons'] = $app_icons; |
---|
155 | if($GLOBALS['phpgw_info']['user']['preferences']['common']['navbar_format']!='text') |
---|
156 | { |
---|
157 | $var['app_icons'] = $app_icons; |
---|
158 | } |
---|
159 | |
---|
160 | if($i > $max_icons) |
---|
161 | { |
---|
162 | // table width=100% fixed layout bug (ndee130204) |
---|
163 | $app_extra_icons_div = ' |
---|
164 | <script language="javascript"> |
---|
165 | new ypSlideOutMenu("menu1", "down", 10, 114, 160, 200,\'right\') |
---|
166 | </script> |
---|
167 | <div id="menu1Container"> |
---|
168 | <div id="menu1Content" style="position: relative; left: 0; text-align: left;"> |
---|
169 | |
---|
170 | <div id="extraIcons"> |
---|
171 | |
---|
172 | <table cellspacing="0" cellpadding="0" border="0" width="100%"> |
---|
173 | <tr><td colspan="2" nowrap="nowrap" align="right" style="background-color:#dddddd;padding:1px;"> |
---|
174 | <a href="#" '.$show_menu_event.'="ypSlideOutMenu.hide(\'menu1\')" title="'.lang('close').'"> |
---|
175 | <img style="" border="0" src="'.$var['img_root'].'/close.png"/></a></td></tr> |
---|
176 | '.$app_extra_icons.'</table> |
---|
177 | </div> |
---|
178 | |
---|
179 | </div> |
---|
180 | </div> |
---|
181 | '; |
---|
182 | |
---|
183 | $var['app_extra_icons_div']= $app_extra_icons_div; |
---|
184 | // $var['app_extra_icons_icon']= '<td width="26" valign="top" align="right" style="padding-right:3px;padding-top:50px;"><a title="'.lang('show_more_apps').'" href="javascript:void(0);" onClick="HideShow(\'extraIcons\');"><img src="'.$var['img_root'].'/extra_icons.png" border="0" /></a></td>'; |
---|
185 | $var['app_extra_icons_icon']= '<td width="26" valign="top" align="right" style="padding-right:3px;padding-top:50px;"><a title="'.lang('show_more_apps').'" href="#" '.$show_menu_event.'="ypSlideOutMenu.showMenu(\'menu1\')"><img src="'.$var['img_root'].'/extra_icons.png" border="0" /></a></td>'; |
---|
186 | } |
---|
187 | |
---|
188 | if($GLOBALS['phpgw_info']['user']['preferences']['common']['navbar_format']!='icons') |
---|
189 | { |
---|
190 | $var['app_titles'] = $app_titles; |
---|
191 | } |
---|
192 | else |
---|
193 | { |
---|
194 | $var['app_titles'] = '<td colspan="'.$max_icons.'"> </td>'; |
---|
195 | } |
---|
196 | if(isset($GLOBALS['phpgw_info']['flags']['app_header'])) |
---|
197 | { |
---|
198 | $var['current_app_title'] = $GLOBALS['phpgw_info']['flags']['app_header']; |
---|
199 | } |
---|
200 | else |
---|
201 | { |
---|
202 | $var['current_app_title']=$GLOBALS['phpgw_info']['navbar'][$GLOBALS['phpgw_info']['flags']['currentapp']]['title']; |
---|
203 | } |
---|
204 | |
---|
205 | if(isset($GLOBALS['phpgw_info']['navbar']['admin']) && $GLOBALS['phpgw_info']['user']['preferences']['common']['show_currentusers']) |
---|
206 | { |
---|
207 | $var['current_users'] = '<a href="' |
---|
208 | . $GLOBALS['phpgw']->link('/index.php','menuaction=admin.uicurrentsessions.list_sessions') . '">' |
---|
209 | . lang('Current users') . ': ' . $GLOBALS['phpgw']->session->total() . '</a>'; |
---|
210 | } |
---|
211 | $now = time(); |
---|
212 | $var['user_info'] = '<b>'.$GLOBALS['phpgw']->common->display_fullname() .'</b>'. ' - ' |
---|
213 | . lang($GLOBALS['phpgw']->common->show_date($now,'l')) . ' ' |
---|
214 | . $GLOBALS['phpgw']->common->show_date($now,$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat']); |
---|
215 | |
---|
216 | if($GLOBALS['phpgw_info']['user']['lastpasswd_change'] == 0) |
---|
217 | { |
---|
218 | $api_messages = lang('You are required to change your password during your first login') |
---|
219 | . '<br> Click this image on the navbar: <img src="' |
---|
220 | . $GLOBALS['phpgw']->common->image('preferences','navbar.gif').'">'; |
---|
221 | } |
---|
222 | elseif($GLOBALS['phpgw_info']['user']['lastpasswd_change'] < time() - (86400*30)) |
---|
223 | { |
---|
224 | $api_messages = lang('it has been more then %1 days since you changed your password',30); |
---|
225 | } |
---|
226 | |
---|
227 | // This is gonna change |
---|
228 | if(isset($cd)) |
---|
229 | { |
---|
230 | $var['messages'] = $api_messages . '<br>' . checkcode($cd); |
---|
231 | } |
---|
232 | |
---|
233 | if (substr($GLOBALS['phpgw_info']['server']['login_logo_file'],0,4) == 'http') |
---|
234 | { |
---|
235 | $var['logo_file'] = $GLOBALS['phpgw_info']['server']['login_logo_file']; |
---|
236 | } |
---|
237 | else |
---|
238 | { |
---|
239 | $var['logo_file'] = $GLOBALS['phpgw']->common->image('phpgwapi',$GLOBALS['phpgw_info']['server']['login_logo_file']?$GLOBALS['phpgw_info']['server']['login_logo_file']:'logo'); |
---|
240 | } |
---|
241 | $var['logo_url'] = $GLOBALS['phpgw_info']['server']['login_logo_url']?$GLOBALS['phpgw_info']['server']['login_logo_url']:'http://www.eGroupWare.org'; |
---|
242 | if (substr($var['logo_url'],0,4) != 'http') |
---|
243 | { |
---|
244 | $var['logo_url'] = 'http://'.$var['logo_url']; |
---|
245 | } |
---|
246 | $var['logo_title'] = $GLOBALS['phpgw_info']['server']['login_logo_title']?$GLOBALS['phpgw_info']['server']['login_logo_title']:'www.eGroupWare.org'; |
---|
247 | |
---|
248 | $GLOBALS['idots_tpl']->set_var($var); |
---|
249 | $GLOBALS['idots_tpl']->pfp('out','navbar_header'); |
---|
250 | |
---|
251 | /******************************************************\ |
---|
252 | * The sidebox menu's * |
---|
253 | \******************************************************/ |
---|
254 | |
---|
255 | $menu_title = lang('General Menu'); |
---|
256 | |
---|
257 | $file['Home'] = $GLOBALS['phpgw_info']['navbar']['home']['url']; |
---|
258 | if($GLOBALS['phpgw_info']['user']['apps']['preferences']) |
---|
259 | { |
---|
260 | $file['Preferences'] = $GLOBALS['phpgw_info']['navbar']['preferences']['url']; |
---|
261 | } |
---|
262 | $file += array( |
---|
263 | array( |
---|
264 | 'text' => lang('About %1',$GLOBALS['phpgw_info']['apps'][$GLOBALS['phpgw_info']['flags']['currentapp']]['title']), |
---|
265 | 'no_lang' => True, |
---|
266 | 'link' => $GLOBALS['phpgw_info']['navbar']['about']['url'] |
---|
267 | ), |
---|
268 | 'Logout'=>$GLOBALS['phpgw_info']['navbar']['logout']['url'] |
---|
269 | ); |
---|
270 | |
---|
271 | if($GLOBALS['phpgw_info']['user']['preferences']['common']['auto_hide_sidebox']==1) |
---|
272 | { |
---|
273 | $GLOBALS['idots_tpl']->set_var('show_menu_event',$show_menu_event); |
---|
274 | $GLOBALS['idots_tpl']->set_var('lang_show_menu',lang('show menu')); |
---|
275 | $GLOBALS['idots_tpl']->pparse('out','sidebox_hide_header'); |
---|
276 | |
---|
277 | display_sidebox('',$menu_title,$file); |
---|
278 | $GLOBALS['phpgw']->hooks->single('sidebox_menu',$GLOBALS['phpgw_info']['flags']['currentapp']); |
---|
279 | |
---|
280 | $GLOBALS['idots_tpl']->pparse('out','sidebox_hide_footer'); |
---|
281 | |
---|
282 | $var['sideboxcolstart']=''; |
---|
283 | |
---|
284 | $GLOBALS['idots_tpl']->set_var($var); |
---|
285 | $GLOBALS['idots_tpl']->pparse('out','appbox'); |
---|
286 | $var['remove_padding'] = 'style="padding-left:0px;"'; |
---|
287 | $var['sideboxcolend'] = ''; |
---|
288 | } |
---|
289 | else |
---|
290 | { |
---|
291 | $var['menu_link'] = ''; |
---|
292 | $var['sideboxcolstart'] = '<td id="tdSidebox" valign="top">'; |
---|
293 | $var['remove_padding'] = ''; |
---|
294 | $GLOBALS['idots_tpl']->set_var($var); |
---|
295 | $GLOBALS['idots_tpl']->pparse('out','appbox'); |
---|
296 | |
---|
297 | display_sidebox('',$menu_title,$file); |
---|
298 | $GLOBALS['phpgw']->hooks->single('sidebox_menu',$GLOBALS['phpgw_info']['flags']['currentapp']); |
---|
299 | |
---|
300 | $var['sideboxcolend'] = '</td>'; |
---|
301 | } |
---|
302 | |
---|
303 | $GLOBALS['idots_tpl']->set_var($var); |
---|
304 | $GLOBALS['idots_tpl']->pparse('out','navbar_footer'); |
---|
305 | |
---|
306 | // If the application has a header include, we now include it |
---|
307 | if(!@$GLOBALS['phpgw_info']['flags']['noappheader'] && @isset($_GET['menuaction'])) |
---|
308 | { |
---|
309 | list($app,$class,$method) = explode('.',$_GET['menuaction']); |
---|
310 | if(is_array($GLOBALS[$class]->public_functions) && $GLOBALS[$class]->public_functions['header']) |
---|
311 | { |
---|
312 | $GLOBALS[$class]->header(); |
---|
313 | } |
---|
314 | } |
---|
315 | $GLOBALS['phpgw']->hooks->process('after_navbar'); |
---|
316 | return; |
---|
317 | } |
---|
318 | |
---|
319 | function display_sidebox($appname,$menu_title,$file) |
---|
320 | { |
---|
321 | if(!$appname || ($appname==$GLOBALS['phpgw_info']['flags']['currentapp'] && $file)) |
---|
322 | { |
---|
323 | $var['lang_title']=$menu_title;//$appname.' '.lang('Menu'); |
---|
324 | $GLOBALS['idots_tpl']->set_var($var); |
---|
325 | $GLOBALS['idots_tpl']->pfp('out','extra_blocks_header'); |
---|
326 | |
---|
327 | foreach($file as $text => $url) |
---|
328 | { |
---|
329 | sidebox_menu_item($url,$text); |
---|
330 | } |
---|
331 | |
---|
332 | $GLOBALS['idots_tpl']->pparse('out','extra_blocks_footer'); |
---|
333 | } |
---|
334 | } |
---|
335 | |
---|
336 | function sidebox_menu_item($item_link='',$item_text='') |
---|
337 | { |
---|
338 | if($item_text === '_NewLine_' || $item_link === '_NewLine_') |
---|
339 | { |
---|
340 | $GLOBALS['idots_tpl']->pparse('out','extra_block_spacer'); |
---|
341 | } |
---|
342 | else |
---|
343 | { |
---|
344 | $var['icon_or_star']='<img src="'.$GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/idots/images'.'/orange-ball.png" width="9" height="9" alt="ball"/>'; |
---|
345 | $var['target'] = ''; |
---|
346 | if(is_array($item_link)) |
---|
347 | { |
---|
348 | if(isset($item_link['icon'])) |
---|
349 | { |
---|
350 | $app = isset($item_link['app']) ? $item_link['app'] : $GLOBALS['phpgw_info']['flags']['currentapp']; |
---|
351 | $var['icon_or_star'] = $item_link['icon'] ? '<img style="margin:0px 2px 0px 2px" src="'.$GLOBALS['phpgw']->common->image($app,$item_link['icon']).'"/>' : False; |
---|
352 | } |
---|
353 | $var['lang_item'] = isset($item_link['no_lang']) && $item_link['no_lang'] ? $item_link['text'] : lang($item_link['text']); |
---|
354 | $var['item_link'] = $item_link['link']; |
---|
355 | if ($item_link['target']) |
---|
356 | { |
---|
357 | $var['target'] = ' target="' . $item_link['target'] . '"'; |
---|
358 | } |
---|
359 | } |
---|
360 | else |
---|
361 | { |
---|
362 | $var['lang_item'] = lang($item_text); |
---|
363 | $var['item_link'] = $item_link; |
---|
364 | } |
---|
365 | $GLOBALS['idots_tpl']->set_var($var); |
---|
366 | |
---|
367 | $block = 'extra_block_row'; |
---|
368 | if ($var['item_link'] === False) |
---|
369 | { |
---|
370 | $block .= $var['icon_or_star'] === False ? '_raw' : '_no_link'; |
---|
371 | } |
---|
372 | $GLOBALS['idots_tpl']->pparse('out',$block); |
---|
373 | } |
---|
374 | } |
---|
375 | |
---|
376 | function parse_navbar_end() |
---|
377 | { |
---|
378 | $GLOBALS['idots_tpl'] = createobject('phpgwapi.Template',PHPGW_TEMPLATE_DIR); |
---|
379 | |
---|
380 | $GLOBALS['idots_tpl']->set_file( |
---|
381 | array( |
---|
382 | 'footer' => 'footer.tpl' |
---|
383 | ) |
---|
384 | ); |
---|
385 | $var = Array( |
---|
386 | 'img_root' => $GLOBALS['phpgw_info']['server']['webserver_url'] . '/phpgwapi/templates/idots/images', |
---|
387 | 'table_bg_color' => $GLOBALS['phpgw_info']['theme']['navbar_bg'], |
---|
388 | 'version' => $GLOBALS['phpgw_info']['server']['versions']['phpgwapi'] |
---|
389 | ); |
---|
390 | $GLOBALS['phpgw']->hooks->process('navbar_end'); |
---|
391 | |
---|
392 | if($GLOBALS['phpgw_info']['user']['preferences']['common']['show_generation_time']) |
---|
393 | { |
---|
394 | $mtime = microtime(); |
---|
395 | $mtime = explode(' ',$mtime); |
---|
396 | $mtime = $mtime[1] + $mtime[0]; |
---|
397 | $tend = $mtime; |
---|
398 | $totaltime = ($tend - $GLOBALS['page_start_time']); |
---|
399 | |
---|
400 | $var['page_generation_time'] = '<div id="divGenTime"><br/><span>'.lang('Page was generated in %1 seconds',$totaltime).'</span></div>'; |
---|
401 | } |
---|
402 | |
---|
403 | $var['powered_by'] = lang('Powered by phpGroupWare version %1',$GLOBALS['phpgw_info']['server']['versions']['phpgwapi']); |
---|
404 | $GLOBALS['idots_tpl']->set_var($var); |
---|
405 | $GLOBALS['idots_tpl']->pfp('out','footer'); |
---|
406 | } |
---|