// Context part 6
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7625 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -63,13 +63,13 @@ class AdminAccess extends AdminTab
|
||||
|
||||
public function displayForm($isMainTab = true)
|
||||
{
|
||||
global $cookie, $currentIndex;
|
||||
$context = Context::getContext();
|
||||
parent::displayForm();
|
||||
|
||||
$currentProfile = (int)($this->getCurrentProfileId());
|
||||
$tabs = Tab::getTabs($cookie->id_lang);
|
||||
$profiles = Profile::getProfiles((int)($cookie->id_lang));
|
||||
$accesses = Profile::getProfileAccesses((int)($currentProfile));
|
||||
$tabs = Tab::getTabs($context->language->id);
|
||||
$profiles = Profile::getProfiles($context->language->id);
|
||||
$accesses = Profile::getProfileAccesses($context->language->id);
|
||||
|
||||
echo '
|
||||
<script type="text/javascript">
|
||||
|
||||
Reference in New Issue
Block a user