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 @@
// #######################################################
// Author: Martin Haase / DAASI International GmbH
// Creation date: 02.12.2008
// Modification date: 07/05/2010
// Modification date: 06/06/2012
// Version: 2.0
// #######################################################
......@@ -20,13 +20,12 @@ if ($authZinstance == null) {
exit;
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>TextGrid WebAuth</title>
<link rel="stylesheet" type="text/css" media="screen,print" href="main.css" />
</head>
<body>
<div style="font-family:Helvetica,Arial,sans-serif;">
......@@ -45,11 +44,11 @@ if ($authZinstance == null) {
<tr>
<td rowspan="2">
<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_password');?><br><input name="password" type="password" size="30" maxlength="30"></p>
<form action="TextGrid-WebAuth.php" method="post" name="textgriddeform">
<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 style="-webkit-appearance:none;" name="password" type="password" size="30" maxlength="30"></p>
<?php
echo "<input name=\"authZinstance\" type=\"hidden\" value=\"". $authZinstance . "\"/>";
echo "<input name=\"authZinstance\" type=\"hidden\" value=\"". $authZinstance . "\">";
?>
<input type="submit" value="log in">
</form>
......@@ -67,7 +66,7 @@ function MachLeer () {
<td align="center" valign="top">
<form action="../secure/TextGrid-WebAuth.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')."\">";
?>
</form>
......
......@@ -118,20 +118,25 @@ div.paragraph {
li.full-width {
width: 100px;
}
div.apiChangeNotification {
border: 1px solid #ff0000;
background-color: #ffaaaa;
color: #ff0000;
margin: 1em;
padding: 1em;
border: 1px solid #ff0000;
background-color: #ffaaaa;
color: #ff0000;
margin: 1em;
padding: 1em;
}
div.confNotification {
border: 1px solid #0000ff;
background-color: #eeeeff;
font-size: 11px;
font-family: 'ArialMT' 'Arial' sans-serif;
color: black;
margin: 1em;
padding: 1em;
border: 1px solid #0000ff;
background-color: #eeeeff;
font-size: 11px;
font-family: 'ArialMT' 'Arial' sans-serif;
color: black;
margin: 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