- $this->profile = $this->user->getProfile();
-
- if (!$this->profile) {
- $this->serverError(_('User has no profile.'));
- return false;
- }
-
- $this->page = ($this->arg('page')) ? ($this->arg('page')+0) : 1;
-
- $this->tag = $this->trimmed('tag');
- $this->q = $this->trimmed('q');
-
- return true;
- }
-
- function isReadOnly($args)
- {
- return true;
- }
-
- function handle($args)
- {
- parent::handle($args);
-
- # Post from the tag dropdown; redirect to a GET
-
- if ($_SERVER['REQUEST_METHOD'] == 'POST') {
- common_redirect($this->selfUrl(), 303);
- return;
- }
-
- $this->showPage();
- }
-
- function showLocalNav()
- {
- $nav = new SubGroupNav($this, $this->user);
- $nav->show();