[Fedora-directory-commits] dsgw/pbconfig authPassword.html.in, 1.1, 1.2 authSearch.html.in, 1.1, 1.2 display-orgperson.html.in, 1.1, 1.2 display-orgunit.html.in, 1.1, 1.2 display-room.html.in, 1.1, 1.2 edit-passwd.html.in, 1.1, 1.2 list-Auth.html.in, 1.2, 1.3 list-People.html.in, 1.1, 1.2 pb.tmpl.in, 1.3, 1.4

Richard Allen Megginson (rmeggins) fedora-directory-commits at redhat.com
Thu Mar 6 22:00:42 UTC 2008


Author: rmeggins

Update of /cvs/dirsec/dsgw/pbconfig
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16950/dsgw/pbconfig

Modified Files:
	authPassword.html.in authSearch.html.in 
	display-orgperson.html.in display-orgunit.html.in 
	display-room.html.in edit-passwd.html.in list-Auth.html.in 
	list-People.html.in pb.tmpl.in 
Log Message:
Resolves: bug 435230
Description: Clean up all HTML pages (Gateway, Org Tool, Phonebook, etc)
Fix Description: This is just the first pass.  I focused mainly on the
phonebook pages, but the C code fixes will apply to dsgw too.
The goal is to make the pages clean with HTML Tidy running in Firefox 2.
Most of the template pages had to change because they had comments like
this:
<!-- ----- comment -----
HTML 4.01 does not like this - no sequence of -- or more dashes in a comment.
The other major change was the use of & instead of just a single & in
URLs for href and img src links.  However, javascript does not like the
encoded entities, so I had to add some code to make sure we use the
unencoded form in javascript, so I added another option called "entities"
to the html template code, and added a function that will convert
encoded entities to their raw form in place.
I'm also adding some debugging shell scripts that can be used to debug
CGI programs.
Platforms tested: RHEL5 x86_64
Flag day: Yes - autotool file changes.
Doc: none yet



Index: authPassword.html.in
===================================================================
RCS file: /cvs/dirsec/dsgw/pbconfig/authPassword.html.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- authPassword.html.in	14 Jan 2008 22:31:23 -0000	1.1
+++ authPassword.html.in	6 Mar 2008 22:00:40 -0000	1.2
@@ -1,4 +1,4 @@
-<!-- --- BEGIN COPYRIGHT BLOCK ---
+<!-- BEGIN COPYRIGHT BLOCK
  This Program is free software; you can redistribute it and/or modify it under
  the terms of the GNU General Public License as published by the Free Software
  Foundation; version 2 of the License.
@@ -34,7 +34,7 @@
  Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
  Copyright (C) 2005 Red Hat, Inc.
  All rights reserved.
-  --- END COPYRIGHT BLOCK ---  -->
+  END COPYRIGHT BLOCK -->
 <!--
  |  $Id$
  |
@@ -45,30 +45,33 @@
  |
  | HISTORY:
  |   
- +------------------------------------------------------------------------
+ +########################################################################
 -->
 
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
+    "http://www.w3.org/TR/html4/strict.dtd">
 <HTML>
 <!-- HEAD -->
 <!--authPassword.html-->
 <TITLE>Authenticate...</TITLE>
 <!-- DS_AUTH_PASSWORD_SCRIPT -->
-<LINK REL=stylesheet TYPE="text/css" HREF="@cgiuri@/lang?<!-- GCONTEXT -->&file=style.css">
+<LINK REL=stylesheet TYPE="text/css" HREF="@cgiuri@/lang?<!-- GCONTEXT -->&file=style.css">
 </HEAD>
 
 <!-- DS_AUTH_PASSWORD_BODY -->
 <!-- DS_AUTH_PASSWORD_INFO -->
 <!-- DS_AUTH_PASSWORD_FORM -->
-<P>
+<BR>
 Password for <b>
 <!-- DS_AUTH_PASSWORD_NAME -->
 </b>: <INPUT NAME="password" TYPE="password" SIZE=16>
-<P>
+<BR>
 <CENTER>
 <TABLE BORDER=2 WIDTH=100%>
 <TR>
 <!-- DS_AUTH_PASSWORD_BUTTONS -->
 </TABLE>
+</CENTER>
 </FORM>
 </BODY>
 </HTML>


Index: authSearch.html.in
===================================================================
RCS file: /cvs/dirsec/dsgw/pbconfig/authSearch.html.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- authSearch.html.in	14 Jan 2008 22:31:23 -0000	1.1
+++ authSearch.html.in	6 Mar 2008 22:00:40 -0000	1.2
@@ -1,4 +1,4 @@
-<!-- --- BEGIN COPYRIGHT BLOCK ---
+<!-- BEGIN COPYRIGHT BLOCK
  This Program is free software; you can redistribute it and/or modify it under
  the terms of the GNU General Public License as published by the Free Software
  Foundation; version 2 of the License.
@@ -34,8 +34,8 @@
  Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
  Copyright (C) 2005 Red Hat, Inc.
  All rights reserved.
-  --- END COPYRIGHT BLOCK ---  -->
-<!-- ---------------------------------------------------------------------------
+  END COPYRIGHT BLOCK -->
+<!-- ###########################################################################
  |  $Id$
  |
  | AUTHOR: 
@@ -45,14 +45,16 @@
  |
  | HISTORY:
  |   
- +------------------------------------------------------------------------------ -->
+ +############################################################################## -->
 
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
+    "http://www.w3.org/TR/html4/strict.dtd">
 <HTML>
 <!-- HEAD -->
 <!--authSearch.html-->
 <TITLE>Authenticate...</TITLE>
 <!-- DS_AUTH_SEARCH_SCRIPT -->
-<LINK REL=stylesheet TYPE="text/css" HREF="@cgiuri@/lang?<!-- GCONTEXT -->&file=style.css">
+<LINK REL=stylesheet TYPE="text/css" HREF="@cgiuri@/lang?<!-- GCONTEXT -->&file=style.css">
 </HEAD>
 <!-- DS_AUTH_SEARCH_BODY -->
 <!-- DS_AUTH_SEARCH_INFO -->
@@ -60,16 +62,19 @@
 The first step in authenticating to the directory is identifying
 yourself.<br>Please type your name:
 <!-- DS_AUTH_SEARCH_NAME -->
-<P>
+<BR>
 <CENTER>
 <TABLE BORDER=1 WIDTH=100%%>
 <TR>
 <!-- DS_AUTH_SEARCH_BUTTONS -->
 </TABLE>
+</CENTER>
 </FORM>
-<P>
+<BR>
+<CENTER>
 <!-- DS_AUTH_AS_ROOT_FORM -->
 <INPUT TYPE="submit" VALUE="Authenticate as directory manager"> (only available to Directory Administrators)
 </FORM>
+</CENTER>
 </BODY>
 </HTML>


Index: display-orgperson.html.in
===================================================================
RCS file: /cvs/dirsec/dsgw/pbconfig/display-orgperson.html.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- display-orgperson.html.in	14 Jan 2008 22:31:23 -0000	1.1
+++ display-orgperson.html.in	6 Mar 2008 22:00:40 -0000	1.2
@@ -1,4 +1,4 @@
-<!-- --- BEGIN COPYRIGHT BLOCK ---
+<!-- BEGIN COPYRIGHT BLOCK
  This Program is free software; you can redistribute it and/or modify it under
  the terms of the GNU General Public License as published by the Free Software
  Foundation; version 2 of the License.
@@ -34,7 +34,9 @@
  Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
  Copyright (C) 2005 Red Hat, Inc.
  All rights reserved.
-  --- END COPYRIGHT BLOCK ---  -->
+  END COPYRIGHT BLOCK -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
+    "http://www.w3.org/TR/html4/strict.dtd">
 <html>
 <!-- HEAD -->
 <!-- inet. organizational person directory entry -->
@@ -51,14 +53,14 @@
 <!-- DS_ATTRIBUTE "attr=dn" "syntax=dn" "options=nolink" -->
 </title>
 
-<script language="JavaScript">
+<script type="text/javascript">
 <!-- Hide from non-JavaScript-capable browsers
 
 var cardurl;
 
 function locator(){
 
-<!-- DS_ATTRIBUTE "attr=_vcard" "options=link" "mimetype=text/x-vcard" "prefix=var cardurl=" "suffix=";" -->
+<!-- DS_ATTRIBUTE "attr=_vcard" "options=link,entities" "mimetype=text/x-vcard" "prefix=var cardurl=" "suffix=";" -->
 
     card.cards.document.location = cardurl;
 }
@@ -91,27 +93,27 @@
   return;
 }
 
-document.write('<a href=\"aim:goim?Screenname=' + aimID.replace(/ /,"+") + '\"><IMG SRC=\"lang?<!-- GCONTEXT -->&file=aim-online.gif\" ALT=\"Click to send an AIM to this person\" BORDER=0 HSPACE=5></a>');
+document.write('<a href=\"aim:goim?Screenname=' + aimID.replace(/ /,"+") + '\"><IMG SRC=\"lang?<!-- GCONTEXT -->&file=aim-online.gif\" ALT=\"Click to send an AIM to this person\" BORDER=0 HSPACE=5><\/a>');
 }
 
 // End hiding -->
 </script>
-<LINK REL=stylesheet TYPE="text/css" HREF="@cgiuri@/lang?<!-- GCONTEXT -->&file=style.css">
+<LINK REL=stylesheet TYPE="text/css" HREF="@cgiuri@/lang?<!-- GCONTEXT -->&file=style.css">
 </head>
 
 
 <!-- COLORS "BGCOLOR=white" -->
 <!-- IF "!Displaying" -->
-<body bgcolor="#FFFFFF" marginheight=0 marginwidth=0 leftmargin="0" topmargin="0" rightmargin="0">
+<body bgcolor="#FFFFFF" style="marginheight:0;marginwidth:0;leftmargin:0;topmargin:0;rightmargin:0">
 <table width="100%" class="bgColor1" cellspacing="0" cellpadding="0" border="0">
-<tr width="100%" class="bgColor1">
-<TD valign="top" class="bgColor1"><IMG src="@cgiuri@/lang?<!-- GCONTEXT -->&file=clear.gif" width="10" height="45" border="0"></TD>
+<tr style="width: 100%" class="bgColor1">
+<TD valign="top" class="bgColor1"><IMG src="@cgiuri@/lang?<!-- GCONTEXT -->&file=clear.gif" width="10" height="45" border="0"></TD>
 <TD valign="middle" align="left" class="text15" width="100%">Person Entry</td>
 </tr>
 </table>
 <table cellspacing="0" cellpadding="0">
 <tr>
-<td><IMG src="@cgiuri@/lang?<!-- GCONTEXT -->&file=clear.gif" width="1" height="10" border="0"></td>
+<td><IMG src="@cgiuri@/lang?<!-- GCONTEXT -->&file=clear.gif" width="1" height="10" border="0"></td>
 </tr>
 </table>
 <!-- ELSE -->
@@ -130,14 +132,14 @@
 <!-- ENDIF // Adding -->
 
 
-<!-- --------------- Begin Header Info ------------------ -->
+<!-- ############### Begin Header Info ################## -->
 <!-- single-pixel gif to enforce left alignment -->
-<img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=pixel.gif" height="1" width="1" hspace="20" align="left" border="0">
+<img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=pixel.gif" height="1" width="1" hspace="20" align="left" border="0">
 
 <table width="90%" border="0" cellpadding="2" cellspacing="0" align="left" bgcolor="#FFFFFF">
   <tr valign="middle" align="left" class="bgcolor4">
     <td width="10" nowrap align="center">
-      <img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=32-person.gif" height="32" width="32" border="0" align="center">
+      <img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=32-person.gif" height="32" width="32" border="0" align="middle">
     </td>
     <td nowrap class="boldbig">
 <!-- IF "Adding" -->
@@ -150,17 +152,17 @@
 <A HREF=
 <!-- DS_ORGCHARTLINK -->
  class="linknodec">
-<IMG SRC="lang?<!-- GCONTEXT -->&file=orgicon.gif" BORDER=0 ALT="Click to view this person's organization chart." HSPACE=5><span style="text-decoration:none;color:black"> org chart</span></a>
+<IMG SRC="lang?<!-- GCONTEXT -->&file=orgicon.gif" BORDER=0 ALT="Click to view this person's organization chart." HSPACE=5 align="top"><span style="text-decoration:none;color:black"> org chart</span></a>
 <!-- ENDIF -->
-    <a href="javascript:showVCard()" onMouseOver="top.status='View this person\'s digital business card.'; return true" class="linknodec"><img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=tiny_vcard.gif" align="texttop" border="0" height="20" 
+    <a href="javascript:showVCard()" onMouseOver="top.status='View this person\'s digital business card.'; return true" class="linknodec"><img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=tiny_vcard.gif" align="top" border="0" height="20" 
        width="20" alt="Click to view this person's digital business card."><span style="text-decoration:none;color:black">  vCard</span></a>
 <!-- DS_ATTRIBUTE "attr=userCertificate;binary" "type=hidden" "options=typeonly" -->
 <!-- IF "AttributeHasValues" "userCertificate;binary" -->  
       
 <a href=
 <!-- DS_ATTRIBUTE "attr=userCertificate;binary" "options=link" "mimetype=application/x-x509-email-cert" -->
-onMouseOver="top.status='Retrieve this person\'s security certificate.'; return true"><img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=tiny_cert.gif" align="texttop" border="0" height="20" width="20" alt="Click to retrieve this 
-person's security certificate."><span style="text-decoration:none;color:black"> Get Certificate</span></a>
+onMouseOver="top.status='Retrieve this person\'s security certificate.'; return true"><img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=tiny_cert.gif" border="0" height="20" width="20" alt="Click to retrieve this 
+person's security certificate." align="top"><span style="text-decoration:none;color:black"> Get Certificate</span></a>
 <!-- ENDIF -->      
      
     </td>
@@ -188,7 +190,7 @@
     <td colspan="3">
 <!-- ENDIF -->
 
-<!-- ---------------- Begin Table Data ------------------ -->
+<!-- ################ Begin Table Data ################## -->
     
 <table border="0" cellpadding="4" cellspacing="1" width="100%" align="center">
 
@@ -235,7 +237,7 @@
     <td align="left" bgcolor="white">
 <!-- DS_ATTRIBUTE "attr=nsaimid" "cols=>16" -->
 <!-- IF "DisplayAimPresence" -->
-<SCRIPT LANGUAGE="JavaScript">
+<SCRIPT type="text/javascript">
 <!-- Hide from non-JavaScript-capable browsers
 showAimIcon();
 // End hiding -->
@@ -379,7 +381,7 @@
 
 </table>
 
-<!-- ---------------------------------------------- -->
+<!-- ############################################## -->
     </td>
 
 <!-- IF "AttributeHasValues" "jpegPhoto" -->


Index: display-orgunit.html.in
===================================================================
RCS file: /cvs/dirsec/dsgw/pbconfig/display-orgunit.html.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- display-orgunit.html.in	14 Jan 2008 22:31:23 -0000	1.1
+++ display-orgunit.html.in	6 Mar 2008 22:00:40 -0000	1.2
@@ -1,4 +1,4 @@
-<!-- --- BEGIN COPYRIGHT BLOCK ---
+<!-- BEGIN COPYRIGHT BLOCK
  This Program is free software; you can redistribute it and/or modify it under
  the terms of the GNU General Public License as published by the Free Software
  Foundation; version 2 of the License.
@@ -34,8 +34,8 @@
  Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
  Copyright (C) 2005 Red Hat, Inc.
  All rights reserved.
-  --- END COPYRIGHT BLOCK ---  -->
-<!-- ---------------------------------------------------------------------------
+  END COPYRIGHT BLOCK -->
+<!-- ###########################################################################
  | $Id$
  |
  | AUTHOR: 
@@ -46,8 +46,10 @@
  | HISTORY:
  |   
  |
- +--------------------------------------------------------------------------- -->
+ +########################################################################### -->
 
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
+    "http://www.w3.org/TR/html4/strict.dtd">
 <HTML>
 <!-- HEAD -->
 <!-- inet. organizational person directory entry -->
@@ -60,7 +62,7 @@
 <!-- ENDIF // Adding -->
 Organizational Unit Entry
 </TITLE>
-<LINK REL=stylesheet TYPE="text/css" HREF="@cgiuri@/lang?<!-- GCONTEXT -->&file=style.css">
+<LINK REL=stylesheet TYPE="text/css" HREF="@cgiuri@/lang?<!-- GCONTEXT -->&file=style.css">
 </HEAD>
 <BODY bgcolor=WHITE>
 
@@ -73,14 +75,14 @@
 
 
 
-<!-- --------------- Begin Header Info ------------------ -->
+<!-- ############### Begin Header Info ################## -->
 <!-- single-pixel gif to enforce left alignment -->
-<img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=pixel.gif" height="1" width="1" hspace="20" align="left" border="0">
+<img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=pixel.gif" height="1" width="1" hspace="20" align="left" border="0">
 
 <table width="90%" border="0" cellpadding="2" cellspacing="0" align="left" bgcolor="#FFFFFF">
   <tr valign="middle" align="left" class="bgColor4">
     <td width="10" nowrap align="center">
-      <img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=department.gif" height="32" width="32" border="0" align="center">
+      <img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=department.gif" height="32" width="32" border="0" align="middle">
     </td>
     <td nowrap class="boldbig">
 <!-- DS_ATTRIBUTE "attr=ou" "syntax=cis" "options=readonly" --> 
@@ -98,7 +100,7 @@
   <tr valign="top">
     <td colspan="3">
     
-<!-- ---------------- Begin Table Data ------------------ -->
+<!-- ################ Begin Table Data ################## -->
     
 <table border="0" cellpadding="4" cellspacing="1" width="100%" align="center">
 
@@ -213,14 +215,14 @@
 
 </table>
 
-<!-- ---------------------------------------------- -->
+<!-- ############################################## -->
 
     </td>
   </tr>
   <tr valign="middle" align="left" class="bgColor4">
     <td colspan="2">
-      <img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=pixel.gif" border="0" height="20" width="91">  
-      <img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=pixel.gif" border="0" height="20" width="107">
+      <img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=pixel.gif" border="0" height="20" width="91">  
+      <img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=pixel.gif" border="0" height="20" width="107">
     </td>
   </tr>  
 


Index: display-room.html.in
===================================================================
RCS file: /cvs/dirsec/dsgw/pbconfig/display-room.html.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- display-room.html.in	14 Jan 2008 22:31:23 -0000	1.1
+++ display-room.html.in	6 Mar 2008 22:00:40 -0000	1.2
@@ -1,4 +1,4 @@
-<!-- --- BEGIN COPYRIGHT BLOCK ---
+<!-- BEGIN COPYRIGHT BLOCK
  This Program is free software; you can redistribute it and/or modify it under
  the terms of the GNU General Public License as published by the Free Software
  Foundation; version 2 of the License.
@@ -34,7 +34,9 @@
  Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
  Copyright (C) 2005 Red Hat, Inc.
  All rights reserved.
-  --- END COPYRIGHT BLOCK ---  -->
+  END COPYRIGHT BLOCK -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
+    "http://www.w3.org/TR/html4/strict.dtd">
 <html>
 <!-- HEAD -->
 <!-- DS_OBJECTCLASS "value=Room" -->
@@ -46,7 +48,7 @@
 <!-- ENDIF // Adding -->
 Room Entry
 </title>
-<LINK REL=stylesheet TYPE="text/css" HREF="@cgiuri@/lang?<!-- GCONTEXT -->&file=style.css">
+<LINK REL=stylesheet TYPE="text/css" HREF="@cgiuri@/lang?<!-- GCONTEXT -->&file=style.css">
 </head>
 <body bgcolor="white">
 
@@ -58,14 +60,14 @@
 <!-- PCONTEXT -->
 <!-- ENDIF // Adding -->
 
-<!-- --------------- Begin Header Info ------------------ -->
+<!-- ############### Begin Header Info ################## -->
 <!-- single-pixel gif to enforce left alignment -->
-<img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=pixel.gif" height="1" width="1" hspace="20" align="left" border="0">
+<img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=pixel.gif" height="1" width="1" hspace="20" align="left" border="0">
 
 <table width="90%" border="0" cellpadding="2" cellspacing="0" align="left" bgcolor="#FFFFFF">
   <tr valign="middle" align="left" class="bgColor4">
     <td width="10" nowrap align="center">
-      <img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=32-conference.gif" height="32" width="32" border="0" align="center">
+      <img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=32-conference.gif" height="32" width="32" border="0" align="middle">
     </td>
     <td nowrap class="boldbig">
 <!-- IF "Adding" -->
@@ -74,8 +76,8 @@
 <!-- DS_ATTRIBUTE "attr=cn" "syntax=dn" "options=readonly" -->
     </td>
     <td align="right">
-      <img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=pixel.gif" border="0" height="20" width="91">  
-      <img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=pixel.gif" border="0" height="20" width="107">
+      <img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=pixel.gif" border="0" height="20" width="91">  
+      <img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=pixel.gif" border="0" height="20" width="107">
     </td>
   </tr>
   <tr valign="top" align="left">
@@ -92,7 +94,7 @@
   <tr valign="top">
     <td colspan="3">
     
-<!-- ---------------- Begin Table Data ------------------ -->
+<!-- ################ Begin Table Data ################## -->
     
 <table border="0" cellpadding="4" cellspacing="1" width="100%" align="center">
 
@@ -138,8 +140,8 @@
   </tr>
   <tr valign="middle" align="left" class="bgColor4">
     <td colspan="3">
-      <img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=pixel.gif" border="0" height="20" width="91">  
-      <img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=pixel.gif" border="0" height="20" width="107">
+      <img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=pixel.gif" border="0" height="20" width="91">  
+      <img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=pixel.gif" border="0" height="20" width="107">
     </td>
   </tr>  
 


Index: edit-passwd.html.in
===================================================================
RCS file: /cvs/dirsec/dsgw/pbconfig/edit-passwd.html.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- edit-passwd.html.in	14 Jan 2008 22:31:23 -0000	1.1
+++ edit-passwd.html.in	6 Mar 2008 22:00:40 -0000	1.2
@@ -1,4 +1,4 @@
-<!-- --- BEGIN COPYRIGHT BLOCK ---
+<!-- BEGIN COPYRIGHT BLOCK
  This Program is free software; you can redistribute it and/or modify it under
  the terms of the GNU General Public License as published by the Free Software
  Foundation; version 2 of the License.
@@ -34,7 +34,9 @@
  Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
  Copyright (C) 2005 Red Hat, Inc.
  All rights reserved.
-  --- END COPYRIGHT BLOCK ---  -->
+  END COPYRIGHT BLOCK -->
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
+    "http://www.w3.org/TR/html4/strict.dtd">
 <HTML>
 <!-- HEAD -->
 <!-- change a directory entry's password -->
@@ -43,31 +45,31 @@
 <TITLE>Change Password -
 <!-- DS_ATTRIBUTE "attr=dn" "syntax=dn" "options=nolink" -->
 </TITLE>
-<LINK REL=stylesheet TYPE="text/css" HREF="@cgiuri@/lang?<!-- GCONTEXT -->&file=style.css">
+<LINK REL=stylesheet TYPE="text/css" HREF="@cgiuri@/lang?<!-- GCONTEXT -->&file=style.css">
 </HEAD>
 
-<body bgcolor="#FFFFFF" marginheight=0 marginwidth=0 leftmargin="0" topmargin="0" rightmargin="0"
+<body bgcolor="#FFFFFF" style="marginheight:0; marginwidth:0; leftmargin:0; topmargin:0; rightmargin:0"
 >
 
 <table width="100%" class="bgColor1" cellspacing="0" cellpadding="0" border="0">
-<tr width="100%" class="bgColor1">
-<TD valign="top" class="bgColor1"><IMG src="@cgiuri@/lang?<!-- GCONTEXT -->&file=clear.gif" width="10" height="45" border="0"></TD>
+<tr style="width: 100%" class="bgColor1">
+<TD valign="top" class="bgColor1"><IMG src="@cgiuri@/lang?<!-- GCONTEXT -->&file=clear.gif" width="10" height="45" border="0"></TD>
 <TD valign="middle" align="left" class="text15" width="100%">Person Entry</td>
 </tr>
 </table>
 
 <table cellspacing="0" cellpadding="0">
 <tr>
-<td><IMG src="@cgiuri@/lang?<!-- GCONTEXT -->&file=clear.gif" width="1" height="10" border="0"></td>
+<td><IMG src="@cgiuri@/lang?<!-- GCONTEXT -->&file=clear.gif" width="1" height="10" border="0"></td>
 </tr>
 </table>
 
-<img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=pixel.gif" height="1" width="1" hspace="20" align="left" border="0">
+<img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=pixel.gif" height="1" width="1" hspace="20" align="left" border="0">
 
 <TABLE width="90%" border="0" cellpadding="2" cellspacing="0"  bgcolor="#FFFFFF">
   <tr class="bgColor4">
     <td width="10" nowrap >
-      <img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=32-person.gif" height="32" width="32" border="0" >
+      <img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=32-person.gif" height="32" width="32" border="0" >
     </td>
 
     <td nowrap class="boldbig">
@@ -78,7 +80,7 @@
     </tr>
 </TABLE>
 
-<P>
+<BR>
 <!-- DS_BEGIN_ENTRYFORM -->
 
 
@@ -118,7 +120,7 @@
 
 <P>
 
-<img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=pixel.gif" height="1" width="1" hspace="20" align="left" border="0">
+<img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=pixel.gif" height="1" width="1" hspace="20" align="left" border="0">
 
 <TABLE width="90%" border="0" cellpadding="2" cellspacing="0"  bgcolor="#FFFFFF">
   <tr class="bgColor4">


Index: list-Auth.html.in
===================================================================
RCS file: /cvs/dirsec/dsgw/pbconfig/list-Auth.html.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- list-Auth.html.in	27 Feb 2008 03:36:50 -0000	1.2
+++ list-Auth.html.in	6 Mar 2008 22:00:40 -0000	1.3
@@ -1,5 +1,7 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
+    "http://www.w3.org/TR/html4/strict.dtd">
 <html>
-<!-- --- BEGIN COPYRIGHT BLOCK ---
+<!-- BEGIN COPYRIGHT BLOCK
  This Program is free software; you can redistribute it and/or modify it under
  the terms of the GNU General Public License as published by the Free Software
  Foundation; version 2 of the License.
@@ -35,8 +37,8 @@
  Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
  Copyright (C) 2005 Red Hat, Inc.
  All rights reserved.
-  --- END COPYRIGHT BLOCK ---  -->
-<!-- ---------------------------------------------------------------------------
+  END COPYRIGHT BLOCK -->
+<!-- ###########################################################################
  |  $Id$
  |
  | AUTHOR: 
@@ -46,7 +48,7 @@
  |
  | HISTORY:
  |   
- |------------------------------------------------------------------------------ -->
+ |############################################################################## -->
 <!-- HEAD -->
 <TITLE>Authenticate as...</TITLE>
 
@@ -56,18 +58,18 @@
     Each entry is tied to this single form through the magic of an
     anchor that contains href=javascript:authSubmit().
 -->
-<LINK REL=stylesheet TYPE="text/css" HREF="@cgiuri@/lang?<!-- GCONTEXT -->&file=style.css">
+<LINK REL=stylesheet TYPE="text/css" HREF="@cgiuri@/lang?<!-- GCONTEXT -->&file=style.css">
 </head>
 <body bgcolor="#FFFFFF" marginheight=0 marginwidth=0 leftmargin="0" topmargin="0" rightmargin="0">
 <table width=100% class="bgColor1" cellspacing="0" cellpadding="0" border="0">
 <tr width=100% class="bgColor1">
-<TD valign="top" class="bgColor1"><IMG src="@cgiuri@/lang?<!-- GCONTEXT -->&file=clear.gif" width="10" height="45" border="0"></TD>
+<TD valign="top" class="bgColor1"><IMG src="@cgiuri@/lang?<!-- GCONTEXT -->&file=clear.gif" width="10" height="45" border="0"></TD>
 <TD valign="middle" align="left" class="text15" width="100%">Authenticate as...</td>
 </tr>
 </table>
 <table cellspacing="0" cellpadding="0">
 <tr>
-<td><IMG src="@cgiuri@/lang?<!-- GCONTEXT -->&file=clear.gif" width="1" height="10" border="0"></td>
+<td><IMG src="@cgiuri@/lang?<!-- GCONTEXT -->&file=clear.gif" width="1" height="10" border="0"></td>
 </tr>
 </table>
 
@@ -82,7 +84,7 @@
 <!-- PCONTEXT -->
 </FORM>
 
-<SCRIPT LANGUAGE="JavaScript">
+<SCRIPT type="text/javascript">
 <!-- Hide from non-JavaScript-capable browsers
 function authSubmit(encodeddn)
 {
@@ -92,12 +94,12 @@
 // End hiding -->
 </SCRIPT>
 
-<img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=pixel.gif" height="1" width="1" hspace="20" align="left" border="0">
+<img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=pixel.gif" height="1" width="1" hspace="20" align="left" border="0">
 
 <TABLE width="90%" border="0" cellpadding="2" cellspacing="0"  bgcolor="#FFFFFF">
   <tr class="bgColor4">
     <td nowrap align="right" class="boldbig">
-      <img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=clear.gif" height="32" width="1" border="0" >
+      <img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=clear.gif" height="32" width="1" border="0" >
     </td>
     </tr>
 </TABLE>
@@ -134,7 +136,7 @@
 </CENTER>
 
 <FORM>
-<img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=pixel.gif" height="1" width="1" hspace="20" align="left" border="0">
+<img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=pixel.gif" height="1" width="1" hspace="20" align="left" border="0">
 
 <TABLE width="90%" border="0" cellpadding="2" cellspacing="0"  bgcolor="#FFFFFF">
   <tr class="bgColor4">


Index: list-People.html.in
===================================================================
RCS file: /cvs/dirsec/dsgw/pbconfig/list-People.html.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- list-People.html.in	14 Jan 2008 22:31:23 -0000	1.1
+++ list-People.html.in	6 Mar 2008 22:00:40 -0000	1.2
@@ -1,5 +1,7 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
+    "http://www.w3.org/TR/html4/strict.dtd">
 <html>
-<!-- --- BEGIN COPYRIGHT BLOCK ---
+<!-- BEGIN COPYRIGHT BLOCK
  This Program is free software; you can redistribute it and/or modify it under
  the terms of the GNU General Public License as published by the Free Software
  Foundation; version 2 of the License.
@@ -35,11 +37,11 @@
  Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
  Copyright (C) 2005 Red Hat, Inc.
  All rights reserved.
-  --- END COPYRIGHT BLOCK ---  -->
+  END COPYRIGHT BLOCK -->
 <!-- HEAD -->
-<LINK REL=stylesheet TYPE="text/css" HREF="@cgiuri@/lang?<!-- GCONTEXT -->&file=style.css">
+<LINK REL=stylesheet TYPE="text/css" HREF="@cgiuri@/lang?<!-- GCONTEXT -->&file=style.css">
 
-<SCRIPT LANGUAGE="JavaScript">
+<SCRIPT type="text/javascript">
 <!-- Hide from non-JavaScript-capable browsers
 
 function showAimIcon(aimID, aimStatusText)
@@ -48,16 +50,17 @@
   return;
 }
 
-document.write('<a href=\"aim:goim?Screenname=' + aimID.replace(/ /,"+") + '\"><IMG SRC=\"lang?<!-- GCONTEXT -->&file=aim-online.gif\" ALT=\"Click to send an AIM to this person\" BORDER=0 HSPACE=5></a>');
+document.write('<a href=\"aim:goim?Screenname=' + aimID.replace(/ /,"+") + '\"><IMG SRC=\"lang?<!-- GCONTEXT -->&file=aim-online.gif\" ALT=\"Click to send an AIM to this person\" BORDER=0 HSPACE=5><\/a>');
 }
 // End hiding -->
 </SCRIPT>
+<TITLE></TITLE>
 </head>
 
 <body bgcolor=white>
 
 <!-- single-pixel gif to enforce left alignment -->
-<img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=pixel.gif" height="1" width="1" hspace="20" align="left" border="0">
+<img src="@cgiuri@/lang?<!-- GCONTEXT -->&file=pixel.gif" height="1" width="1" hspace="20" align="left" border="0">
 
 <!-- IF "FoundEntries" -->
 
@@ -110,7 +113,7 @@
     </td>
     <td>
 <!-- DS_ATTRIBUTE "attr=nsaimid" -->
-<SCRIPT LANGUAGE="JavaScript">
+<SCRIPT type="text/javascript">
 <!-- Hide from non-JavaScript-capable browsers
 showAimIcon(
 <!-- DS_ATTRIBUTE "attr=nsaimid" "options=quoted" -->


Index: pb.tmpl.in
===================================================================
RCS file: /cvs/dirsec/dsgw/pbconfig/pb.tmpl.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- pb.tmpl.in	30 Jan 2008 02:22:47 -0000	1.3
+++ pb.tmpl.in	6 Mar 2008 22:00:40 -0000	1.4
@@ -44,7 +44,7 @@
 
 securitypath  "@securitydir@"
 
-url-orgchart-base     @httpurl@@cgiuri@/org?context=pb&data=
+url-orgchart-base     @httpurl@@cgiuri@/org?context=pb&data=
 
 # The attribute the orgchart uses to search for entries.
 # This value should correspond to the value of attrib-farleft-rdn




More information about the Fedora-directory-commits mailing list