This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h2>Categoriezed Recipes</h2> | |
<?php foreach($this->categorizeditems as $category=>$items) :?> | |
<h3><?php echo $category; ?></h3> | |
<ul> | |
<?php foreach($items as $item) :?> | |
<li><?php echo $item->name; ?></li> | |
<?php endforeach; ?> | |
</ul> | |
<?php endforeach; ?> |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="recipe_filters"> | |
<h3><?php echo JText::_('Preparing Time:'); ?></h3> | |
<?php echo $this->filters['from_prepartingtime'];?> | |
<?php echo $this->filters['to_prepartingtime'];?> | |
<br/> | |
<button type="submit" class="btn"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> | |
</div> | |
<hr/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$this->_item[$pk]->ingredientsList = $this->getIngredientsList($this->_item[$pk]->ingredients); | |
$canDo = [[[Component]]]Helper::getActions('recipe',$this->_item[$pk],'recipes'); | |
if ($canDo->get('recipe.edit')) | |
{ | |
$this->_item[$pk]->editLink = JRoute::_('index.php?option=com_[[[component]]]&view=recipe&task=recipe.edit&id=' . $this->_item[$pk]->id); | |
} | |
else | |
{ | |
$this->_item[$pk]->editLink = null; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready(function($){ | |
$('#ingredientList tbody tr td:nth-child(5)').each(function(){ | |
var imgPath = '<?php echo JURI::root(true) . "/";?>' + $(this).text(); | |
$(this).html('<img rel="popover" src="'+ imgPath +'" width="30" data-img="'+ imgPath +'" />'); | |
}); | |
$('img[rel=popover]').popover({ | |
html: true, | |
trigger: 'hover', | |
placement: 'bottom', | |
content: function(){return '<img src="'+$(this).data('img') + '" />';} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @version 2.6.x | |
* @package K2 | |
* @author JoomlaWorks http://www.joomlaworks.net | |
* @copyright Copyright (c) 2006 - 2014 JoomlaWorks Ltd. All rights reserved. | |
* @license GNU/GPL license: http://www.gnu.org/copyleft/gpl.html | |
*/ | |
// no direct access |