XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
rmc_rss_center.php
Go to the documentation of this file.
1 <h1><?php _e('RSS Center','rmcommon'); ?></h1>
2 <p>
3 <?php echo sprintf(__('All %s RSS feeds are listed below. Click an option for feed.','rmcommon'), '<strong>'.$xoopsConfig['sitename'].'</strong>'); ?>
4 </p>
5 <hr noshade="noshade" />
6 <br />
7 <?php foreach($feeds as $feed): ?>
8 <h2 class="feed_name"><?php echo $feed['data']['title']; ?></h2>
9 <p class="feed_url"><?php _e('URL:','rmcommon'); ?> <a href="<?php echo $feed['data']['url']; ?>"><?php echo $feed['data']['url']; ?></a></p>
10 
11  <!-- Feed options -->
12  <ul class="feed_options">
13  <?php foreach($feed['options'] as $option): ?>
14  <li class="feed_option">
15  <?php if(isset($option['params'])): ?>
16  <a class="name" href="<?php echo XOOPS_URL; ?>/backend.php?action=showfeed&amp;mod=<?php echo $feed['data']['module']; ?>&amp;<?php echo $option['params']; ?>"><?php echo $option['title']; ?></a>
17  <?php else: ?>
18  <span class="name"><?php echo $option['title']; ?></span>
19  <?php endif; ?>
20  <span class="description"><?php echo $option['description']; ?></span>
21  </li>
22  <?php endforeach; ?>
23  </ul>
24 <?php endforeach; ?>