Show if module add objects tables
This commit is contained in:
parent
632119a5c5
commit
5ed22b64fb
@ -374,6 +374,23 @@ if ($mode == 'feature')
|
||||
|
||||
$text.='<br><br>';
|
||||
|
||||
$text.='<br><strong>'.$langs->trans("AddDataTables").':</strong> ';
|
||||
$sqlfiles = dol_dir_list(dol_buildpath($moduledir.'/sql/'), 'files', 0, 'llx.*\.sql', array('\.key\.sql'));
|
||||
if (count($sqlfiles) > 0)
|
||||
{
|
||||
$text.=$langs->trans("Yes").' (';
|
||||
$i=0;
|
||||
foreach($sqlfiles as $val)
|
||||
{
|
||||
$text.=($i?', ':'').preg_replace('/\.sql$/','',preg_replace('/llx_/','',$val['name']));
|
||||
$i++;
|
||||
}
|
||||
$text.=')';
|
||||
}
|
||||
else $text.=$langs->trans("No");
|
||||
|
||||
$text.='<br>';
|
||||
|
||||
$text.='<br><strong>'.$langs->trans("AddDictionaries").':</strong> ';
|
||||
if (isset($objMod->dictionaries) && isset($objMod->dictionaries['tablib']) && is_array($objMod->dictionaries['tablib']) && count($objMod->dictionaries['tablib']))
|
||||
{
|
||||
|
||||
@ -1696,8 +1696,9 @@ SeeSubstitutionVars=See * note for list of possible substitution variables
|
||||
AllPublishers=All publishers
|
||||
UnknownPublishers=Unknown publishers
|
||||
AddRemoveTabs=Add or remove tabs
|
||||
AddDataTables=Add object tables
|
||||
AddDictionaries=Add dictionaries tables
|
||||
AddData=Add dictionaries data
|
||||
AddData=Add objects or dictionaries data
|
||||
AddBoxes=Add widgets
|
||||
AddSheduledJobs=Add scheduled jobs
|
||||
AddHooks=Add hooks
|
||||
|
||||
Loading…
Reference in New Issue
Block a user