Skip to content

Commit 997cfd3

Browse files
author
micker
committed
better display for user list
1 parent 74d149c commit 997cfd3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public static function getUseritem(&$params)
7373
$userid = $user->id;
7474
//recupére la connexion à la BD
7575
$db = JFactory::getDbo();
76-
$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');
76+
$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');
7777
$db->setQuery( $queryUseritem );
7878
$itemsUseritem = $db->loadObjectList();
7979
foreach ($itemsUseritem as &$itemUseritem) {

tmpl/default.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ class="modal"
767767
<span class="small">
768768
<i class="icon-user"></i>
769769
<?php //TODO display user name in tooltip ?>
770-
<small class="hasTooltip" title="" data-original-title="<?php echo JHtml::tooltipText('FLEXI_ADMIN_MODIFIED_BY')." ". $user->name; ?>"><?php echo $user->name; ?> </small>
770+
<small class="hasTooltip" title="" data-original-title="<?php echo JHtml::tooltipText('FLEXI_ADMIN_CREATED_BY')." ". $user->name; ?>"><?php echo $user->name; ?> </small>
771771
</span>
772772
</div>
773773
<div class="span3">

0 commit comments

Comments
 (0)