| Current Path : /var/www/libraries/foundry/themes/html/admin/ |
| Current File : /var/www/libraries/foundry/themes/html/admin/toolbar.searchresult.php |
<?php
/**
* @package Foundry
* @copyright Copyright (C) Stack Ideas Sdn Bhd. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Foundry is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
defined('_JEXEC') or die('Unauthorized Access');
?>
<?php if ($result) { ?>
<?php foreach ($result as $page => $items) { ?>
<div class="fd-settings-result">
<h3 class="fd-settings-result__title"><?php echo ucwords($page);?></h3>
<hr class="fd-settings-result__divider" />
<ul class="fd-settings-result__list">
<?php foreach ($items as $item) { ?>
<?php $item = (object) $item; ?>
<li>
<a href="index.php?option=<?php echo $this->fd->getComponentName();?>&view=settings&layout=<?php echo $page;?>&tab=<?php echo $item->tab;?>&goto=<?php echo $item->id;?>">
<b><?php echo ucfirst($item->label);?></b>
</a>
<span><?php echo ucwords($page);?> → <?php echo ucfirst($item->tab);?></span>
</li>
<?php } ?>
</ul>
</div>
<?php } ?>
<?php } else { ?>
<div class="fd-settings-result-empty">
<?php echo JText::_('FD_SETTINGS_SEARCH_NO_SEARCH_RESULTS');?>
</div>
<?php } ?>