Skip to content

Commit 788666e

Browse files
author
Thomas Hunziker
committed
Merge pull request #6 from zero-24/patch-6
Fix Travis for POC PR ;)
2 parents 8e9b137 + 8fc8eee commit 788666e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

components/com_contact/layouts/tagged_item/contact.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@
99

1010
defined('JPATH_BASE') or die;
1111

12-
$item = $displayData['item'];
1312
JModelLegacy::addIncludePath('components/com_contact/models');
13+
14+
$item = $displayData['item'];
1415
$model = JModelLegacy::getInstance('contact', 'ContactModel');
1516
$contact = $model->getItem($item->content_item_id);
17+
$lang = JFactory::getLanguage()->load('com_contact');
1618

17-
$lang = JFactory::getLanguage()->load('com_contact');
1819
?>
1920
<h3>
2021
<a href="<?php echo JRoute::_(TagsHelperRoute::getItemRoute($item->content_item_id, $item->core_alias, $item->core_catid, $item->core_language, $item->type_alias, $item->router)); ?>">
@@ -23,16 +24,15 @@
2324
</h3>
2425
<dl class="dl-horizontal">
2526
<?php if ($contact->address) : ?>
26-
<dt><?php echo JText::_('COM_CONTACT_ADDRESS') ?></dt>
27+
<dt><?php echo JText::_('COM_CONTACT_ADDRESS'); ?></dt>
2728
<dd><?php echo $contact->address; ?></dd>
2829
<?php endif; ?>
2930
<?php if ($contact->country) : ?>
30-
<dt><?php echo JText::_('COM_CONTACT_COUNTRY') ?></dt>
31+
<dt><?php echo JText::_('COM_CONTACT_COUNTRY'); ?></dt>
3132
<dd><?php echo $contact->country; ?></dd>
3233
<?php endif; ?>
3334
</dl>
3435
<?php if ($item->core_images) : ?>
3536
<img src="<?php echo $item->core_images; ?>" class="ss-image pull-right img-polaroid">
3637
<?php endif; ?>
3738
<?php echo $item->core_body; ?>
38-

layouts/joomla/content/tagged_item.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
defined('JPATH_BASE') or die;
1111

1212
$item = $displayData['item'];
13+
1314
?>
1415
<h3>
1516
<a href="<?php echo JRoute::_(TagsHelperRoute::getItemRoute($item->content_item_id, $item->core_alias, $item->core_catid, $item->core_language, $item->type_alias, $item->router)); ?>">
1617
<?php echo $this->escape($item->core_title); ?>
1718
</a>
1819
</h3>
1920
<?php echo $item->core_body; ?>
20-

0 commit comments

Comments
 (0)