egroupware/about.php

44 lines
1.5 KiB
PHP
Raw Normal View History

2000-12-23 01:45:58 +01:00
<?php
/**************************************************************************\
* phpGroupWare *
* http://www.phpgroupware.org *
* -------------------------------------------- *
* This program is free software; you can redistribute it and/or modify it *
* under the terms of the GNU General Public License as published by the *
* Free Software Foundation; either version 2 of the License, or (at your *
* option) any later version. *
\**************************************************************************/
/* $Id$ */
2000-12-23 01:45:58 +01:00
$GLOBALS['phpgw_info'] = array();
$GLOBALS['phpgw_info']['flags']['currentapp'] = 'about';
include('header.inc.php');
2000-12-23 01:45:58 +01:00
$app = $HTTP_GET_VARS['app'];
2001-04-08 09:50:20 +02:00
if ($app)
{
$included = $GLOBALS['phpgw']->hooks->single('about',$app);
2001-04-08 09:50:20 +02:00
}
2000-12-23 01:45:58 +01:00
$tpl = CreateObject('phpgwapi.xslttemplates',$GLOBALS['phpgw']->common->get_tpl_dir('phpgwapi','default'));
$tpl->add_file(array('about'));
2000-12-23 01:45:58 +01:00
2001-04-08 09:50:20 +02:00
if ($included)
{
$app_data = about_app();
2001-04-08 09:50:20 +02:00
}
2001-02-04 12:08:53 +01:00
$data = array
(
'phpgw_logo' => $GLOBALS['phpgw']->common->get_image_path('phpgwapi'),
'lang_version' => lang('version'),
'phpgw_version' => 'phpGroupWare API ' . $GLOBALS['phpgw_info']['server']['versions']['phpgwapi'],
'phpgw_descr' => lang('is a multi-user, web-based groupware suite written in PHP'),
'about_app' => $app_data
);
$tpl->set_var('about',$data);
$tpl->pparse();
2001-04-08 09:50:20 +02:00
?>