mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-24 20:01:36 +02:00
update about
This commit is contained in:
parent
c4237ef897
commit
65d2a5b542
32
about.php
32
about.php
@ -22,46 +22,46 @@
|
|||||||
{
|
{
|
||||||
$app = 'phpgwapi';
|
$app = 'phpgwapi';
|
||||||
}
|
}
|
||||||
$app_data['title'] = str_replace('- ','-',ucwords(str_replace('_','- ',$app)));
|
|
||||||
$app_data['icon'] = $GLOBALS['phpgw']->common->image($app,'navbar');
|
|
||||||
|
|
||||||
$setup_file = PHPGW_INCLUDE_ROOT . '/' . $app . '/setup/setup.inc.php';
|
$setup_file = PHPGW_INCLUDE_ROOT . '/' . $app . '/setup/setup.inc.php';
|
||||||
|
|
||||||
if (@file_exists($setup_file))
|
if (@file_exists($setup_file))
|
||||||
{
|
{
|
||||||
include($setup_file);
|
include($setup_file);
|
||||||
|
|
||||||
$fields = array(
|
$fields = array
|
||||||
|
(
|
||||||
'version',
|
'version',
|
||||||
'description',
|
'description',
|
||||||
'note',
|
'note',
|
||||||
'author',
|
'author',
|
||||||
'maintainer',
|
|
||||||
'maintainer_email',
|
|
||||||
'license',
|
'license',
|
||||||
'based_on',
|
'based_on',
|
||||||
'based_on_url'
|
'based_on_url',
|
||||||
|
'maintainer'
|
||||||
);
|
);
|
||||||
while (list(,$field) = each($fields))
|
while (list(,$field) = each($fields))
|
||||||
{
|
{
|
||||||
$app_data[$field] = $setup_info[$app][$field];
|
$app_data[$field] = $setup_info[$app][$field];
|
||||||
}
|
}
|
||||||
$app_data['maintainer_email'] = ereg_replace('([-_a-zA-Z0-9.]+@[-_a-zA-Z0-9.]+)',
|
|
||||||
'<a href="mailto:\\1">\\1</a>',$app_data['maintainer_email']);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$data = array
|
$data = array
|
||||||
(
|
(
|
||||||
'phpgw_logo' => $GLOBALS['phpgw']->common->get_image_path('phpgwapi'),
|
'phpgw_logo' => $GLOBALS['phpgw']->common->get_image_path('phpgwapi'),
|
||||||
'lang_url_statustext' => lang('phpGroupWare homepage'),
|
'lang_url_statustext' => lang('phpGroupWare --> homepage'),
|
||||||
'lang_version' => lang('version'),
|
'lang_version' => lang('version'),
|
||||||
'phpgw_version' => 'phpGroupWare API ' . $GLOBALS['phpgw_info']['server']['versions']['phpgwapi'],
|
'phpgw_version' => 'phpGroupWare API ' . $GLOBALS['phpgw_info']['server']['versions']['phpgwapi'],
|
||||||
'phpgw_descr' => lang('is a multi-user, web-based groupware suite written in PHP'),
|
'phpgw_descr' => lang('is a multi-user, web-based groupware suite written in PHP'),
|
||||||
'about_app' => $app_data + array(
|
'about_app' => $app_data + array
|
||||||
'lang_version' => lang('version'),
|
(
|
||||||
'lang_written_by' => lang('written by'),
|
'title' => lang($app),
|
||||||
'lang_based_on' => lang('based on'),
|
'icon' => $GLOBALS['phpgw']->common->image($app,'navbar'),
|
||||||
'lang_maintainer' => lang('maintainer'),
|
'lang_version' => lang('version'),
|
||||||
'lang_license' => lang('license')
|
'lang_author' => lang('author'),
|
||||||
|
'lang_based_on' => lang('based on'),
|
||||||
|
'lang_maintainer' => lang('maintainer'),
|
||||||
|
'lang_license' => lang('license')
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user