forked from extern/egroupware
fix custom translations to use eT2
This commit is contained in:
parent
b4148d1b5a
commit
08549368a0
@ -12,6 +12,7 @@
|
|||||||
|
|
||||||
use EGroupware\Api;
|
use EGroupware\Api;
|
||||||
use EGroupware\Api\Egw;
|
use EGroupware\Api\Egw;
|
||||||
|
use EGroupware\Api\Etemplate;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Custom - instance specific - translations
|
* Custom - instance specific - translations
|
||||||
@ -94,7 +95,7 @@ class admin_customtranslation
|
|||||||
$content['msg'] = $msg;
|
$content['msg'] = $msg;
|
||||||
|
|
||||||
$GLOBALS['egw_info']['flags']['app_header'] = lang('Custom translation');
|
$GLOBALS['egw_info']['flags']['app_header'] = lang('Custom translation');
|
||||||
$tpl = new etemplate('admin.customtranslation');
|
$tpl = new Etemplate('admin.customtranslation');
|
||||||
$tpl->exec('admin.admin_customtranslation.index', $content, array(), $readonlys);
|
$tpl->exec('admin.admin_customtranslation.index', $content, array(), $readonlys);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -48,7 +48,7 @@ $setup_info['admin']['depends'][] = array(
|
|||||||
'appname' => 'api',
|
'appname' => 'api',
|
||||||
'versions' => Array('16.1')
|
'versions' => Array('16.1')
|
||||||
);
|
);
|
||||||
// still using old etemplate in: admin_cmds, admin_customtranslation admin admin_statistics
|
// still using old etemplate in: admin_statistics
|
||||||
$setup_info['admin']['depends'][] = array(
|
$setup_info['admin']['depends'][] = array(
|
||||||
'appname' => 'etemplate',
|
'appname' => 'etemplate',
|
||||||
'versions' => Array('14.1')
|
'versions' => Array('14.1')
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
<!-- $Id$ -->
|
<!-- $Id$ -->
|
||||||
<overlay>
|
<overlay>
|
||||||
<template id="admin.customtranslation" template="" lang="" group="0" version="1.9.001">
|
<template id="admin.customtranslation" template="" lang="" group="0" version="1.9.001">
|
||||||
<description id="msg" class="redItalic"/>
|
|
||||||
<grid id="rows">
|
<grid id="rows">
|
||||||
<columns>
|
<columns>
|
||||||
<column/>
|
<column/>
|
||||||
|
Loading…
Reference in New Issue
Block a user