From 16017c818dbe5c615f51aa45bb398a6d218cfd65 Mon Sep 17 00:00:00 2001 From: Martin Haase <martin.haase@daasi.de> Date: Fri, 27 Apr 2012 08:58:50 +0000 Subject: [PATCH] minor problem: corrected javascript link git-svn-id: https://textgridlab.org/svn/textgrid/trunk/middleware/tgauth@12948 7c539038-3410-0410-b1ec-0f2a7bf1c452 --- info.textgrid.middleware.tgauth.webauth/locale/de/lang_main.inc | 2 +- info.textgrid.middleware.tgauth.webauth/locale/en/lang_main.inc | 2 +- .../tglib/WebUtils.class.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/info.textgrid.middleware.tgauth.webauth/locale/de/lang_main.inc b/info.textgrid.middleware.tgauth.webauth/locale/de/lang_main.inc index 8aa156a..2a0047b 100644 --- a/info.textgrid.middleware.tgauth.webauth/locale/de/lang_main.inc +++ b/info.textgrid.middleware.tgauth.webauth/locale/de/lang_main.inc @@ -54,7 +54,7 @@ update_attr_thank_you = Thank you, %1$s, your user attributes are now up to date auth_success_text = You were successfully authenticated with User ID '<b>%1$s</b>'. You may now access remote resources using the TextGrid Lab. This window can be closed. -more_details = More <a href=\"javascript:toggle('d123')\">Details</a>. +more_details = More <a href="%1$s">Details</a>. authn_details_heading = Authentication Details diff --git a/info.textgrid.middleware.tgauth.webauth/locale/en/lang_main.inc b/info.textgrid.middleware.tgauth.webauth/locale/en/lang_main.inc index 8aa156a..2a0047b 100644 --- a/info.textgrid.middleware.tgauth.webauth/locale/en/lang_main.inc +++ b/info.textgrid.middleware.tgauth.webauth/locale/en/lang_main.inc @@ -54,7 +54,7 @@ update_attr_thank_you = Thank you, %1$s, your user attributes are now up to date auth_success_text = You were successfully authenticated with User ID '<b>%1$s</b>'. You may now access remote resources using the TextGrid Lab. This window can be closed. -more_details = More <a href=\"javascript:toggle('d123')\">Details</a>. +more_details = More <a href="%1$s">Details</a>. authn_details_heading = Authentication Details diff --git a/info.textgrid.middleware.tgauth.webauth/tglib/WebUtils.class.php b/info.textgrid.middleware.tgauth.webauth/tglib/WebUtils.class.php index 37f2d50..b9d1e36 100644 --- a/info.textgrid.middleware.tgauth.webauth/tglib/WebUtils.class.php +++ b/info.textgrid.middleware.tgauth.webauth/tglib/WebUtils.class.php @@ -47,7 +47,7 @@ class WebUtils { echo "<p>".$this->t->_('auth_success_text','',array($rbachash["remote_user"]))."</p>\n"; // Details ----------------------------------------------- - echo "<p>".$this->t->_('more_details')."</p>\n"; + echo "<p>".$this->t->_('more_details','',array("javascript:toggle('d123')"))."</p>\n"; echo "<div id=\"d123\"> <h2>".$this->t->_('authn_details_heading')."</h2>\n"; echo "<table><tr><td>".$this->t->_('tgauth_instance')."</td><td>". $rbachash["rbacbase"] ."</td></tr>\n"; echo "<tr><td>".$this->t->_('idp_entityid')."</td><td>". $rbachash["identity_provider"] ."</td></tr>\n"; -- GitLab