| @@ 184-190 (lines=7) @@ | ||
| 181 | ); |
|
| 182 | } |
|
| 183 | ||
| 184 | public function LinkPageSettings() { |
|
| 185 | if($id = $this->currentPageID()) { |
|
| 186 | return $this->LinkWithSearch( |
|
| 187 | Controller::join_links(singleton('CMSPageSettingsController')->Link('show'), $id) |
|
| 188 | ); |
|
| 189 | } |
|
| 190 | } |
|
| 191 | ||
| 192 | public function LinkPageHistory() { |
|
| 193 | if($id = $this->currentPageID()) { |
|
| @@ 192-198 (lines=7) @@ | ||
| 189 | } |
|
| 190 | } |
|
| 191 | ||
| 192 | public function LinkPageHistory() { |
|
| 193 | if($id = $this->currentPageID()) { |
|
| 194 | return $this->LinkWithSearch( |
|
| 195 | Controller::join_links(singleton('CMSPageHistoryController')->Link('show'), $id) |
|
| 196 | ); |
|
| 197 | } |
|
| 198 | } |
|
| 199 | ||
| 200 | public function LinkWithSearch($link) { |
|
| 201 | // Whitelist to avoid side effects |
|