Add special case for mainscreen_message=mainscreen_message (maybe english only?)

This commit is contained in:
Miles Lott 2006-05-17 21:14:20 +00:00
parent 97236d44b2
commit f1a2c2f815

View File

@ -75,7 +75,7 @@
** Display the mainscreen message
*/
$GLOBALS['egw']->translation->add_app('mainscreen');
if (lang('mainscreen_message') != 'mainscreen_message*')
if((lang('mainscreen_message') != 'mainscreen_message*') && (lang('mainscreen_message') != 'mainscreen_message'))
{
echo '<div style="text-align: center;">' . lang('mainscreen_message') . "</div>\n";
}