Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 30... Línea 30...
30
 
30
 
Línea 31... Línea 31...
31
        global $CFG;
31
        global $CFG;
Línea 32... Línea 32...
32
 
32
 
33
        $syscontext = context_system::instance();
33
        $syscontext = context_system::instance();
Línea 34... Línea 34...
34
 
34
 
35
        $stredit = get_string('edit');
35
        // $stredit = get_string('edit');
36
        $strdelete = get_string('delete');
36
        // $strdelete = get_string('delete');
37
 
37
 
38
        // Header.
38
        // Header.
39
        $mainclass = 'wrapper-fw blog blog-entry ';
39
        $mainclass = 'blog blog-entry ';
40
        if ($entry->renderable->unassociatedentry) {
40
        if ($entry->renderable->unassociatedentry) {
Línea 66... Línea 66...
66
        if ($entry->created != $entry->lastmodified) {
66
        if ($entry->created != $entry->lastmodified) {
67
            $o .= $this->output->container(
67
            $o .= $this->output->container(
68
                    get_string('modified') .
68
                    get_string('modified') .
69
                    ': ' .
69
                    ': ' .
70
                    userdate($entry->lastmodified),
70
                    userdate($entry->lastmodified),
71
                    'blog-entry-date--mod badge badge-light ml-2'
71
                    'blog-entry-date--mod badge badge-light ms-2'
72
                );
72
                );
73
        }
73
        }
74
        $o .= $this->output->container_end(); // Blog-entry-date-box end.
74
        $o .= $this->output->container_end(); // Blog-entry-date-box end.
Línea 75... Línea 75...
75
 
75
 
Línea 84... Línea 84...
84
                array('entryid' => $entry->id)
84
                array('entryid' => $entry->id)
85
            ),
85
            ),
86
            format_string($entry->subject)
86
            format_string($entry->subject)
87
        );
87
        );
88
        $o .= $this->output->container_start('blog-entry-topic');
88
        $o .= $this->output->container_start('blog-entry-topic');
89
        $o .= $this->output->container($titlelink, 'subject wrapper-fw m2-4');
89
        $o .= $this->output->container($titlelink, 'subject mb-4');
Línea 90... Línea 90...
90
 
90
 
91
        // Attachments.
91
        // Attachments.
92
        $attachmentsoutputs = array();
92
        $attachmentsoutputs = array();
93
        if ($entry->renderable->attachments) {
93
        if ($entry->renderable->attachments) {