Skip to content

Commit

Permalink
Update: spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
luukverhoeven committed Oct 5, 2018
1 parent 8a24218 commit a4e0beb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ public function add_javascript_module() {
*/
public function snapshot_tool() {
// @TODO Convert to mustache.
global $USER , $CFG; // Used for the profile link.
global $USER, $CFG; // Used for the profile link.

$html = '<div id="snapshotholder" style="display: none;">
<div id="snapshot">
<h1>' . get_string('installflash', 'block_mfavatar') . '</h1>
<p><a href="https://www.adobe.com/go/getflashplayer">
<img src="https://www.adobe.com/images/shared/download_buttons/get_flash_player.gif"
<img src="https://www.adobe.com/images/shared/download_buttons/get_flash_player.gif"
alt="Get Adobe Flash player" /></a></p>
</div>
</div>';
Expand All @@ -92,9 +92,9 @@ public function snapshot_tool() {
</div>
<div class="pt-3 clearboth">
<button id="snapshot" class="btn btn-primary">' .
get_string('flash:text_make_snapshot', 'block_mfavatar') . '</button>
<a href="'.$CFG->wwwroot.'/user/profile.php?id=' . $USER->id . '" class="btn btn-info">' .
get_string('returntoprofile', 'block_mfavatar') . '</a>
get_string('flash:text_make_snapshot', 'block_mfavatar') . '</button>
<a href="' . $CFG->wwwroot . '/user/profile.php?id=' . $USER->id . '" class="btn btn-info">' .
get_string('returntoprofile', 'block_mfavatar') . '</a>
</div>';

return $html;
Expand Down

0 comments on commit a4e0beb

Please sign in to comment.