Proyectos de Subversion Moodle

Rev

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

Rev 194 Rev 198
Línea 667... Línea 667...
667
            $userid = $USER->id;
667
            $userid = $USER->id;
668
        }
668
        }
Línea 669... Línea 669...
669
 
669
 
670
        // Instanciamos StaticsBlocks para renderizar los bloques
670
        // Instanciamos StaticsBlocks para renderizar los bloques
671
        $statics_blocks = new \StaticsBlocks($this->page->title);
671
        $statics_blocks = new \StaticsBlocks($this->page->title);
-
 
672
        $statics_blocks->renderBlocks();
-
 
673
        $context = [
-
 
674
            'blocks' => $statics_blocks,
-
 
675
        ];
-
 
676
 
-
 
677
        $html = $this->render_from_template('theme_universe/static-blocks', $header);
-
 
678
 
672
        return $statics_blocks->renderBlocks();
679
        return 
Línea 673... Línea 680...
673
    }
680
    }
674
 
681
 
675
    public function display_course_progress()
682
    public function display_course_progress()