| @@ 64-70 (lines=7) @@ | ||
| 61 | ||
| 62 | // Both the Edit and New pages need the same form |
|
| 63 | ||
| 64 | public function __viewIndex($resource_type) |
|
| 65 | { |
|
| 66 | parent::__viewIndex(ResourceManager::RESOURCE_TYPE_DS); |
|
| 67 | ||
| 68 | $this->setTitle(__('%1$s – %2$s', array(__('Data Sources'), __('Symphony')))); |
|
| 69 | $this->appendSubheading(__('Data Sources'), |
|
| 70 | Widget::Anchor(__('Create New'), Administration::instance()->getCurrentPageURL() . 'new/', |
|
| 71 | __('Create a new data source'), 'create button', null, array('accesskey' => 'c'))); |
|
| 72 | } |
|
| 73 | ||
| @@ 14-20 (lines=7) @@ | ||
| 11 | { |
|
| 12 | public $_errors = array(); |
|
| 13 | ||
| 14 | public function __viewIndex($resource_type) |
|
| 15 | { |
|
| 16 | parent::__viewIndex(ResourceManager::RESOURCE_TYPE_EVENT); |
|
| 17 | ||
| 18 | $this->setTitle(__('%1$s – %2$s', array(__('Events'), __('Symphony')))); |
|
| 19 | $this->appendSubheading(__('Events'), |
|
| 20 | Widget::Anchor(__('Create New'), Administration::instance()->getCurrentPageURL() . 'new/', |
|
| 21 | __('Create a new event'), 'create button', null, array('accesskey' => 'c'))); |
|
| 22 | } |
|
| 23 | ||