modified writeLangFile to be called via [write Langfile] in the eTemplate editor

This commit is contained in:
Ralf Becker 2002-10-19 11:17:24 +00:00
parent 87f812451a
commit cb2503a55b

View File

@ -1562,7 +1562,7 @@
/*!
@function writeLangFile
@abstract writes langfile with all templates and messages registered here
@discussion call as http://domain/phpgroupware/index.php?menuaction=infolog.uiinfolog.writeLangFile
@discussion called via [write Langfile] in the etemplate-editor or as http://domain/phpgroupware/index.php?menuaction=infolog.uiinfolog.writeLangFile
*/
function writeLangFile()
{
@ -1574,7 +1574,6 @@
{
$extra += $msg_arr;
}
_debug_array($extra);
echo $this->tmpl->writeLangFile('infolog','en',$extra);
return $this->tmpl->writeLangFile('infolog','en',$extra);
}
}