<a target="_blank" class="install btn btn-success" href="<?php echo $extension_data->download_link->value; ?> "><span class="icon-cart"></span> <?php echo JText::_('COM_APPS_INSTALL_PURCHASE_EXTERNAL') . "…"; ?> </a> <?php } ?> <?php } ?> <a target="_blank" class="btn btn-primary" href="<?php echo AppsHelper::getJEDUrl($extension_data); ?> "><span class="icon-list"></span> <?php echo JText::_('COM_APPS_DIRECTORY_LISTING'); ?> </a> <?php if ($extension_data->homepage_link->value) { ?> <a target="_blank" class="btn btn-primary" href="<?php echo $extension_data->homepage_link->text; ?> "><span class="icon-share-alt"></span> <?php echo JText::_('COM_APPS_DEVELOPER_WEBSITE'); ?>
} ?> <?php if (in_array('tool', $tags)) { ?> <span title="<?php echo JText::_('COM_APPS_TOOL'); ?> " class="label label-jtool">T</span> <?php } ?> </ul> <h4 class="center muted"> <a class="transcode ajaxloaded" href="<?php echo AppsHelper::getAJAXUrl("view=extension&id={$extension_data->id->value}"); ?> "><?php echo trim($extension_data->core_title->value); ?> </a> </h4> <div class="item-description"> <?php echo mb_strlen(trim($extension_data->core_body->value)) > 400 ? mb_substr(trim($extension_data->core_body->value), 0, mb_stripos(trim($extension_data->core_body->value), ' ', 400)) . '...' : trim($extension_data->core_body->value); ?> <div class="fader"> </div> </div> </div> </div> </li>
* @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('JPATH_BASE') or die; $category_sidebar = new JLayoutFile('joomla.apps.category_sidebar_ul'); foreach ($displayData as $category) { ?> <ul class="nav nav-list"> <li<?php echo $category->selected ? ' class="active"' : ''; ?> > <a class="transcode<?php echo $category->selected ? ' selected' : ''; ?> " href="<?php echo AppsHelper::getAJAXUrl("view=category&id={$category->id}"); ?> "><?php echo $category->name; ?> </a> <?php if (count($category->children) && $category->active) { ?> <?php echo $category_sidebar->render($category->children); ?> <?php } ?>
<li class="nav-header"><h3><?php echo JText::_('COM_APPS_CATEGORIES'); ?> </h3></li> <?php foreach ($displayData as $category) { ?> <li<?php echo $category->selected ? ' class="active"' : ''; ?> > <a class="transcode<?php echo $category->selected ? ' selected' : ''; ?> " href="<?php echo AppsHelper::getAJAXUrl($category->id ? "view=category&id={$category->id}" : "view=dashboard"); ?> "><?php echo $category->name; ?> </a> <?php if ($category->active && count($category->children)) { ?> <?php echo $category_sidebar->render($category->children); ?> <?php } ?>
<?php } ?> <?php if (in_array('tool', $tags)) { ?> <span title="<?php echo JText::_('COM_APPS_TOOL'); ?> " class="label label-jtool">T</span> <?php } ?> </ul> </div> <div class="item-stars"> <p class="rating center"> <a target="_blank" href="<?php echo AppsHelper::getJEDUrl($extension_data) . '#reviews'; ?> "> <?php echo JText::sprintf('COM_APPS_EXTENSION_VOTES_REVIEWS_LIST', $extension_data->score->value, $extension_data->num_reviews->value); ?> </a> </p> </div> </div> </div> </li>
?> "><?php echo $bc->name; ?> </a></li> <?php $lastc = $bc; } ?> <!-- Link to category on JED --> <?php if (isset($lastc->id)) { ?> <li class="pull-right"><a href="<?php echo AppsHelper::getJEDCatUrl($lastc->id); ?> " target="_blank" title="<?php echo JText::_('COM_APPS_CATEGORY_JEDLINK'); ?> "><span class="icon-out-2"></span></a></li> <?php } ?> </ul> <ul class="thumbnails"> <?php // Looping thru all the extensions, closing and starting a new row after every $extensions_perrow items // The single extension box is loaded using the JLayout $i = 0;