Commit e2315fc6 authored by Hugh Davenport's avatar Hugh Davenport
Browse files

Add extra div to externallink login divs



Change-Id: I2cd82b7dba9b759791fdbf9c57f7c9f095a807d6
Signed-off-by: default avatarHugh Davenport <hugh@catalyst.net.nz>
parent ea843f1e
......@@ -1172,6 +1172,11 @@ function auth_get_login_form_elements() {
'value' => '<label>'.get_string('orloginvia') . '</label>'
);
$extraelements = array_merge(array('label' => $loginlabel), $extraelements);
$keys = array_keys($extraelements);
if (!empty($keys)) {
$key = $keys[count($keys) - 1];
$extraelements[$key]['value'] .= '<div class="cb"></div>';
}
}
if (count($extraelements)) {
$extraelements = array(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment