Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 1165 → Rev 1372

/branches/livraison_narmer/papyrus/applettes/syndication/squelettes/synd_liste_date.tpl.html
New file
0,0 → 1,20
<!-- SYNDICATION - DEBUT -->
<?php if ($erreurs) : ?>
<?php foreach ($erreurs as $erreur) : ?>
<p class="pap_erreur"><?=$erreur;?></p>
<?php endforeach; ?>
<?php elseif ($informations) : ?>
<?php foreach ($informations as $information) : ?>
<p class="pap_info"><?=$information;?></p>
<?php endforeach; ?>
<?php else : ?>
<ul class="rss_liste">
<?php foreach ($pages as $page) : ?>
<li class="rss_page">
<h1 class="rss_titre_site"><a href="<?=$page['site']['url'];?>"><?=$page['site']['titre'];?></a> - <span class="rss_date"><?=$page['date'];?></span></h1>
<h2 class="rss_titre_article"><a href="<?=$page['url'];?>" <?=($page['ext'])? 'onclick="window.open(this.href); return false;" title="S\'ouvre dans une nouvelle fenĂȘtre"':'';?> ><?=$page['titre'];?></a></h2>
</li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
<!-- SYNDICATION - FIN -->
/branches/livraison_narmer/papyrus/applettes/syndication/squelettes/synd_liste.tpl.html
New file
0,0 → 1,24
<!-- SYNDICATION - DEBUT -->
<?php if ($erreurs) : ?>
<?php foreach ($erreurs as $erreur) : ?>
<p class="pap_erreur"><?=$erreur;?></p>
<?php endforeach; ?>
<?php elseif ($informations) : ?>
<?php foreach ($informations as $information) : ?>
<p class="pap_info"><?=$information;?></p>
<?php endforeach; ?>
<?php else : ?>
<?php foreach ($sites as $site) : ?>
<h2 class="rss_site_titre"><a href="<?=$site['url'];?>"><?=$site['titre'];?></a></h2>
<ul class="liste_rss">
<?php foreach ($site['pages'] as $page) : ?>
<li class="titre_rss">
<span class="rss_date"><?=$page['date'];?></span>
<span class="rss_separateur_date"> - </span>
<a class="lien_rss" href="<?=$page['url'];?>" <?=($site['ext'])? 'onclick="window.open(this.href); return false;"':'';?>><?=$page['titre'];?></a>
</li>
<?php endforeach; ?>
</ul>
<?php endforeach; ?>
<?php endif; ?>
<!-- SYNDICATION - FIN -->