login/login-tool/tool/src/java/org/sakaiproject/login/tool/LoginTool.java
===================================================================
--- login/login-tool/tool/src/java/org/sakaiproject/login/tool/LoginTool.java (revision 53739)
+++ login/login-tool/tool/src/java/org/sakaiproject/login/tool/LoginTool.java (working copy)
@@ -198,6 +198,8 @@
*/
protected void sendForm(HttpServletRequest req, HttpServletResponse res) throws IOException
{
+
+
final String headHtml = ""
+ ""
+ "
"
@@ -207,9 +209,8 @@
+ " "
+ " UI.SERVICE"
+ " "
- + " "
+ " "
- + " "
+ + " "
+ "";
final String tailHtml = "";
@@ -220,9 +221,9 @@
+ " " + " " + " " + " ";
@@ -266,8 +267,15 @@
if (!fragment)
{
+
// start our complete document
- String head = headHtml.replaceAll("DEFAULT_SKIN", defaultSkin);
+ String head = headHtml;
+ if ( isPDA )
+ {
+ head = head.replaceAll(""," ");
+ }
+
+ head = head.replaceAll("DEFAULT_SKIN", defaultSkin);
head = head.replaceAll("SKIN_ROOT", skinRoot);
head = head.replaceAll("UI.SERVICE", uiService);
out.println(head);
@@ -294,7 +302,8 @@
html = html.replaceAll("SKIN_ROOT", skinRoot);
if ( isPDA )
{
- html = html.replaceAll("class=\"login\"", "align=\"center\"");
+ html = html.replaceAll("class=\"login\"", "class=\"loginPDA\"");
+ html = html.replaceAll("","");
}
// write a message if present