Пример #1
0
             $span->addChild($link);
             $order_div->addChild($span);
             break;
     }
     $index_link = $order_div->getHtml();
     $search_label = translateFN('Cerca nell\'Indice:');
     $node_type = 'standard_node';
     /*
      * vito, 23 luglio 2008
      */
     if ($expand_nodes) {
         $node_index = $exp_link;
     }
     //$node_index .= CourseViewer::displayMainIndex($userObj, $sess_id_course, $expand, $order, $sess_id_course_instance,'structIndex');
     // vito, 26 nov 2008: $main_index is a CORE object
     $main_index = CourseViewer::displayMainIndex($userObj, $sess_id_course, $expand, $order, $sess_id_course_instance, 'structIndex');
     if (!AMA_DataHandler::isError($main_index)) {
         $node_index .= $main_index->getHtml();
     }
     //vito 26 gennaio 2009
     //$node_index .= $legenda;
     $node_index .= $legenda->getHtml();
 }
 /* 2.
    getting todate-information on user
    MESSAGES adn EVENTS
    */
 /*
  * Non dovrebbe servire
  */
 //    if (empty($userObj->error_msg)){