diff --git a/lib/portfoliolib.php b/lib/portfoliolib.php index c92242990b9..19e00cd2acb 100644 --- a/lib/portfoliolib.php +++ b/lib/portfoliolib.php @@ -334,7 +334,7 @@ class portfolio_add_button { $formoutput = '
' . "\n"; $formoutput .= html_writer::input_hidden_params($url); - $linkoutput = ''; + $formoutput .= "\n" . ''; $formoutput .= "\n" . ''; break; case PORTFOLIO_ADD_ICON_LINK: - $linkoutput .= '">' . $addstr .'
'; + $linkoutput .= '">' . $addstr .''; break; case PORTFOLIO_ADD_TEXT_LINK: $linkoutput .= '">' . $addstr .''; diff --git a/pix/t/portfolio.gif b/pix/t/portfolio.gif deleted file mode 100644 index 0a69acb9455..00000000000 Binary files a/pix/t/portfolio.gif and /dev/null differ diff --git a/pix/t/portfolioadd.gif b/pix/t/portfolioadd.gif new file mode 100644 index 00000000000..3fdabc32a41 Binary files /dev/null and b/pix/t/portfolioadd.gif differ diff --git a/pix/t/portfoliono.gif b/pix/t/portfoliono.gif deleted file mode 100644 index d53cf983c3e..00000000000 Binary files a/pix/t/portfoliono.gif and /dev/null differ diff --git a/theme/standard/style/core.css b/theme/standard/style/core.css index 498d8d61dbd..cbc6375aa43 100644 --- a/theme/standard/style/core.css +++ b/theme/standard/style/core.css @@ -442,3 +442,4 @@ table#tag-management-list {margin: 10px auto;width: 80%;} /* Portfolio */ .path-portfolio .exportsummary {margin:0px auto 1em auto;} +.portfolio-add-icon {margin-left:5px;}