| @@ 210-216 (lines=7) @@ | ||
| 207 | ); |
|
| 208 | } |
|
| 209 | ||
| 210 | public function LinkPageSettings() { |
|
| 211 | if($id = $this->currentPageID()) { |
|
| 212 | return $this->LinkWithSearch( |
|
| 213 | Controller::join_links(singleton('CMSPageSettingsController')->Link('show'), $id) |
|
| 214 | ); |
|
| 215 | } |
|
| 216 | } |
|
| 217 | ||
| 218 | public function LinkPageHistory() { |
|
| 219 | if($id = $this->currentPageID()) { |
|
| @@ 218-224 (lines=7) @@ | ||
| 215 | } |
|
| 216 | } |
|
| 217 | ||
| 218 | public function LinkPageHistory() { |
|
| 219 | if($id = $this->currentPageID()) { |
|
| 220 | return $this->LinkWithSearch( |
|
| 221 | Controller::join_links(singleton('CMSPageHistoryController')->Link('show'), $id) |
|
| 222 | ); |
|
| 223 | } |
|
| 224 | } |
|
| 225 | ||
| 226 | public function LinkWithSearch($link) { |
|
| 227 | // Whitelist to avoid side effects |
|