Skip to content

Commit

Permalink
better display for user list
Browse files Browse the repository at this point in the history
  • Loading branch information
micker committed Sep 23, 2014
1 parent 74d149c commit 997cfd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public static function getUseritem(&$params)
$userid = $user->id;
//recupére la connexion à la BD
$db = JFactory::getDbo();
$queryUseritem = 'SELECT id, title, catid, created, created_by, modified, modified_by, state FROM #__content WHERE modified_by = '.$user->id.' ORDER BY modified DESC LIMIT '. (int) $params->get('count');
$queryUseritem = 'SELECT id, title, catid, created, created_by, modified, modified_by, state FROM #__content WHERE created_by = '.$user->id.' ORDER BY modified DESC LIMIT '. (int) $params->get('count');
$db->setQuery( $queryUseritem );
$itemsUseritem = $db->loadObjectList();
foreach ($itemsUseritem as &$itemUseritem) {
Expand Down
2 changes: 1 addition & 1 deletion tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ class="modal"
<span class="small">
<i class="icon-user"></i>
<?php //TODO display user name in tooltip ?>
<small class="hasTooltip" title="" data-original-title="<?php echo JHtml::tooltipText('FLEXI_ADMIN_MODIFIED_BY')." ". $user->name; ?>"><?php echo $user->name; ?> </small>
<small class="hasTooltip" title="" data-original-title="<?php echo JHtml::tooltipText('FLEXI_ADMIN_CREATED_BY')." ". $user->name; ?>"><?php echo $user->name; ?> </small>
</span>
</div>
<div class="span3">
Expand Down

0 comments on commit 997cfd3

Please sign in to comment.