Ignore:
Timestamp:
02/14/12 16:52:04 (12 years ago)
Author:
acoutinho
Message:

Ticket #2434 - Implementacao anexos, acls e delegacao de participantes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/links.php

    r5399 r5514  
    1515{ 
    1616    $concepts = array(); 
     17    $nestedLinks = array(); 
    1718 
    1819    foreach( $link as $linkName => $linkTarget ) 
    19          if( Controller::isConcept( $linkName ) ) 
     20    { 
     21         if( Controller::isConcept( $concept, $linkName ) ) 
    2022            $concepts[ $linkName ] = true; 
    2123 
    22     $return[ $target ] = array( 'concepts' => $concepts, 'links' => $link ); 
     24          $nestedLinks[ $linkName ] = Controller::links( $concept, $linkName ); 
     25    } 
     26 
     27    $return[ $target ] = array( 'concepts' => $concepts, 'links' => $link, 'nestedLinks' => $nestedLinks ); 
    2328} 
    2429 
Note: See TracChangeset for help on using the changeset viewer.