localized it and made the eGW hack work

This commit is contained in:
Ralf Becker 2003-09-01 14:31:20 +00:00
parent e84233a07f
commit d5f4533cb9
2 changed files with 7 additions and 4 deletions

View File

@ -100,8 +100,11 @@ function about_app()
'phpgw_about_unknown' => 'about_unknown.tpl' 'phpgw_about_unknown' => 'about_unknown.tpl'
)); ));
$tpl->set_var('webserver_url',$GLOBALS['phpgw']->common->get_image_path('phpgwapi')); $tpl->set_var('phpgw_logo',$GLOBALS['phpgw']->common->image('phpgwapi','logo.gif'));
$tpl->set_var('phpgw_version','phpGroupWare API version ' . $GLOBALS['phpgw_info']['server']['versions']['phpgwapi']); $tpl->set_var('phpgw_version',lang('phpGroupWare API version %1',$GLOBALS['phpgw_info']['server']['versions']['phpgwapi']));
$tpl->set_var('phpgw_message',lang('%1phpGroupWare%2 is a multi-user, web-based groupware suite written in %3PHP%4.',
'<a href="http://www.phpGroupWare.org" target="_blank">','</a>','<a href="http://www.php.net" target="_blank">','</a>'));
if ($included) if ($included)
{ {
$tpl->set_var('phpgw_app_about',about_app('','')); $tpl->set_var('phpgw_app_about',about_app('',''));

View File

@ -1,7 +1,7 @@
<table border="0" width="100%"> <table border="0" width="100%">
<tr> <tr>
<td align="left"> <td align="left">
<a href="http://www.phpgroupware.org" target="_new"><img src="{webserver_url}/logo.gif" border="0"></a> <a href="http://www.phpGroupWare.org" target="_new"><img src="{phpgw_logo}" border="0"></a>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -11,7 +11,7 @@
<td align="center">{phpgw_version}</td> <td align="center">{phpgw_version}</td>
</tr> </tr>
<tr> <tr>
<td align="center"><a href="http://www.phpgroupware.org" target="_new">phpGroupWare</a> is a multi-user, web-based groupware suite written in <a href="http://www.php.net" target="_new">PHP</a>.</td> <td align="center">{phpgw_message}</td>
</tr> </tr>
<tr> <tr>
<td><hr></td> <td><hr></td>