function __showOtherResources()
 {
     global $ilias, $rbacsystem, $ilObjDataCache, $objDefinition;
     if (!count($ors = $this->__getOtherResources())) {
         return false;
     }
     $this->tpl->addBlockfile('RESOURCES_BLOCK', 'resources_block', 'tpl.crs_objectives_view_or_table.html', 'Modules/Course');
     $this->tpl->setVariable("TBL_TITLE_OR", $this->lng->txt('crs_other_resources'));
     $this->__showHideLinks('or');
     if (isset($_SESSION['crs_hide_or'])) {
         return true;
     }
     $this->tpl->setCurrentBlock("tbl_header_columns_or");
     $this->tpl->setVariable("TBL_HEADER_WIDTH_OR", "5%");
     $this->tpl->setVariable("TBL_HEADER_NAME_OR", $this->lng->txt('type'));
     $this->tpl->parseCurrentBlock();
     $this->tpl->setCurrentBlock("tbl_header_columns_or");
     $this->tpl->setVariable("TBL_HEADER_WIDTH_OR", "75%");
     $this->tpl->setVariable("TBL_HEADER_NAME_OR", $this->lng->txt('description'));
     $this->tpl->parseCurrentBlock();
     $this->tpl->setCurrentBlock("tbl_header_columns_or");
     $this->tpl->setVariable("TBL_HEADER_WIDTH_OR", "20%");
     $this->tpl->setVariable("TBL_HEADER_NAME_OR", '');
     $this->tpl->parseCurrentBlock();
     $counter = 1;
     foreach ($ors as $or_id) {
         $obj_id = $ilObjDataCache->lookupObjId($or_id);
         $obj_type = $ilObjDataCache->lookupType($obj_id);
         // do not show side block items
         if ($objDefinition->isSideBlock($obj_type)) {
             continue;
         }
         $conditions_ok = ilConditionHandler::_checkAllConditionsOfTarget($or_id, $obj_id);
         $obj_link = ilRepositoryExplorer::buildLinkTarget($or_id, $obj_type);
         $obj_frame = ilRepositoryExplorer::buildFrameTarget($obj_type, $or_id, $obj_id);
         $obj_frame = $obj_frame ? $obj_frame : '';
         if (ilRepositoryExplorer::isClickable($obj_type, $or_id, $obj_id)) {
             $this->tpl->setCurrentBlock("or_read");
             $this->tpl->setVariable("READ_TITLE_OR", $ilObjDataCache->lookupTitle($obj_id));
             $this->tpl->setVariable("READ_TARGET_OR", $obj_frame);
             $this->tpl->setVariable("READ_LINK_OR", $obj_link);
             $this->tpl->parseCurrentBlock();
         } else {
             $this->tpl->setCurrentBlock("or_visible");
             $this->tpl->setVariable("VISIBLE_LINK_OR", $ilObjDataCache->lookupTitle($obj_id));
             $this->tpl->parseCurrentBlock();
         }
         // add to desktop link
         if (!$ilias->account->isDesktopItem($or_id, $obj_type) and $this->course_obj->getAboStatus() == $this->course_obj->ABO_ENABLED) {
             if ($rbacsystem->checkAccess('read', $or_id)) {
                 $this->tpl->setCurrentBlock("or_desklink");
                 $this->ctrl->setParameterByClass(get_class($this->container_gui), 'item_ref_id', $or_id);
                 $this->ctrl->setParameterByClass(get_class($this->container_gui), 'item_id', $or_id);
                 $this->ctrl->setParameterByClass(get_class($this->container_gui), 'type', $obj_type);
                 $this->tpl->setVariable("DESK_LINK_OR", $this->ctrl->getLinkTarget($this->container_gui, 'addToDesk'));
                 $this->tpl->setVariable("TXT_DESK_OR", $this->lng->txt("to_desktop"));
                 $this->tpl->parseCurrentBlock();
             }
         }
         $this->tpl->setCurrentBlock("or_row");
         $this->tpl->setVariable("OBJ_TITLE_OR", $ilObjDataCache->lookupTitle($obj_id));
         $this->tpl->setVariable('IMG_TYPE_OR', ilUtil::getTypeIconPath($obj_type, $obj_id, 'small'));
         $this->tpl->setVariable("TXT_IMG_OR", $this->lng->txt('obj_' . $obj_type));
         $this->tpl->setVariable("OBJ_CLASS_CENTER_OR", 'option_value_center');
         $this->tpl->setVariable("OBJ_CLASS_OR", 'option_value');
         $this->tpl->parseCurrentBlock();
         ++$counter;
     }
 }