Skip to content

Commit

Permalink
cells
Browse files Browse the repository at this point in the history
  • Loading branch information
brianteeman committed Jul 12, 2017
1 parent 8df31ae commit d4d25d7
Show file tree
Hide file tree
Showing 18 changed files with 89 additions and 53 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,11 @@
</div>
<?php endif; ?>
</td>
<td class="small">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php if (JLanguageMultilang::isEnabled()) : ?>
<td class="small">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php endif; ?>
<td>
<?php echo AssociationsHelper::getAssociationHtmlList($this->extensionName, $this->typeName, (int) $item->id, $item->language, !$isCheckout, false); ?>
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,11 @@
</div>
<?php endif; ?>
</td>
<td class="small">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php if (JLanguageMultilang::isEnabled()) : ?>
<td class="small">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php endif; ?>
<td>
<?php if (true || $item->association) : ?>
<?php echo AssociationsHelper::getAssociationHtmlList($this->extensionName, $this->typeName, (int) $item->id, $item->language, false, false); ?>
Expand Down
8 changes: 5 additions & 3 deletions administrator/components/com_banners/tmpl/banners/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,11 @@
<?php echo $item->clicks; ?> -
<?php echo sprintf('%.2f%%', $item->impmade ? 100 * $item->clicks / $item->impmade : 0); ?>
</td>
<td class="small nowrap hidden-sm-down text-center">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php if (JLanguageMultilang::isEnabled()) : ?>
<td class="small nowrap hidden-sm-down text-center">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php endif; ?>
<td class="hidden-sm-down text-center">
<?php echo $item->id; ?>
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,9 +253,11 @@
<?php endif; ?>
</td>
<?php endif; ?>
<td class="small nowrap hidden-sm-down text-center">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php if (JLanguageMultilang::isEnabled()) : ?>
<td class="small nowrap hidden-sm-down text-center">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php endif; ?>
<td class="hidden-sm-down text-center">
<span title="<?php echo sprintf('%d-%d', $item->lft, $item->rgt); ?>">
<?php echo (int) $item->id; ?></span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,12 @@
<td class="small hidden-sm-down">
<?php echo $this->escape($item->access_level); ?>
</td>
<td class="small hidden-sm-down">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php if (JLanguageMultilang::isEnabled()) : ?>
<td class="small hidden-sm-down">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php endif; ?>

<td class="hidden-sm-down">
<?php echo (int) $item->id; ?>
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,11 @@
<?php endif; ?>
</td>
<?php endif; ?>
<td class="small hidden-sm-down text-center">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php if (JLanguageMultilang::isEnabled()) : ?>
<td class="small hidden-sm-down text-center">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php endif; ?>
<td class="hidden-sm-down text-center">
<?php echo $item->id; ?>
</td>
Expand Down
8 changes: 5 additions & 3 deletions administrator/components/com_contact/tmpl/contacts/modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,11 @@
<td class="small hidden-sm-down">
<?php echo $this->escape($item->access_level); ?>
</td>
<td class="small hidden-sm-down">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php if (JLanguageMultilang::isEnabled()) : ?>
<td class="small hidden-sm-down">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php endif; ?>
<td align="text-center">
<?php echo (int) $item->id; ?>
</td>
Expand Down
8 changes: 5 additions & 3 deletions administrator/components/com_content/tmpl/articles/modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,11 @@
<td class="small hidden-sm-down">
<?php echo $this->escape($item->access_level); ?>
</td>
<td class="small">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php if (JLanguageMultilang::isEnabled()) : ?>
<td class="small">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php endif; ?>
<td class="nowrap small hidden-sm-down">
<?php echo JHtml::_('date', $item->created, JText::_('DATE_FORMAT_LC4')); ?>
</td>
Expand Down
8 changes: 5 additions & 3 deletions administrator/components/com_fields/tmpl/fields/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,11 @@
<td class="small hidden-sm-down text-center">
<?php echo $this->escape($item->access_level); ?>
</td>
<td class="small nowrap hidden-sm-down text-center">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php if (JLanguageMultilang::isEnabled()) : ?>
<td class="small nowrap hidden-sm-down text-center">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php endif; ?>
<td class="hidden-sm-down text-center">
<span><?php echo (int) $item->id; ?></span>
</td>
Expand Down
8 changes: 5 additions & 3 deletions administrator/components/com_fields/tmpl/fields/modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,11 @@
<td class="small hidden-sm-down">
<?php echo $this->escape($item->access_level); ?>
</td>
<td class="small hidden-sm-down">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php if (JLanguageMultilang::isEnabled()) : ?>
<td class="small hidden-sm-down">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php endif; ?>
<td class="hidden-sm-down">
<?php echo (int) $item->id; ?>
</td>
Expand Down
8 changes: 5 additions & 3 deletions administrator/components/com_fields/tmpl/groups/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,11 @@
<td class="small hidden-sm-down">
<?php echo $this->escape($item->access_level); ?>
</td>
<td class="small nowrap hidden-sm-down">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php if (JLanguageMultilang::isEnabled()) : ?>
<td class="small nowrap hidden-sm-down">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php endif; ?>
<td class="text-center hidden-sm-down">
<span><?php echo (int) $item->id; ?></span>
</td>
Expand Down
8 changes: 5 additions & 3 deletions administrator/components/com_menus/tmpl/items/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,11 @@
</td>
<?php endif; ?>
<?php if ($this->state->get('filter.client_id') == 0) : ?>
<td class="small hidden-sm-down text-center">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php if (JLanguageMultilang::isEnabled()) : ?>
<td class="small hidden-sm-down text-center">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php endif; ?>
<?php endif; ?>
<td class="hidden-sm-down text-center">
<span title="<?php echo sprintf('%d-%d', $item->lft, $item->rgt); ?>">
Expand Down
8 changes: 5 additions & 3 deletions administrator/components/com_modules/tmpl/modules/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,11 @@
<?php echo $this->escape($item->access_level); ?>
</td>
<?php if ($clientId === 0) : ?>
<td class="small hidden-sm-down text-center">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php if (JLanguageMultilang::isEnabled()) : ?>
<td class="small hidden-sm-down text-center">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php endif; ?>
<?php endif; ?>
<td class="hidden-sm-down text-center">
<?php echo (int) $item->id; ?>
Expand Down
8 changes: 5 additions & 3 deletions administrator/components/com_modules/tmpl/modules/modal.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,11 @@
<td class="small hidden-sm-down">
<?php echo $this->escape($item->access_level); ?>
</td>
<td class="small hidden-sm-down">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php if (JLanguageMultilang::isEnabled()) : ?>
<td class="small hidden-sm-down">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php endif; ?>
<td class="hidden-sm-down">
<?php echo (int) $item->id; ?>
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,11 @@
<?php endif; ?>
</td>
<?php endif; ?>
<td class="small hidden-sm-down text-center">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php if (JLanguageMultilang::isEnabled()) : ?>
<td class="small hidden-sm-down text-center">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php endif; ?>
<td class="hidden-sm-down text-center">
<?php echo (int) $item->id; ?>
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,11 @@
<td class="small hidden-sm-down">
<?php echo $this->escape($item->access_level); ?>
</td>
<td class="small hidden-sm-down">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php if (JLanguageMultilang::isEnabled()) : ?>
<td class="small hidden-sm-down">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php endif; ?>
<td class="hidden-sm-down">
<?php echo (int) $item->id; ?>
</td>
Expand Down
8 changes: 5 additions & 3 deletions administrator/components/com_tags/tmpl/tags/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,11 @@
<td class="small hidden-sm-down text-center">
<?php echo $this->escape($item->access_title); ?>
</td>
<td class="small nowrap hidden-sm-down text-center">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php if (JLanguageMultilang::isEnabled()) : ?>
<td class="small nowrap hidden-sm-down text-center">
<?php echo JLayoutHelper::render('joomla.content.language', $item); ?>
</td>
<?php endif; ?>
<td class="hidden-sm-down text-center">
<span title="<?php echo sprintf('%d-%d', $item->lft, $item->rgt); ?>">
<?php echo (int) $item->id; ?></span>
Expand Down
5 changes: 3 additions & 2 deletions layouts/joomla/edit/details.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@
<?php echo $displayData->getForm()->renderField('access'); ?>
<?php echo $displayData->getForm()->renderField('catid'); ?>
<?php echo $displayData->getForm()->renderField('featured'); ?>

<?php if (JLanguageMultilang::isEnabled()) : ?>
<?php echo $displayData->getForm()->renderField('language'); ?>
<?php echo $displayData->getForm()->renderField('language'); ?>
<?php else : ?>
<input type="hidden" id="jform_language" name="jform[language]" value="<?php echo $displayData->getForm()->getValue('language'); ?>">
<input type="hidden" id="jform_language" name="jform[language]" value="*">
<?php endif; ?>

<?php echo $displayData->getForm()->renderField('tags'); ?>
Expand Down

0 comments on commit d4d25d7

Please sign in to comment.