forked from extern/egroupware
loading infolog translations if current_app is NOT infolog
This commit is contained in:
parent
ee2b5cf164
commit
b731dcbfe0
@ -91,6 +91,7 @@ class infolog_ui
|
|||||||
*/
|
*/
|
||||||
function __construct()
|
function __construct()
|
||||||
{
|
{
|
||||||
|
if ($GLOBALS['egw_info']['flags']['currentapp'] != 'infolog') $GLOBALS['egw']->translation->add_app('infolog');
|
||||||
$this->bo = new infolog_bo();
|
$this->bo = new infolog_bo();
|
||||||
|
|
||||||
$this->tmpl = new etemplate();
|
$this->tmpl = new etemplate();
|
||||||
@ -312,7 +313,7 @@ class infolog_ui
|
|||||||
}
|
}
|
||||||
// do we need to read the custom fields, depends on the column is enabled and customfields exist, prefs are filter specific
|
// do we need to read the custom fields, depends on the column is enabled and customfields exist, prefs are filter specific
|
||||||
// so we have to check that as well
|
// so we have to check that as well
|
||||||
$details = $query['filter2'] == 'all';
|
$details = $query['filter2'] == 'all';
|
||||||
$columselection = $this->prefs['nextmatch-infolog.index.rows'.($details?'-details':'')];
|
$columselection = $this->prefs['nextmatch-infolog.index.rows'.($details?'-details':'')];
|
||||||
//_debug_array($columselection);
|
//_debug_array($columselection);
|
||||||
if ($columselection)
|
if ($columselection)
|
||||||
@ -1367,8 +1368,6 @@ class infolog_ui
|
|||||||
|
|
||||||
if (!empty($_to_emailAddress))
|
if (!empty($_to_emailAddress))
|
||||||
{
|
{
|
||||||
$GLOBALS['egw_info']['flags']['currentapp'] = 'infolog';
|
|
||||||
$GLOBALS['egw']->translation->add_app($GLOBALS['egw_info']['flags']['currentapp']);
|
|
||||||
echo '<script>window.resizeTo(750,550);</script>';
|
echo '<script>window.resizeTo(750,550);</script>';
|
||||||
|
|
||||||
if (is_array($_attachments))
|
if (is_array($_attachments))
|
||||||
|
Loading…
Reference in New Issue
Block a user