web/include template.inc,1.3,1.4 widgets.inc,1.1.1.1,1.2
Patrick Barnes (nman64)
fedora-extras-commits at redhat.com
Tue Nov 15 21:08:30 UTC 2005
Author: nman64
Update of /cvs/fedora/web/include
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24345/include
Modified Files:
template.inc widgets.inc
Log Message:
Small standards compliance tweaks
Index: template.inc
===================================================================
RCS file: /cvs/fedora/web/include/template.inc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- template.inc 14 Jun 2005 16:04:56 -0000 1.3
+++ template.inc 15 Nov 2005 21:08:28 -0000 1.4
@@ -37,7 +37,7 @@
if ($heading != '') {
$this->options['side_content'] .= "<h1>$heading</h1>\n";
}
- $this->options['side_content'] .= "<p>$content</p>\n";
+ $this->options['side_content'] .= "<div>\n$content\n</div>\n";
$this->options['side_content'] .= "</div>\n";
}
@@ -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.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- widgets.inc 30 Mar 2005 17:47:28 -0000 1.1.1.1
+++ widgets.inc 15 Nov 2005 21:08:28 -0000 1.2
@@ -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 scm-commits
mailing list