web/include template.inc,1.4,1.5 widgets.inc,1.2,1.3

Patrick Barnes (nman64) fedora-extras-commits at redhat.com
Tue Nov 15 23:38:16 UTC 2005


Author: nman64

Update of /cvs/fedora/web/include
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29224/include

Modified Files:
	template.inc widgets.inc 
Log Message:
More precise standards compliance tweaks


Index: template.inc
===================================================================
RCS file: /cvs/fedora/web/include/template.inc,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- template.inc	15 Nov 2005 21:08:28 -0000	1.4
+++ template.inc	15 Nov 2005 23:38:14 -0000	1.5
@@ -48,30 +48,30 @@
 <html>
 	<head>
 		<title>'.$this->options['title'].'</title>
-		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-		<link rel="stylesheet" type="text/css" media="print" href="/css/print.css" />
+		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+		<link rel="stylesheet" type="text/css" media="print" href="/css/print.css">
 		<style type="text/css" media="screen">
 			@import url("/css/layout.css");
 			@import url("/css/content.css");
 			@import url("/css/docbook.css");
 		</style>
-		<meta name="MSSmartTagsPreventParsing" content="TRUE" />
-		<link rel="shortcut icon" href="/images/favicon.ico" />
-		<link rel="icon" href="/images/favicon.ico" />
+		<meta name="MSSmartTagsPreventParsing" content="TRUE">
+		<link rel="shortcut icon" href="/images/favicon.ico">
+		<link rel="icon" href="/images/favicon.ico">
 	</head>
 
 	<body>
 		<!-- header BEGIN -->
 		<div id="fedora-header">
 			<div id="fedora-header-logo">
-				<a href="/"><img src="/images/header-fedora_logo.png" alt="Fedora Project" /></a>
+				<a href="/"><img src="/images/header-fedora_logo.png" alt="Fedora Project"></a>
 			</div>
 
 			<div id="fedora-header-items">
 				<span class="fedora-header-icon">
-					<a href="/download/"><img src="/images/header-download.png" alt=" " />Download</a>
-					<a href="/projects/"><img src="/images/header-projects.png" alt=" " />Projects</a>
-					<a href="/about/faq/"><img src="/images/header-faq.png" alt=" " />FAQ</a></span>
+					<a href="/download/"><img src="/images/header-download.png" alt=" ">Download</a>
+					<a href="/projects/"><img src="/images/header-projects.png" alt=" ">Projects</a>
+					<a href="/about/faq/"><img src="/images/header-faq.png" alt=" ">FAQ</a></span>
 			</div>
 		</div>
 
@@ -127,23 +127,23 @@
 		<!-- footer BEGIN -->
 		<div id="fedora-footer">
 			Copyright © 2003-2005 Red Hat, Inc. All rights reserved.
-			<br />';
+			<br>';
 		if ($front) {
 			print 'Fedora is a trademark of Red Hat, Inc. 
-			<br />';
+			<br>';
 		}
 		print'The Fedora Project is not a supported product of Red Hat, Inc.
-			<br />';
+			<br>';
 		if ($front) {
 			print 'Red Hat, Inc. is not responsible for the content of other sites. 
-			<br />';
+			<br>';
 		}
 		print '<a href="/legal/">Legal</a> | <a href="/about/trademarks/">Trademark Guidelines</a>
-			<br />';
+			<br>';
 		if (!empty($date)) {
 			print '
 			This page last modified at: '.ereg_replace('\\$Da'.'te: (.*)\\$', '\\1', $date).'
-			<br />';
+			<br>';
 		}
 		print '
 		</div>


Index: widgets.inc
===================================================================
RCS file: /cvs/fedora/web/include/widgets.inc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- widgets.inc	15 Nov 2005 21:08:28 -0000	1.2
+++ widgets.inc	15 Nov 2005 23:38:14 -0000	1.3
@@ -55,7 +55,7 @@
 		$imgsize = getimagesize($_SERVER[DOCUMENT_ROOT]."/".$filename_deslash);
 	}
 	if ($extra != "") $extra = " ".$extra;
-	return "<img src=\"$filename\" {$imgsize[3]} alt=\"$alt\"$extra />";
+	return "<img src=\"$filename\" {$imgsize[3]} alt=\"$alt\"$extra>";
 }
 
 /* Escape and obfuscate the email to hide it from spambots,




More information about the fedora-extras-commits mailing list