add extra [setup][info][extra_untranslated] field for storing data which does not get translated, see 'About JiNN' why

This commit is contained in:
Pim Snel 2004-06-23 20:01:34 +00:00
parent c4957fdb6a
commit 9cb898201e

View File

@ -22,8 +22,8 @@
{
if (!($included = $GLOBALS['phpgw']->hooks->single('about',$app)))
{
function about_app()
{
function about_app()
{
global $app;
$icon = $GLOBALS['phpgw']->common->image($app,array('navbar','nonav'));
include (PHPGW_INCLUDE_ROOT . "/$app/setup/setup.inc.php");
@ -48,7 +48,10 @@ function about_app()
$info['note'] = lang($info['note']);
$s .= "<tr><td colspan='2' align='left'><i>$info[note]</i></td></tr>\n";
}
}
foreach ($other_infos as $key => $val)
{
if (isset($info[$key]))
@ -83,10 +86,16 @@ function about_app()
$s .= "</td></tr>\n";
}
}
if ($info['extra_untranslated'])
{
$s .= "<tr><td colspan='2' align='left'>$info[extra_untranslated]</td></tr>\n";
}
$s .= "</table>\n";
return $s;
}
}
$api_only = !($included = file_exists(PHPGW_INCLUDE_ROOT . "/$app/setup/setup.inc.php"));
}
}