+
+ if (!empty($this->notice->reply_to) || count($this->getProfileAddressees()) > 0) {
+ $this->elementStart('div', array('class' => 'parents'));
+ try {
+ $this->showParent();
+ } catch (NoParentNoticeException $e) {
+ // no parent notice
+ } catch (InvalidUrlException $e) {
+ // parent had an invalid URL so we can't show it
+ }
+ if ($this->addressees) { $this->showAddressees(); }
+ $this->elementEnd('div');
+ }
+ $this->elementEnd('section');
+ }
+
+ function showNoticeFooter()
+ {
+ $this->elementStart('footer');
+ $this->showNoticeInfo();
+ if ($this->options) { $this->showNoticeOptions(); }
+ if ($this->attachments) { $this->showNoticeAttachments(); }
+ $this->elementEnd('footer');
+ }
+
+ function showNoticeTitle()
+ {
+ if (Event::handle('StartShowNoticeTitle', array($this))) {
+ $this->element('a', array('href' => $this->notice->getUrl(true),
+ 'class' => 'notice-title'),
+ $this->notice->getTitle());
+ Event::handle('EndShowNoticeTitle', array($this));
+ }