define('AVATARS_PER_PAGE', 80);
// @todo FIXME: Class documentation missing.
-class GalleryAction extends OwnerDesignAction
+class GalleryAction extends ProfileAction
{
var $profile = null;
var $page = null;
$this->profile = $this->user->getProfile();
if (!$this->profile) {
- // TRANS: Server error displayed when trying to perform a gallery action with a user without a profile.
+ // TRANS: Error message displayed when referring to a user without a profile.
$this->serverError(_('User has no profile.'));
return false;
}
$this->showPage();
}
- function showObjectNav()
- {
- $nav = new SubGroupNav($this, $this->user);
- $nav->show();
- }
-
function showContent()
{
$this->showTagsDropdown();