Subversion Repositories Applications.papyrus

Rev

Rev 1372 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<!-- 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 -->