Línea 85... |
Línea 85... |
85 |
current_language(), true);
|
85 |
current_language(), true);
|
86 |
$this->content->text .= '</div>';
|
86 |
$this->content->text .= '</div>';
|
87 |
}
|
87 |
}
|
Línea 88... |
Línea 88... |
88 |
|
88 |
|
89 |
$this->content->text .= '<div class="mb-3">';
|
89 |
$this->content->text .= '<div class="mb-3">';
|
90 |
$this->content->text .= '<input type="submit" class="btn btn-primary btn-block" value="'.get_string('login').'" />';
|
90 |
$this->content->text .= '<input type="submit" class="btn btn-primary w-100" value="'.get_string('login').'" />';
|
91 |
$this->content->text .= '</div>';
|
91 |
$this->content->text .= '</div>';
|
Línea 92... |
Línea 92... |
92 |
$this->content->text .= '<input type="hidden" name="logintoken" value="'.s(\core\session\manager::get_login_token()).'" />';
|
92 |
$this->content->text .= '<input type="hidden" name="logintoken" value="'.s(\core\session\manager::get_login_token()).'" />';
|
Línea 111... |
Línea 111... |
111 |
$this->content->text .= '<div class="potentialidps">';
|
111 |
$this->content->text .= '<div class="potentialidps">';
|
112 |
$this->content->text .= '<h6>' . get_string('potentialidps', 'auth') . '</h6>';
|
112 |
$this->content->text .= '<h6>' . get_string('potentialidps', 'auth') . '</h6>';
|
113 |
$this->content->text .= '<div class="potentialidplist">';
|
113 |
$this->content->text .= '<div class="potentialidplist">';
|
114 |
foreach ($potentialidps as $idp) {
|
114 |
foreach ($potentialidps as $idp) {
|
115 |
$this->content->text .= '<div class="potentialidp">';
|
115 |
$this->content->text .= '<div class="potentialidp">';
|
116 |
$this->content->text .= '<a class="btn btn-secondary btn-block" ';
|
116 |
$this->content->text .= '<a class="btn btn-secondary w-100" ';
|
117 |
$this->content->text .= 'href="' . $idp['url']->out() . '" title="' . s($idp['name']) . '">';
|
117 |
$this->content->text .= 'href="' . $idp['url']->out() . '" title="' . s($idp['name']) . '">';
|
118 |
if (!empty($idp['iconurl'])) {
|
118 |
if (!empty($idp['iconurl'])) {
|
119 |
$this->content->text .= '<img src="' . s($idp['iconurl']) . '" width="24" height="24" class="mr-1"/>';
|
119 |
$this->content->text .= '<img src="' . s($idp['iconurl']) . '" width="24" height="24" class="me-1"/>';
|
120 |
}
|
120 |
}
|
121 |
$this->content->text .= s($idp['name']) . '</a></div>';
|
121 |
$this->content->text .= s($idp['name']) . '</a></div>';
|
122 |
}
|
122 |
}
|
123 |
$this->content->text .= '</div>';
|
123 |
$this->content->text .= '</div>';
|
124 |
$this->content->text .= '</div>';
|
124 |
$this->content->text .= '</div>';
|