Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 405... Línea 405...
405
        $context = context_module::instance($cm->id);
405
        $context = context_module::instance($cm->id);
406
        $options = portfolio_format_text_options();
406
        $options = portfolio_format_text_options();
407
        $options->trusted = $entry->definitiontrust;
407
        $options->trusted = $entry->definitiontrust;
408
        $options->context = $context;
408
        $options->context = $context;
Línea 409... Línea 409...
409
 
409
 
410
        $output = '<table class="glossarypost dictionary" cellspacing="0">' . "\n";
410
        $output = '<table class="glossarypost dictionary table-reboot" cellspacing="0">' . "\n";
411
        $output .= '<tr valign="top">' . "\n";
411
        $output .= '<tr valign="top">' . "\n";
Línea 412... Línea 412...
412
        $output .= '<td class="entry">' . "\n";
412
        $output .= '<td class="entry">' . "\n";
413
 
413
 
Línea 444... Línea 444...
444
        } else {
444
        } else {
445
            $filecontext = $context;
445
            $filecontext = $context;
446
        }
446
        }
447
        $fs = get_file_storage();
447
        $fs = get_file_storage();
448
        if ($files = $fs->get_area_files($filecontext->id, 'mod_glossary', 'attachment', $entry->id, "timemodified", false)) {
448
        if ($files = $fs->get_area_files($filecontext->id, 'mod_glossary', 'attachment', $entry->id, "timemodified", false)) {
449
            $output .= '<table border="0" width="100%"><tr><td>' . "\n";
449
            $output .= '<table border="0" width="100%" class="table-reboot"><tr><td>' . "\n";
Línea 450... Línea 450...
450
 
450
 
451
            foreach ($files as $file) {
451
            foreach ($files as $file) {
452
                $output .= $format->file_output($file);
452
                $output .= $format->file_output($file);
453
            }
453
            }