X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Fpublictagcloud.php;h=db8185bb13d8a7eb142b0b9a29621d9a4eab12a8;hb=7150c54a3f437043eac95d57ac9fc0672adef564;hp=57821d428eaa76033d9b01ab2efbdf84decaddb5;hpb=e1e79e62360191626fbb3eae9f5d2af249780ac9;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();