+ function showNoticeHeaders()
+ {
+ $this->elementStart('section', array('class'=>'notice-headers'));
+ $this->showNoticeTitle();
+ $this->showAuthor();
+
+ 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');
+ }
+