summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-09-20 17:21:48 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-09-20 17:21:48 +0000
commitad8bfd01755170f3e3dd094e07a98a296b36df49 (patch)
treed03fc4341e8f4028fbd36133481aebafe2342218
parent423147a7d21b1a7938496c7ee69797ea6b871434 (diff)
downloadsemanticscuttle-ad8bfd01755170f3e3dd094e07a98a296b36df49.tar.gz
semanticscuttle-ad8bfd01755170f3e3dd094e07a98a296b36df49.tar.bz2
Put charset declaration before title
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@361 b3834d28-1941-0410-a4f8-b48e95affb8f
-rw-r--r--templates/top.inc.php23
1 files changed, 11 insertions, 12 deletions
diff --git a/templates/top.inc.php b/templates/top.inc.php
index 4ff43f2..13b0347 100644
--- a/templates/top.inc.php
+++ b/templates/top.inc.php
@@ -1,31 +1,30 @@
<?php header('Content-Type: text/html; charset=utf-8'); ?>
<!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">
-<head>
-<title><?php echo filter($GLOBALS['sitename'] .(isset($pagetitle) ? ' » ' . $pagetitle : '')); ?></title>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<link rel="icon" type="image/png" href="<?php echo ROOT ?>icon.png" />
-<link rel="stylesheet" type="text/css"
- href="<?php echo ROOT ?>scuttle.css" />
-<link rel="search" type="application/opensearchdescription+xml" href="<?php echo ROOT ?>api/opensearch.php" title="<?php echo $GLOBALS['sitename'] ?>"/>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title><?php echo filter($GLOBALS['sitename'] .(isset($pagetitle) ? ' » ' . $pagetitle : '')); ?></title>
+ <link rel="icon" type="image/png" href="<?php echo ROOT ?>icon.png" />
+ <link rel="stylesheet" type="text/css" href="<?php echo ROOT ?>scuttle.css" />
+ <link rel="search" type="application/opensearchdescription+xml" href="<?php echo ROOT ?>api/opensearch.php" title="<?php echo $GLOBALS['sitename'] ?>"/>
<?php
if(isset($rsschannels)) {
$size = count($rsschannels);
for ($i = 0; $i < $size; $i++) {
- echo '<link rel="alternate" type="application/rss+xml" title="'. $rsschannels[$i][0] .'" href="'. $rsschannels[$i][1] .'" />';
+ echo ' <link rel="alternate" type="application/rss+xml" title="'. $rsschannels[$i][0] .'" href="'. $rsschannels[$i][1] .'" />';
}
}
?>
-<link rel="stylesheet" type="text/css"
+ <link rel="stylesheet" type="text/css"
href="http://ajax.googleapis.com/ajax/libs/dojo/1.2/dijit/themes/nihilo/nihilo.css" />
<?php if (isset($loadjs)) :?>
-<script type="text/javascript" src="<?php echo ROOT ?>jsScuttle.php"></script>
+ <script type="text/javascript" src="<?php echo ROOT ?>jsScuttle.php"></script>
<?php endif ?>
-</head>
+ </head>
-<body class="nihilo">
+ <body class="nihilo">
<!-- the class is used by Dojo widgets -->
<?php