From 5faef5c6e2d34c321a24a3c16622b66e3456bf3f Mon Sep 17 00:00:00 2001 From: Martin Haase <martin.haase@daasi.de> Date: Tue, 28 Jun 2011 08:11:27 +0000 Subject: [PATCH] last few CSS lines git-svn-id: https://textgridlab.org/svn/textgrid/trunk/middleware/tgauth@10418 7c539038-3410-0410-b1ec-0f2a7bf1c452 --- .../WebAuthN/WebAuthN2.php | 5 +++-- .../tglib/WebUtils.class.php | 11 ++++++----- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/info.textgrid.middleware.tgauth.webauth/WebAuthN/WebAuthN2.php b/info.textgrid.middleware.tgauth.webauth/WebAuthN/WebAuthN2.php index a4ffdfc..f96aaeb 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 736c679..c6a1fc1 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>"; } -- GitLab