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