Commit 1cc10f3f authored by David Monllaó's avatar David Monllaó Committed by Dan Poltawski
Browse files

Merge branch 'MDL-56895-master' of git://github.com/danpoltawski/moodle

parents 0fef8351 b1f3de57
...@@ -346,7 +346,7 @@ class portfolio_add_button { ...@@ -346,7 +346,7 @@ class portfolio_add_button {
switch ($format) { switch ($format) {
case PORTFOLIO_ADD_FULL_FORM: case PORTFOLIO_ADD_FULL_FORM:
$formoutput .= $selectoutput; $formoutput .= $selectoutput;
$formoutput .= "\n" . '<input type="submit" value="' . $addstr .'" />'; $formoutput .= "\n" . '<input type="submit" class="btn btn-secondary" value="' . $addstr .'" />';
$formoutput .= "\n" . '</form>'; $formoutput .= "\n" . '</form>';
break; break;
case PORTFOLIO_ADD_ICON_FORM: case PORTFOLIO_ADD_ICON_FORM:
...@@ -453,7 +453,7 @@ function portfolio_instance_select($instances, $callerformats, $callbackclass, $ ...@@ -453,7 +453,7 @@ function portfolio_instance_select($instances, $callerformats, $callbackclass, $
$count = 0; $count = 0;
$selectoutput = "\n" . '<label class="accesshide" for="instanceid">' . get_string('plugin', 'portfolio') . '</label>'; $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); $existingexports = portfolio_existing_exports_by_plugin($USER->id);
foreach ($instances as $instance) { foreach ($instances as $instance) {
$formats = portfolio_supported_formats_intersect($callerformats, $instance->supported_formats()); $formats = portfolio_supported_formats_intersect($callerformats, $instance->supported_formats());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment