From: <vb...@us...> - 2002-09-26 06:55:08
|
Update of /cvsroot/webnotes/webnotes/sample In directory usw-pr-cvs1:/tmp/cvs-serv20913/sample Modified Files: webservices.php xhtml.php xml.php Log Message: - Removed some hard-coded formatting from the theme, and moved it to the theme.css - Removed some styles which were not needed. - Used strict XHTML validator with the phpnet theme output and fixed all errors. (there is only one remaining error in the sample files which uses border="0" for the source forge logo). - Used htmlspecialchars() rather than string_disable_html() and used it for e-mail / note. This is to escape chars like <, >, and hence get no errors from the validator. - Removed strings_disable_html() - #<note id> will now work in the e-mail (title) field. Index: webservices.php =================================================================== RCS file: /cvsroot/webnotes/webnotes/sample/webservices.php,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- webservices.php 20 Sep 2002 04:17:43 -0000 1.7 +++ webservices.php 26 Sep 2002 06:55:05 -0000 1.8 @@ -32,7 +32,7 @@ <?php pwn_body( 'Web Services', $PHP_SELF, 'XHTML', null ); ?> - <br /> - <a href="http://sourceforge.net/projects/webnotes/"><img src="http://sourceforge.net/sflogo.php?group_id=15381&type=5" width="140" height="42" border="0" alt="phpWebNotes @ SourceForge"></a> + <p> + <a href="http://sourceforge.net/projects/webnotes/"><img src="http://sourceforge.net/sflogo.php?group_id=15381&type=5" width="140" height="42" border="0" alt="phpWebNotes @ SourceForge" /></a></p> </body> </html> Index: xhtml.php =================================================================== RCS file: /cvsroot/webnotes/webnotes/sample/xhtml.php,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- xhtml.php 20 Sep 2002 04:17:43 -0000 1.3 +++ xhtml.php 26 Sep 2002 06:55:05 -0000 1.4 @@ -16,7 +16,7 @@ <p>A device designer, using standard building blocks, will specify which elements are supported. Content creators will then target these building blocks--or modules.</p> <p>Because these modules conform to certain standards, XHTML's extensibility ensures that layout and presentation stay true-to-form over any platform.</p> <?php pwn_body( 'XHTML', $PHP_SELF, 'XML', 'Web Services' ); ?> - <br /> - <a href="http://sourceforge.net/projects/webnotes/"><img src="http://sourceforge.net/sflogo.php?group_id=15381&type=5" width="140" height="42" border="0" alt="phpWebNotes @ SourceForge"></a> + <p> + <a href="http://sourceforge.net/projects/webnotes/"><img src="http://sourceforge.net/sflogo.php?group_id=15381&type=5" width="140" height="42" border="0" alt="phpWebNotes @ SourceForge" /></a></p> </body> </html> Index: xml.php =================================================================== RCS file: /cvsroot/webnotes/webnotes/sample/xml.php,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- xml.php 20 Sep 2002 04:17:43 -0000 1.7 +++ xml.php 26 Sep 2002 06:55:05 -0000 1.8 @@ -24,7 +24,7 @@ <p>The above definition was copied from <a href="http://www.webopedia.com">Webopedia</a>.</p> <?php pwn_body( 'XML', $PHP_SELF, null, 'XHTML' ); ?> - <br /> - <a href="http://sourceforge.net/projects/webnotes/"><img src="http://sourceforge.net/sflogo.php?group_id=15381&type=5" width="140" height="42" border="0" alt="phpWebNotes @ SourceForge"></a> + <p> + <a href="http://sourceforge.net/projects/webnotes/"><img src="http://sourceforge.net/sflogo.php?group_id=15381&type=5" width="140" height="42" border="0" alt="phpWebNotes @ SourceForge" /></a></p> </body> </html> |