Proyectos de Subversion LeadersLinked - Services

Rev

Rev 146 | Rev 167 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 146 Rev 157
Línea 1941... Línea 1941...
1941
            
1941
            
1942
            
1942
            
1943
            $currentUserPlugin = $this->plugin('currentUserPlugin');
1943
            $currentUserPlugin = $this->plugin('currentUserPlugin');
-
 
1944
            if($currentUserPlugin->hasIdentity()) {
Línea 2002... Línea 2003...
2002
                            if($companyUser && $companyUser->status == CompanyUser::STATUS_ACCEPTED && $companyUser->backend == CompanyUser::BACKEND_YES ) {
2003
                            if($companyUser && $companyUser->status == CompanyUser::STATUS_ACCEPTED && $companyUser->backend == CompanyUser::BACKEND_YES ) {
2003
                                $link_company = ['route' => 'backend/signin-company', 'id' => $company->uuid ];
2004
                                $link_company = ['route' => 'backend/signin-company', 'id' => $company->uuid ];
2004
                            }
2005
                            }
2005
                        }
2006
                        }
2006
                    }
2007
                    }
-
 
2008
                } else {
-
 
2009
                   
2007
                }
2010
                }
Línea 2008... Línea 2011...
2008
                
2011
                
2009
                if ($acl->isAllowed($currentUser->usertype_id,  'knowledge-area')) {
2012
                if ($acl->isAllowed($currentUser->usertype_id,  'knowledge-area')) {
2010
                    $route_knowledge_area = $this->url()->fromRoute('knowledge-area');
2013
                    $route_knowledge_area = $this->url()->fromRoute('knowledge-area');
Línea 2050... Línea 2053...
2050
                    
2053
                    
2051
                    $ajax = false;
2054
                    $ajax = false;
Línea 2052... Línea 2055...
2052
                    if ($page['route'] == 'company' && $network->default == Network::DEFAULT_NO) {
2055
                    if ($page['route'] == 'company' && $network->default == Network::DEFAULT_NO) {
2053
                        
2056
                        
2054
                        if ($link_company) {
2057
                        if ($link_company) {
2055
                            $page['route'] = $this->url($link_company['route'], ['id' => $link_company['id']]);
2058
                            $page['route'] = $this->url()->fromRoute($link_company['route'], ['id' => $link_company['id']]);
2056
                            $ajax = true;
2059
                            $ajax = true;
2057
                        } else {
2060
                        } else {
2058
                            continue;
2061
                            continue;