public function module_info($exts)
{
global $global_config;
$xtpl = new XTemplate('updatestep3.tpl', NV_ROOTDIR . '/install/tpl');
$xtpl->assign('LANG', $this->lang);
$xtpl->assign('CONFIG', $this->config);
$xtpl->assign('NV_BASE_SITEURL', NV_BASE_SITEURL);
$i = 0;
foreach ($exts as $mod) {
if ($mod['type'] == 'module' and in_array($mod['name'], array('banners', 'comment', 'contact', 'feeds', 'freecontent', 'menu', 'news', 'page', 'seek', 'statistics', 'users', 'voting')) or $mod['type'] == 'theme' and in_array($mod['name'], array('default', 'mobile_default'))) {
$mod['note'] = $this->lang['update_mod_uptodate'];
} else {
$mod['note'] = $this->lang['update_mod_othermod'];
}
$mod['class'] = $i++ % 2 ? 'specalt' : 'spec';
$mod['time'] = $mod['date'] ? nv_date('d/m/y H:i', strtotime($mod['date'])) : 'N/A';
$xtpl->assign('ROW', $mod);
$xtpl->parse('module_info.loop');
}
$xtpl->parse('module_info');
echo $xtpl->text('module_info');
exit;
}