| Línea 462... |
Línea 462... |
| 462 |
$insane = portfolio_instance_sanity_check();
|
462 |
$insane = portfolio_instance_sanity_check();
|
| 463 |
$pinsane = portfolio_plugin_sanity_check();
|
463 |
$pinsane = portfolio_plugin_sanity_check();
|
| Línea 464... |
Línea 464... |
| 464 |
|
464 |
|
| 465 |
$count = 0;
|
465 |
$count = 0;
|
| 466 |
$selectoutput = "\n" . '<label class="accesshide" for="instanceid">' . get_string('plugin', 'portfolio') . '</label>';
|
466 |
$selectoutput = "\n" . '<label class="accesshide" for="instanceid">' . get_string('plugin', 'portfolio') . '</label>';
|
| 467 |
$selectoutput .= "\n" . '<select id="instanceid" name="' . $selectname . '" class="custom-select">' . "\n";
|
467 |
$selectoutput .= "\n" . '<select id="instanceid" name="' . $selectname . '" class="form-select">' . "\n";
|
| 468 |
$existingexports = portfolio_existing_exports_by_plugin($USER->id);
|
468 |
$existingexports = portfolio_existing_exports_by_plugin($USER->id);
|
| 469 |
foreach ($instances as $instance) {
|
469 |
foreach ($instances as $instance) {
|
| 470 |
$formats = portfolio_supported_formats_intersect($callerformats, $instance->supported_formats());
|
470 |
$formats = portfolio_supported_formats_intersect($callerformats, $instance->supported_formats());
|
| 471 |
if (count($formats) == 0) {
|
471 |
if (count($formats) == 0) {
|