| @@ 318-325 (lines=8) @@ | ||
| 315 | return $this->LinkWithSearch(CMSMain::singleton()->Link('listview')); |
|
| 316 | } |
|
| 317 | ||
| 318 | public function LinkPageEdit($id = null) |
|
| 319 | { |
|
| 320 | if (!$id) { |
|
| 321 | $id = $this->currentPageID(); |
|
| 322 | } |
|
| 323 | return $this->LinkWithSearch( |
|
| 324 | Controller::join_links(CMSPageEditController::singleton()->Link('show'), $id) |
|
| 325 | ); |
|
| 326 | } |
|
| 327 | ||
| 328 | public function LinkPageSettings() |
|
| @@ 328-336 (lines=9) @@ | ||
| 325 | ); |
|
| 326 | } |
|
| 327 | ||
| 328 | public function LinkPageSettings() |
|
| 329 | { |
|
| 330 | if ($id = $this->currentPageID()) { |
|
| 331 | return $this->LinkWithSearch( |
|
| 332 | Controller::join_links(CMSPageSettingsController::singleton()->Link('show'), $id) |
|
| 333 | ); |
|
| 334 | } else { |
|
| 335 | return null; |
|
| 336 | } |
|
| 337 | } |
|
| 338 | ||
| 339 | public function LinkPageHistory() |
|
| @@ 339-347 (lines=9) @@ | ||
| 336 | } |
|
| 337 | } |
|
| 338 | ||
| 339 | public function LinkPageHistory() |
|
| 340 | { |
|
| 341 | if ($id = $this->currentPageID()) { |
|
| 342 | return $this->LinkWithSearch( |
|
| 343 | Controller::join_links(CMSPageHistoryController::singleton()->Link('show'), $id) |
|
| 344 | ); |
|
| 345 | } else { |
|
| 346 | return null; |
|
| 347 | } |
|
| 348 | } |
|
| 349 | ||
| 350 | public function LinkWithSearch($link) |
|