X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fpublictagcloud.php;h=db8185bb13d8a7eb142b0b9a29621d9a4eab12a8;hb=bdd15cfe6340df9fd387e817352bea5f16655d0a;hp=57821d428eaa76033d9b01ab2efbdf84decaddb5;hpb=60b66bdd6e3bbc083aec6126b8583714dc24b94d;p=quix0rs-gnu-social.git diff --git a/actions/publictagcloud.php b/actions/publictagcloud.php index 57821d428e..db8185bb13 100644 --- a/actions/publictagcloud.php +++ b/actions/publictagcloud.php @@ -92,12 +92,6 @@ class PublictagcloudAction extends Action $this->elementEnd('div'); } - function showLocalNav() - { - $nav = new PublicGroupNav($this); - $nav->show(); - } - function handle($args) { parent::handle($args); @@ -106,7 +100,7 @@ class PublictagcloudAction extends Action function showContent() { - # This should probably be cached rather than recalculated + // This should probably be cached rather than recalculated $tags = new Notice_tag(); #Need to clear the selection and then only re-add the field @@ -142,9 +136,6 @@ class PublictagcloudAction extends Action ksort($tw); - $this->elementStart('dl'); - $this->element('dt', null, _('Tag cloud')); - $this->elementStart('dd'); $this->elementStart('ul', 'tags xoxo tag-cloud'); foreach ($tw as $tag => $weight) { if ($sum) { @@ -155,8 +146,7 @@ class PublictagcloudAction extends Action $this->showTag($tag, $weight, $weightedSum); } $this->elementEnd('ul'); - $this->elementEnd('dd'); - $this->elementEnd('dl'); + $this->elementEnd('div'); } else { $this->showEmptyList();