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

@ -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,6 +86,12 @@ 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;