Proyectos de Subversion LeadersLinked - Services

Rev

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

Rev 157 Rev 167
Línea 1942... Línea 1942...
1942
            
1942
            
1943
            $currentUserPlugin = $this->plugin('currentUserPlugin');
1943
            $currentUserPlugin = $this->plugin('currentUserPlugin');
1944
            if($currentUserPlugin->hasIdentity()) {
1944
            if($currentUserPlugin->hasIdentity()) {
Línea 1945... Línea -...
1945
                $currentUser = $currentUserPlugin->getUser();
-
 
1946
                
-
 
1947
        
-
 
Línea 1948... Línea -...
1948
                
-
 
1949
                
-
 
1950
 
-
 
1951
                
-
 
1952
  
1945
                $currentUser = $currentUserPlugin->getUser();
Línea 1953... Línea 1946...
1953
 
1946
                
1954
                
1947
 
1955
                
1948
                
Línea 2007... Línea 2000...
2007
                    }
2000
                    }
2008
                } else {
2001
                } else {
Línea 2009... Línea 2002...
2009
                   
2002
                   
Línea -... Línea 2003...
-
 
2003
                }
-
 
2004
                
-
 
2005
                
-
 
2006
   
2010
                }
2007
                
2011
                
2008
                
2012
                if ($acl->isAllowed($currentUser->usertype_id,  'knowledge-area')) {
2009
                if ($acl->isAllowed($currentUser->usertype_id,  'knowledge-area')) {
2013
                    $route_knowledge_area = $this->url()->fromRoute('knowledge-area');
2010
                    $route_knowledge_area = $this->url()->fromRoute('knowledge-area');
Línea 2126... Línea 2123...
2126
                    'country'               => $country,
2123
                    'country'               => $country,
2127
                    'visits'                => $visits,
2124
                    'visits'                => $visits,
2128
                    'connections'           => $connections,
2125
                    'connections'           => $connections,
2129
                    'logoForNavbar'         => 'https://' . $network->main_hostname . '/storage-network/type/navbar',
2126
                    'logoForNavbar'         => 'https://' . $network->main_hostname . '/storage-network/type/navbar',
2130
                    'defaultNetwork'        => $network->default,
2127
                    'defaultNetwork'        => $network->default,
2131
                    'linkKnowledgeArea'     => $link_knowledge_area == 1,
2128
                    //'linkKnowledgeArea'     => $link_knowledge_area == 1,
2132
                    'routeKnowledgeArea'    => $route_knowledge_area,
2129
                    //'routeKnowledgeArea'    => $route_knowledge_area,
2133
                    'linkMyCoach'           => $link_my_coach == 1,
2130
                    //'linkMyCoach'           => $link_my_coach == 1,
2134
                    'routeMyCoach'          => $route_my_coach,
2131
                    //'routeMyCoach'          => $route_my_coach,
2135
               ]);     
2132
               ]);     
Línea 2136... Línea 2133...
2136
 
2133