Skip to content

Commit

Permalink
Add label to finder index
Browse files Browse the repository at this point in the history
  • Loading branch information
asika32764 committed Feb 24, 2014
1 parent 64e2454 commit 532e746
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions administrator/components/com_finder/views/index/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,19 +127,21 @@
<?php echo JHtml::_('jgrid.published', $item->published, $i, 'index.', $canChange, 'cb'); ?>
</td>
<td>
<strong>
<?php echo $this->escape($item->title); ?>
</strong>
<small class="muted">
<?php
if (strlen($item->url) > 80)
{
echo substr($item->url, 0, 70) . '...';
} else {
echo $item->url;
}
?>
</small>
<label for="cb<?php echo $i ?>">
<strong>
<?php echo $this->escape($item->title); ?>
</strong>
<small class="muted">
<?php
if (strlen($item->url) > 80)
{
echo substr($item->url, 0, 70) . '...';
} else {
echo $item->url;
}
?>
</small>
</label>
</td>
<td class="hidden-phone">
<?php if (intval($item->publish_start_date) or intval($item->publish_end_date) or intval($item->start_date) or intval($item->end_date)) : ?>
Expand Down

0 comments on commit 532e746

Please sign in to comment.