mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 09:23:28 +01:00
add extra [setup][info][extra_untranslated] field for storing data which does not get translated, see 'About JiNN' why
This commit is contained in:
parent
c4957fdb6a
commit
9cb898201e
15
about.php
15
about.php
@ -22,8 +22,8 @@
|
|||||||
{
|
{
|
||||||
if (!($included = $GLOBALS['phpgw']->hooks->single('about',$app)))
|
if (!($included = $GLOBALS['phpgw']->hooks->single('about',$app)))
|
||||||
{
|
{
|
||||||
function about_app()
|
function about_app()
|
||||||
{
|
{
|
||||||
global $app;
|
global $app;
|
||||||
$icon = $GLOBALS['phpgw']->common->image($app,array('navbar','nonav'));
|
$icon = $GLOBALS['phpgw']->common->image($app,array('navbar','nonav'));
|
||||||
include (PHPGW_INCLUDE_ROOT . "/$app/setup/setup.inc.php");
|
include (PHPGW_INCLUDE_ROOT . "/$app/setup/setup.inc.php");
|
||||||
@ -48,7 +48,10 @@ function about_app()
|
|||||||
$info['note'] = lang($info['note']);
|
$info['note'] = lang($info['note']);
|
||||||
$s .= "<tr><td colspan='2' align='left'><i>$info[note]</i></td></tr>\n";
|
$s .= "<tr><td colspan='2' align='left'><i>$info[note]</i></td></tr>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
foreach ($other_infos as $key => $val)
|
foreach ($other_infos as $key => $val)
|
||||||
{
|
{
|
||||||
if (isset($info[$key]))
|
if (isset($info[$key]))
|
||||||
@ -83,10 +86,16 @@ function about_app()
|
|||||||
$s .= "</td></tr>\n";
|
$s .= "</td></tr>\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($info['extra_untranslated'])
|
||||||
|
{
|
||||||
|
$s .= "<tr><td colspan='2' align='left'>$info[extra_untranslated]</td></tr>\n";
|
||||||
|
}
|
||||||
|
|
||||||
$s .= "</table>\n";
|
$s .= "</table>\n";
|
||||||
|
|
||||||
return $s;
|
return $s;
|
||||||
}
|
}
|
||||||
$api_only = !($included = file_exists(PHPGW_INCLUDE_ROOT . "/$app/setup/setup.inc.php"));
|
$api_only = !($included = file_exists(PHPGW_INCLUDE_ROOT . "/$app/setup/setup.inc.php"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user