* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
* @link http://status.net/
*/
-
class PersonalTagCloudSection extends TagCloudSection
{
var $user = null;
function title()
{
- return sprintf(_('Tags in %s\'s notices'), $this->user->nickname);
+ // TRANS: Title for personal tag cloud section.
+ return _m('TITLE','Tags');
}
function getTags()
$weightexpr = common_sql_weight('notice_tag.created', common_config('tag', 'dropoff'));
// @fixme should we use the cutoff too? Doesn't help with indexing per-user.
- $qry = 'SELECT notice_tag.tag, '.
+ $qry = 'SELECT notice_tag.tag, notice_tag.notice_id, '.
$weightexpr . ' as weight ' .
'FROM notice_tag JOIN notice ' .
'ON notice_tag.notice_id = notice.id ' .
3600);
return $tag;
}
-
}