/[web]/planet/common/custom/views/archive/sidebar.tpl.php
ViewVC logotype

Contents of /planet/common/custom/views/archive/sidebar.tpl.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1619 - (show annotations) (download)
Mon Aug 13 10:45:23 2012 UTC (11 years, 7 months ago) by dams
File size: 1429 byte(s)
- Import moonmoon
- Create repo per langs

1 <?php
2 $all_people = &$Planet->getPeople();
3 usort($all_people, array('PlanetFeed', 'compare'));
4 ?>
5 <div id="sidebar">
6 <div id="sidebar-people">
7 <h2><?=_g('People')?> (<?php echo count($all_people); ?>)</h2>
8 <ul>
9 <?php foreach ($all_people as $person) : ?>
10 <li>
11 <a href="<?php echo htmlspecialchars($person->getFeed(), ENT_QUOTES, 'UTF-8'); ?>" title="<?=_g('Feed')?>"><img src="postload.php?url=<?php echo urlencode(htmlspecialchars($person->getFeed(), ENT_QUOTES, 'UTF-8')); ?>" alt="<?=_g('Feed')?>" height="12" width="12" /></a>
12 <a href="<?php echo $person->getWebsite(); ?>" title="<?=_g('Website')?>"><?php echo htmlspecialchars($person->getName(), ENT_QUOTES, 'UTF-8'); ?></a>
13 </li>
14 <?php endforeach; ?>
15 </ul>
16 <p>
17 <a href="custom/people.opml"><img src="custom/img/opml.png" alt="<?=_g('Feed')?>" height="12" width="12" />&nbsp;<?=_g('All feeds in OPML format')?></a>
18 </p>
19 </div>
20
21 <div>
22 <h2><?=_g('Syndicate')?></h2>
23 <ul>
24 <li><img src="custom/img/feed.png" alt="<?=_g('Feed')?>" height="12" width="12" />&nbsp;<a href="atom.php"><?=_g('Feed (ATOM)')?></a></li>
25 </ul>
26 </div>
27
28 <div>
29 <h2><?=_g('Archives')?></h2>
30 <ul>
31 <li><a href="?type=archive"><?=_g('See all headlines')?></a></li>
32 </ul>
33 </div>
34 </div>

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.30