MDL-59294 block_login: Make display of ID provider buttons consistent

This commit is contained in:
Jun Pataleta 2017-06-29 09:29:26 +08:00
parent 7c482415a9
commit 56249d8710

View File

@ -115,7 +115,7 @@ class block_login extends block_base {
$this->content->text .= '<div class="potentialidplist">';
foreach ($potentialidps as $idp) {
$this->content->text .= '<div class="potentialidp">';
$this->content->text .= '<a class="btn btn-secondary btn-block" ';
$this->content->text .= '<a class="btn btn-default btn-block" ';
$this->content->text .= 'href="' . $idp['url']->out() . '" title="' . s($idp['name']) . '">';
if (!empty($idp['iconurl'])) {
$this->content->text .= '<img src="' . s($idp['iconurl']) . '" width="24" height="24" class="m-r-1"/>';