Skip to content
Snippets Groups Projects
Commit c20f8072 authored by Martin Haase's avatar Martin Haase
Browse files

- removed non-used main.css from PHP class

- added workaround for black input fields in mac webkits
- corrected HTML errors and warnings
	- POST > post
	- strict > transitional
	- removed some XHTML features


git-svn-id: https://textgridlab.org/svn/textgrid/trunk/middleware/tgauth@13236 7c539038-3410-0410-b1ec-0f2a7bf1c452
parent ea3e00de
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// ####################################################### // #######################################################
// Author: Martin Haase / DAASI International GmbH // Author: Martin Haase / DAASI International GmbH
// Creation date: 02.12.2008 // Creation date: 02.12.2008
// Modification date: 07/05/2010 // Modification date: 06/06/2012
// Version: 2.0 // Version: 2.0
// ####################################################### // #######################################################
...@@ -20,13 +20,12 @@ if ($authZinstance == null) { ...@@ -20,13 +20,12 @@ if ($authZinstance == null) {
exit; exit;
} }
?> ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
"http://www.w3.org/TR/html4/strict.dtd">
<html> <html>
<head> <head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>TextGrid WebAuth</title> <title>TextGrid WebAuth</title>
<link rel="stylesheet" type="text/css" media="screen,print" href="main.css" />
</head> </head>
<body> <body>
<div style="font-family:Helvetica,Arial,sans-serif;"> <div style="font-family:Helvetica,Arial,sans-serif;">
...@@ -45,11 +44,11 @@ if ($authZinstance == null) { ...@@ -45,11 +44,11 @@ if ($authZinstance == null) {
<tr> <tr>
<td rowspan="2"> <td rowspan="2">
<form action="TextGrid-WebAuth.php" method="POST" name="textgriddeform"> <form action="TextGrid-WebAuth.php" method="post" name="textgriddeform">
<p><?php echo $t->_('login_label_id');?><br><input name="loginname" type="text" size="30" maxlength="30" value="Login ID" onclick="MachLeer()"></p> <p><?php echo $t->_('login_label_id');?><br><input style="-webkit-appearance:none;" name="loginname" type="text" size="30" maxlength="30" value="Login ID" onclick="MachLeer()"></p>
<p><?php echo $t->_('login_label_password');?><br><input name="password" type="password" size="30" maxlength="30"></p> <p><?php echo $t->_('login_label_password');?><br><input style="-webkit-appearance:none;" name="password" type="password" size="30" maxlength="30"></p>
<?php <?php
echo "<input name=\"authZinstance\" type=\"hidden\" value=\"". $authZinstance . "\"/>"; echo "<input name=\"authZinstance\" type=\"hidden\" value=\"". $authZinstance . "\">";
?> ?>
<input type="submit" value="log in"> <input type="submit" value="log in">
</form> </form>
...@@ -67,7 +66,7 @@ function MachLeer () { ...@@ -67,7 +66,7 @@ function MachLeer () {
<td align="center" valign="top"> <td align="center" valign="top">
<form action="../secure/TextGrid-WebAuth.php"> <form action="../secure/TextGrid-WebAuth.php">
<?php <?php
echo "<input name=\"authZinstance\" type=\"hidden\" value=\"". $authZinstance . "\"/>"; echo "<input name=\"authZinstance\" type=\"hidden\" value=\"". $authZinstance . "\">";
echo "<input type=\"submit\" value=\"".$t->_('login_button_shib')."\">"; echo "<input type=\"submit\" value=\"".$t->_('login_button_shib')."\">";
?> ?>
</form> </form>
......
...@@ -118,20 +118,25 @@ div.paragraph { ...@@ -118,20 +118,25 @@ div.paragraph {
li.full-width { li.full-width {
width: 100px; width: 100px;
} }
div.apiChangeNotification { div.apiChangeNotification {
border: 1px solid #ff0000; border: 1px solid #ff0000;
background-color: #ffaaaa; background-color: #ffaaaa;
color: #ff0000; color: #ff0000;
margin: 1em; margin: 1em;
padding: 1em; padding: 1em;
} }
div.confNotification { div.confNotification {
border: 1px solid #0000ff; border: 1px solid #0000ff;
background-color: #eeeeff; background-color: #eeeeff;
font-size: 11px; font-size: 11px;
font-family: 'ArialMT' 'Arial' sans-serif; font-family: 'ArialMT' 'Arial' sans-serif;
color: black; color: black;
margin: 1em; margin: 1em;
padding: 1em; padding: 1em;
}
input {
opacity: 0.99;
-webkit-appearance: none;
border: 1px solid #000000;
background-color: white;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment