XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
rmc_breadcrumb.php
Go to the documentation of this file.
1 <?php if(!empty($this->crumbs)): ?>
2 <div class="rm-breadcrumb-container">
3  <ul>
4  <li><a href="<?php echo RMCURL; ?>" title="<?php _e('Home page','rmcommon'); ?>"><span><?php _e('Home', 'rmcommon'); ?></span></a></li>
5  <?php foreach($this->crumbs as $item): ?>
6  <li>
7  <span>&gt;</span>
8  <?php if($item['link']!=''): ?>
9  <a href="<?php echo $item['link']; ?>"<?php if($item['icon']!=''): ?> class="with-icon" style="background: url(<?php echo $item['icon']; ?>) no-repeat left;"<?php endif; ?>><?php echo $item['caption']; ?></a>
10  <?php else: ?>
11  <em><?php echo $item['caption']; ?></em>
12  <?php endif; ?>
13  </li>
14  <?php endforeach; ?>
15  </ul>
16 </div>
17 <?php endif; ?>