| @@ 206-211 (lines=6) @@ | ||
| 203 | ||
| 204 | $this->setPageType('form'); |
|
| 205 | $this->setTitle(__(($isEditing ? '%1$s – %2$s – %3$s' : '%2$s – %3$s'), array($name, __('Data Sources'), __('Symphony')))); |
|
| 206 | if ($canonical_link) { |
|
| 207 | $this->addElementToHead(new XMLElement('link', null, array( |
|
| 208 | 'rel' => 'canonical', |
|
| 209 | 'href' => SYMPHONY_URL . $canonical_link, |
|
| 210 | ))); |
|
| 211 | } |
|
| 212 | $this->appendSubheading(($isEditing ? $name : __('Untitled'))); |
|
| 213 | $this->insertBreadcrumbs(array( |
|
| 214 | Widget::Anchor(__('Data Sources'), SYMPHONY_URL . '/blueprints/datasources/'), |
|
| @@ 125-130 (lines=6) @@ | ||
| 122 | ||
| 123 | $this->setPageType('form'); |
|
| 124 | $this->setTitle(__(($isEditing ? '%1$s – %2$s – %3$s' : '%2$s – %3$s'), array($name, __('Events'), __('Symphony')))); |
|
| 125 | if ($canonical_link) { |
|
| 126 | $this->addElementToHead(new XMLElement('link', null, array( |
|
| 127 | 'rel' => 'canonical', |
|
| 128 | 'href' => SYMPHONY_URL . $canonical_link, |
|
| 129 | ))); |
|
| 130 | } |
|
| 131 | $this->appendSubheading(($isEditing ? $about['name'] : __('Untitled'))); |
|
| 132 | $this->insertBreadcrumbs(array( |
|
| 133 | Widget::Anchor(__('Events'), SYMPHONY_URL . '/blueprints/events/'), |
|
| @@ 284-289 (lines=6) @@ | ||
| 281 | } |
|
| 282 | ||
| 283 | $this->setTitle(__(($this->_context[0] == 'new' ? '%2$s – %3$s' : '%1$s – %2$s – %3$s'), array($author->getFullName(), __('Authors'), __('Symphony')))); |
|
| 284 | if ($canonical_link) { |
|
| 285 | $this->addElementToHead(new XMLElement('link', null, array( |
|
| 286 | 'rel' => 'canonical', |
|
| 287 | 'href' => SYMPHONY_URL . $canonical_link, |
|
| 288 | ))); |
|
| 289 | } |
|
| 290 | $this->appendSubheading(($this->_context[0] == 'new' ? __('Untitled') : $author->getFullName())); |
|
| 291 | $this->insertBreadcrumbs(array( |
|
| 292 | Widget::Anchor(__('Authors'), SYMPHONY_URL . '/system/authors/'), |
|