summaryrefslogtreecommitdiffstats
path: root/custom/views/archive/index.tpl.php
diff options
context:
space:
mode:
authorPascal Chevrel <pascal@chevrel.org>2012-03-09 09:02:34 +0100
committerPascal Chevrel <pascal@chevrel.org>2012-03-09 09:02:34 +0100
commit926e36b8fdf8ceaf59ac72e1b28b862f42978b84 (patch)
tree302f7892e24e5a6a0b3582b7b137328824116058 /custom/views/archive/index.tpl.php
parent66c2ad84d4d493865fbc5a5fbfbbc61ff0bb3edf (diff)
downloadplanet-926e36b8fdf8ceaf59ac72e1b28b862f42978b84.tar
planet-926e36b8fdf8ceaf59ac72e1b28b862f42978b84.tar.gz
planet-926e36b8fdf8ceaf59ac72e1b28b862f42978b84.tar.bz2
planet-926e36b8fdf8ceaf59ac72e1b28b862f42978b84.tar.xz
planet-926e36b8fdf8ceaf59ac72e1b28b862f42978b84.zip
convert all files saved in Windows(CRLF) to Unix (LF)
Diffstat (limited to 'custom/views/archive/index.tpl.php')
-rw-r--r--custom/views/archive/index.tpl.php68
1 files changed, 34 insertions, 34 deletions
diff --git a/custom/views/archive/index.tpl.php b/custom/views/archive/index.tpl.php
index 8f45fa0..c09e266 100644
--- a/custom/views/archive/index.tpl.php
+++ b/custom/views/archive/index.tpl.php
@@ -1,4 +1,4 @@
-<?php
+<?php
$count = 0;
$today = Array();
$week = Array();
@@ -19,23 +19,23 @@ foreach ($items as $item) {
}
}
-header('Content-type: text/html; charset=UTF-8');
-?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
- <meta http-equiv="Content-Style-Type" content="text/css" />
-
- <title><?php echo $PlanetConfig->getName(); ?></title>
- <?php include(dirname(__FILE__).'/head.tpl.php'); ?>
-</head>
-
-<body>
- <div id="page">
- <?php include(dirname(__FILE__).'/top.tpl.php'); ?>
-
+header('Content-type: text/html; charset=UTF-8');
+?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
+ <meta http-equiv="Content-Style-Type" content="text/css" />
+
+ <title><?php echo $PlanetConfig->getName(); ?></title>
+ <?php include(dirname(__FILE__).'/head.tpl.php'); ?>
+</head>
+
+<body>
+ <div id="page">
+ <?php include(dirname(__FILE__).'/top.tpl.php'); ?>
+
<div id="content">
<?php if (0 == count($items)) :?>
<div class="article">
@@ -47,15 +47,15 @@ header('Content-type: text/html; charset=UTF-8');
<?php endif; ?>
<?php if (count($today)): ?>
<div class="article">
- <h2>Today</h2>
- <ul>
+ <h2>Today</h2>
+ <ul>
<?php foreach ($today as $item): ?>
- <?php $feed = $item->get_feed(); ?>
+ <?php $feed = $item->get_feed(); ?>
<li>
- <a href="<?php echo $feed->getWebsite() ?>" class="source"><?php echo $feed->getName() ?></a> :
- <a href="<?php echo $item->get_permalink(); ?>" title="Go to original place"><?php echo $item->get_title(); ?></a>
- </li>
- <?php endforeach; ?>
+ <a href="<?php echo $feed->getWebsite() ?>" class="source"><?php echo $feed->getName() ?></a> :
+ <a href="<?php echo $item->get_permalink(); ?>" title="Go to original place"><?php echo $item->get_title(); ?></a>
+ </li>
+ <?php endforeach; ?>
</ul>
</div>
<?php endif; ?>
@@ -103,12 +103,12 @@ header('Content-type: text/html; charset=UTF-8');
<?php endforeach; ?>
</ul>
</div>
- <?php endif; ?>
- </div>
-
- <?php include_once(dirname(__FILE__).'/sidebar.tpl.php'); ?>
-
- <?php include(dirname(__FILE__).'/footer.tpl.php'); ?>
- </div>
-</body>
-</html>
+ <?php endif; ?>
+ </div>
+
+ <?php include_once(dirname(__FILE__).'/sidebar.tpl.php'); ?>
+
+ <?php include(dirname(__FILE__).'/footer.tpl.php'); ?>
+ </div>
+</body>
+</html>