Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
integration
prechecker
Commits
1cc10f3f
Commit
1cc10f3f
authored
Nov 15, 2016
by
David Monllaó
Committed by
Dan Poltawski
Nov 15, 2016
Browse files
Merge branch 'MDL-56895-master' of
git://github.com/danpoltawski/moodle
parents
0fef8351
b1f3de57
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/portfoliolib.php
View file @
1cc10f3f
...
...
@@ -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
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment