summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérôme Schneider <jschneider@entrouvert.com>2015-01-22 11:34:01 (GMT)
committerJérôme Schneider <jschneider@entrouvert.com>2015-01-22 11:34:01 (GMT)
commitfbcc785e5b9fd89976090c533f9710a0f33ec782 (patch)
tree7683b878801d1cdff453a57cd021d84cc137eda1
parent83b8e5eaf3d3b2b9cd4b0b0494951463f36521ee (diff)
downloadmontpellier-fbcc785e5b9fd89976090c533f9710a0f33ec782.zip
montpellier-fbcc785e5b9fd89976090c533f9710a0f33ec782.tar.gz
montpellier-fbcc785e5b9fd89976090c533f9710a0f33ec782.tar.bz2
simplesamlphp_auth: use a link for the connection button
-rw-r--r--drupal/simplesamlphp_auth/simplesamlphp_auth.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/drupal/simplesamlphp_auth/simplesamlphp_auth.module b/drupal/simplesamlphp_auth/simplesamlphp_auth.module
index fdcbce3..0e222ea 100644
--- a/drupal/simplesamlphp_auth/simplesamlphp_auth.module
+++ b/drupal/simplesamlphp_auth/simplesamlphp_auth.module
@@ -634,7 +634,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 / S\'inscrire" onClick="document.location.href=\'https://www.montpellier3m.fr/saml_login\'"></li></ul></div>';
+ $button = '<div class="item-list"><ul><li class="first last" style="padding-top: 10px;"><a style="background: none repeat scroll 0 0 #1F4791; color: #FFFFFF; border: medium none; height: 22px; line-height: 22px; width: 200px; margin: 0 10px 10px 10px;" href="https://www.montpellier3m.fr/saml_login">Se connecter / S\'inscrire</a></li></ul></div>';
$form['links']['#markup'] = $button;
unset($form['pass']);
unset($form['name']);