simplesamlphp_auth: replace Se connecter by Se connecter / S'inscrire
Fixes #3536
This commit is contained in:
parent
07c3f97a51
commit
6d305dff7b
|
@ -642,7 +642,7 @@ function simplesamlphp_auth_form_alter(&$form, $form_state, $form_id) {
|
|||
$link = l('Connexion via mon compte citoyen', 'saml_login');
|
||||
//$links = $form['links']['#markup'];
|
||||
//$links = str_replace('</ul>', '<li class="saml">' . $link . '</li></ul>', $links);
|
||||
$button = '<div class="item-list"><ul><li class="first last" style="padding-top: 10px;"><input type="button" class="form-submit" value="Se connecter" onClick="document.location.href=\'/saml_login\'"></li></ul></div>';
|
||||
$button = '<div class="item-list"><ul><li class="first last" style="padding-top: 10px;"><input type="button" class="form-submit" value="Se connecter / S\'inscrire" onClick="document.location.href=\'/saml_login\'"></li></ul></div>';
|
||||
$form['links']['#markup'] = $button;
|
||||
unset($form['pass']);
|
||||
unset($form['name']);
|
||||
|
|
Reference in New Issue