diff --git a/info.textgrid.middleware.tgauth.webauth/WebAuthN/WebAuthN2.php b/info.textgrid.middleware.tgauth.webauth/WebAuthN/WebAuthN2.php index a4ffdfcb0307dc29d24cfa12e9631ad5c554b4e6..f96aaebf5fc0acd822263c7ab99c5379db517d49 100644 --- a/info.textgrid.middleware.tgauth.webauth/WebAuthN/WebAuthN2.php +++ b/info.textgrid.middleware.tgauth.webauth/WebAuthN/WebAuthN2.php @@ -23,9 +23,10 @@ if ($authZinstance == null) { <link rel="stylesheet" type="text/css" media="screen,print" href="main.css" /> </head> <body> +<div style="font-family:Helvetica,Arial,sans-serif;"> <h2>TextGridLab Login</h2> -<table border="1" rules="cols" cellpadding="4"> +<table border="1" rules="cols" cellpadding="4" style="background: #EEEEEE;"> <tr> <td align="center" valign="top"> <h3>textgrid.de account</h3> @@ -75,6 +76,6 @@ on <a href="http://www.textgrid.de/beta/installation.html">http://www.textgrid.d </td> </tr> </table> - +</div> </body> </html> diff --git a/info.textgrid.middleware.tgauth.webauth/tglib/WebUtils.class.php b/info.textgrid.middleware.tgauth.webauth/tglib/WebUtils.class.php index 736c679174908cb4f5677dba6e999152f90fd611..c6a1fc1f1d9579c3961d0561b67df08b0c1a1c36 100644 --- a/info.textgrid.middleware.tgauth.webauth/tglib/WebUtils.class.php +++ b/info.textgrid.middleware.tgauth.webauth/tglib/WebUtils.class.php @@ -38,7 +38,7 @@ class WebUtils { echo "</script>\n"; echo "</head>\n<body>\n"; - echo "<div style=\"font-face: Arial;\""; + echo "<div style=\"font-family:Helvetica,Arial,sans-serif;\">"; echo "<h2>Authentication Succeeded</h2>\n"; echo "<p>You were successfully authenticated with User ID '<b>" . $rbachash["remote_user"] . "</b>'. You may now access remote resources using the TextGrid Lab. This window can be closed.</p>\n"; @@ -132,7 +132,7 @@ class WebUtils { echo "</script>\n"; echo "</head>\n\n<body>\n"; - + echo "<div style=\"font-family:Helvetica,Arial,sans-serif;\">"; echo "<h2>Authentication Failure</h2>\n"; echo "<h3>$heading</h3>\n"; echo "<p>The Authentication system could not authenticate you.</p>\n"; @@ -164,7 +164,7 @@ class WebUtils { echo "<p>If not indicated otherwise in the error details, it could be that some service is not responding temporarily. In this case, please <a href=\"javascript:history.back()\">go back</a> or re-open the TextGridLab and try again.</p>"; echo "<p>If the problem persists, please report this bug together with its time of occurence (" . date("Y-m-d H:i:s") . "). In the TextGridLab, choose 'Help->Report Bug'.</p>" ; - echo "\n</body>\n</html>"; + echo "\n</div></body>\n</html>"; } public function printHeader ($title) { @@ -234,7 +234,7 @@ class WebUtils { echo "</script>"; echo "</head>\n<body>\n"; - echo "<div style=\"font-face: Arial;\">"; + echo "<div style=\"font-family:Helvetica,Arial,sans-serif;\">"; echo "<h2 style=\"text-align: center;\">$title</h2>\n"; // echo "This is what we got for sure:". serialize ($providedAttrs); // echo $remote_user .serialize ( $attrMap ); @@ -315,9 +315,10 @@ class WebUtils { public function printSetAttributesSuccess ($thedisplayname) { $this->printHeader("Successfully updated User Attributes"); echo "</head><body>\n"; + echo "<div style=\"font-family:Helvetica,Arial,sans-serif;\">"; echo "Thank you, ${thedisplayname}, your user attributes are now up to date.<br/>\n"; echo "You can close this dialogue.\n"; - echo "\n</body>\n</html>"; + echo "\n</div></body>\n</html>"; }