Proyectos de Subversion Moodle

Rev

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

Rev 199 Rev 200
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);
Línea 672... Línea 672...
672
        $blocks->renderBlocks();
672
         $blocks->renderBlocks();
673
        
673
        
674
        $context = [
674
        $context = [
Línea 675... Línea 675...
675
            'blocks' => $blocks,
675
            'blocks' => $blocks,
Línea 676... Línea 676...
676
        ];
676
        ];
677
 
677
 
Línea 678... Línea 678...
678
        $html = $this->render_from_template('theme_universe/static-blocks', $header);
678
        $html = $this->render_from_template('theme_universe/static-blocks', $header);
679
 
679
 
680
        return html
680
        return $html