Patch #832 2006-02-14 19:14

sethjackson

Website: XHTML 1.1 cleanup, link fix
Download
832-Website_XHTML_1.patch (4.0 KB)
Category
 
Status
Accepted
Close date
2006-02-14 19:32
Assigned to
 
Index: C:/Documents and Settings/sjackson/Desktop/website/index.php
===================================================================
--- C:/Documents and Settings/sjackson/Desktop/website/index.php    (revision 2004)
+++ C:/Documents and Settings/sjackson/Desktop/website/index.php    (working copy)
@@ -45,8 +45,8 @@
 <a class="caption" href="screenshots.shtml">(more screenshots)</a>
 </div>
 <h2 style="font-size:1.2em;border-bottom:none;">The open source, cross platform Free C++ IDE.</h2>
-<p><b>Latest stable release: <a href="/downloads.shtml">1.0rc2</a></b>, Oct 25, 2005<br>
-<b><a href="/nightly">Nightly builds</a></b> are also available.</b></p>
+<p><b>Latest stable release: <a href="/downloads.shtml">1.0rc2</a></b>, Oct 25, 2005<br />
+<b><a href="/nightly">Nightly builds</a></b> are also available.</p>
 
 <p>Code::Blocks is a <em>free C++ IDE</em> built specifically to meet the most demanding needs of its users.
 It was designed, right from the start, to be extensible and configurable.</p>
Index: C:/Documents and Settings/sjackson/Desktop/website/templates/footer.tpl
===================================================================
--- C:/Documents and Settings/sjackson/Desktop/website/templates/footer.tpl    (revision 2004)
+++ C:/Documents and Settings/sjackson/Desktop/website/templates/footer.tpl    (working copy)
@@ -1,3 +1,3 @@
 Design &copy; 2005 <a href="mailto:per [dot] eckerdal [at] gmail [dot] com">Per Eckerdal</a> and <a href="mailto:rick [at] codeblocks [dot] org">Ricardo Garcia</a>.<br />
-Content &copy; 2005 <a href="mailto:mandrav [at] codeblocks [dot] org">Yiannis Mandravellos.</a><br />
+Content &copy; 2005 - 2006 <a href="mailto:mandrav [at] codeblocks [dot] org">Yiannis Mandravellos.</a><br />
 All rights reserved.<br />
\ No newline at end of file
Index: C:/Documents and Settings/sjackson/Desktop/website/templates/main.tpl
===================================================================
--- C:/Documents and Settings/sjackson/Desktop/website/templates/main.tpl    (revision 2004)
+++ C:/Documents and Settings/sjackson/Desktop/website/templates/main.tpl    (working copy)
@@ -2,9 +2,10 @@
   if(!in_array($_SERVER['PHP_SELF'],array('/index.shtml','/','/index.php')))
    $title.=' - Code::Blocks';
 ?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 
-  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
-<html xml:lang="en-us" xmlns="http://www.w3.org/1999/xhtml">
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
+                      "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
 <head>
     <title><? echo $title;?></title>
 
@@ -14,8 +15,8 @@
 
     <!-- script type="text/javascript" src="/js/scripts.js"></script -->
 
-    <meta http-equiv="Content-type" content="text/html; charset=iso-8859-1" />
-    <meta http-equiv="Content-Language" content="en-us" />
+    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+    <meta http-equiv="Content-Language" content="en-US" />
     <meta name="ROBOTS" content="ALL" />
     <meta name="Copyright" content="Design Copyright (c) 2005 Ricardo Garcia, Per Eckerdal. Content Copyright (c) the respective authors" />
     <meta http-equiv="imagetoolbar" content="no" />
Index: C:/Documents and Settings/sjackson/Desktop/website/templates/topmenu.tpl
===================================================================
--- C:/Documents and Settings/sjackson/Desktop/website/templates/topmenu.tpl    (revision 2004)
+++ C:/Documents and Settings/sjackson/Desktop/website/templates/topmenu.tpl    (working copy)
@@ -2,6 +2,6 @@
 <li class="second"><a href="/screenshots.shtml">Screenshots</a></li>
 <li class="third"><a href="/downloads.shtml">Download</a></li>
 <li><a href="/news.shtml">News</a></li>
-<li class="fifth"><a href="http://codeblocks.sourceforge.net/wiki/">Wiki</a></li>
+<li class="fifth"><a href="http://wiki.codeblocks.org/">Wiki</a></li>
 <li class="sixth"><a href="http://forums.codeblocks.org/">Forum</a></li>