X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fpersonaltagcloudsection.php;h=fd10ba14d615bdc9465bf134e388334c1c611589;hb=700018fd09be222d9ec163965fd1a3f277d2b931;hp=091425f926d296f8959322e63c2a3ac770bae41d;hpb=3f3d6905deb1f292d9f0c5aacb67b98bdfa100c5;p=quix0rs-gnu-social.git diff --git a/lib/personaltagcloudsection.php b/lib/personaltagcloudsection.php index 091425f926..fd10ba14d6 100644 --- a/lib/personaltagcloudsection.php +++ b/lib/personaltagcloudsection.php @@ -40,7 +40,6 @@ if (!defined('STATUSNET') && !defined('LACONICA')) { * @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; @@ -53,12 +52,14 @@ class PersonalTagCloudSection extends TagCloudSection function title() { + // TRANS: Title for personal tag cloud section. %s is a user nickname. return sprintf(_('Tags in %s\'s notices'), $this->user->nickname); } 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, '. $weightexpr . ' as weight ' . @@ -83,5 +84,4 @@ class PersonalTagCloudSection extends TagCloudSection 3600); return $tag; } - }