X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fgalleryaction.php;h=107134a09b205129e94dc87a78e61a3f6c34b147;hb=bb087a965009fd93a5c02a9e10ab90adcc6b7963;hp=498c828514b5f30b57b90ce4817a2d1984e1b587;hpb=4df1ea49ec75ec9dd64bc8f58c01e64ea18bedc7;p=quix0rs-gnu-social.git diff --git a/lib/galleryaction.php b/lib/galleryaction.php index 498c828514..107134a09b 100644 --- a/lib/galleryaction.php +++ b/lib/galleryaction.php @@ -1,7 +1,7 @@ . */ -if (!defined('LACONICA')) { +if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } @@ -94,7 +94,7 @@ class GalleryAction extends OwnerDesignAction $this->showPage(); } - function showLocalNav() + function showObjectNav() { $nav = new SubGroupNav($this, $this->user); $nav->show(); @@ -117,9 +117,6 @@ class GalleryAction extends OwnerDesignAction $content[$t] = $t; } if ($tags) { - $this->elementStart('dl', array('id'=>'filter_tags')); - $this->element('dt', null, _('Filter tags')); - $this->elementStart('dd'); $this->elementStart('ul'); $this->elementStart('li', array('id' => 'filter_tags_all', 'class' => 'child_1')); @@ -132,18 +129,19 @@ class GalleryAction extends OwnerDesignAction $this->elementEnd('li'); $this->elementStart('li', array('id'=>'filter_tags_item')); $this->elementStart('form', array('name' => 'bytag', - 'id' => 'bytag', - 'action' => common_path('?action=' . $this->trimmed('action')), + 'id' => 'form_filter_bytag', + 'action' => common_path('?action=' . $this->trimmed('action')), 'method' => 'post')); + $this->elementStart('fieldset'); + $this->element('legend', null, _('Select tag to filter')); $this->dropdown('tag', _('Tag'), $content, _('Choose a tag to narrow list'), false, $tag); $this->hidden('nickname', $this->user->nickname); $this->submit('submit', _('Go')); + $this->elementEnd('fieldset'); $this->elementEnd('form'); $this->elementEnd('li'); $this->elementEnd('ul'); - $this->elementEnd('dd'); - $this->elementEnd('dl'); } }