mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Merge branch 'MDL-56895-master' of git://github.com/danpoltawski/moodle
This commit is contained in:
commit
1cc10f3f67
1 changed files with 2 additions and 2 deletions
|
@ -346,7 +346,7 @@ class portfolio_add_button {
|
|||
switch ($format) {
|
||||
case PORTFOLIO_ADD_FULL_FORM:
|
||||
$formoutput .= $selectoutput;
|
||||
$formoutput .= "\n" . '<input type="submit" value="' . $addstr .'" />';
|
||||
$formoutput .= "\n" . '<input type="submit" class="btn btn-secondary" value="' . $addstr .'" />';
|
||||
$formoutput .= "\n" . '</form>';
|
||||
break;
|
||||
case PORTFOLIO_ADD_ICON_FORM:
|
||||
|
@ -453,7 +453,7 @@ function portfolio_instance_select($instances, $callerformats, $callbackclass, $
|
|||
|
||||
$count = 0;
|
||||
$selectoutput = "\n" . '<label class="accesshide" for="instanceid">' . get_string('plugin', 'portfolio') . '</label>';
|
||||
$selectoutput .= "\n" . '<select id="instanceid" name="' . $selectname . '">' . "\n";
|
||||
$selectoutput .= "\n" . '<select id="instanceid" name="' . $selectname . '" class="custom-select">' . "\n";
|
||||
$existingexports = portfolio_existing_exports_by_plugin($USER->id);
|
||||
foreach ($instances as $instance) {
|
||||
$formats = portfolio_supported_formats_intersect($callerformats, $instance->supported_formats());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue