View available new versions on dashboard

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12245 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2012-11-16 09:26:40 +00:00
parent 8a60464b18
commit a35ff711c4
6 changed files with 134 additions and 0 deletions

View file

@ -305,10 +305,16 @@ class adminAdminView extends admin
}
}
}
// Get need update from easy install
$oAutoinstallAdminModel = getAdminModel('autoinstall');
$needUpdateList = $oAutoinstallAdminModel->getNeedUpdateList();
Context::set('module_list', $module_list);
Context::set('needUpdate', $isUpdated);
Context::set('addTables', $addTables);
Context::set('needUpdate', $needUpdate);
Context::set('newVersionList', $needUpdateList);
// gathering enviroment check
$mainVersion = join('.', array_slice(explode('.', __ZBXE_VERSION__), 0, 2));