setBaseURI(new PhutilURI($this->getApplicationURI())); $nav->addFilter('', pht('Calendar'), $this->getApplicationURI()); $nav->addLabel(pht('Create Events')); $nav->addFilter('status/create/', pht('New Status')); $nav->addLabel(pht('Your Events')); if ($status && $status->getID()) { $nav->addFilter('status/edit/'.$status->getID().'/', pht('Edit Status')); } $nav->addFilter('status/', pht('Upcoming Statuses')); return $nav; } }